[oe-commits] org.oe.dev glibc 2.7: fix undefined reference

koen commit openembedded-commits at lists.openembedded.org
Tue Mar 4 18:28:35 UTC 2008


glibc 2.7: fix undefined reference

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 8351c938d28da3d274505ef37d361ddfbef4a575
ViewMTN: http://monotone.openembedded.org/revision/info/8351c938d28da3d274505ef37d361ddfbef4a575
Files:
1
packages/glibc/glibc-2.4/glibc-arm-IO-acquire-lock-fix.diff
packages/glibc/glibc_2.7.bb
Diffs:

#
# mt diff -r9afa6a2ffd0a6096705798ab2b26816d4e993fdb -r8351c938d28da3d274505ef37d361ddfbef4a575
#
# 
# 
# add_file "packages/glibc/glibc-2.4/glibc-arm-IO-acquire-lock-fix.diff"
#  content [31d7f56b8985a58265f54186c3dd4df209af734e]
# 
# patch "packages/glibc/glibc_2.7.bb"
#  from [103ab2ecbe46e58a2574221a6ab35e0d7b843e62]
#    to [f62da4b0450f5fe51216328cf863ed074424defd]
# 
============================================================
--- packages/glibc/glibc-2.4/glibc-arm-IO-acquire-lock-fix.diff	31d7f56b8985a58265f54186c3dd4df209af734e
+++ packages/glibc/glibc-2.4/glibc-arm-IO-acquire-lock-fix.diff	31d7f56b8985a58265f54186c3dd4df209af734e
@@ -0,0 +1,13 @@
+Arm needs a similar fix as http://sourceware.org/ml/libc-ports/2007-12/msg00000.html
+
+--- /tmp/stdio-lock.h	2008-03-04 18:51:15.555038993 +0100
++++ glibc-2.7/ports/sysdeps/unix/sysv/linux/arm/bits/stdio-lock.h	2008-03-04 18:51:28.445035052 +0100
+@@ -50,6 +50,8 @@
+   _IO_cleanup_region_start ((void (*) (void *)) _IO_funlockfile, (_fp));      \
+   _IO_flockfile (_fp)
+ 
++# define _IO_acquire_lock_clear_flags2(_fp) _IO_acquire_lock (_fp)
++
+ # define _IO_release_lock(_fp) \
+   _IO_funlockfile (_fp);						      \
+   _IO_cleanup_region_end (0)
============================================================
--- packages/glibc/glibc_2.7.bb	103ab2ecbe46e58a2574221a6ab35e0d7b843e62
+++ packages/glibc/glibc_2.7.bb	f62da4b0450f5fe51216328cf863ed074424defd
@@ -57,6 +57,7 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gli
 #	   file://fixup-aeabi-syscalls.patch;patch=1 \
 #	   file://zecke-sane-readelf.patch;patch=1 \
            file://ldd-unbash.patch;patch=1 \
+	   file://glibc-arm-IO-acquire-lock-fix.diff;patch=1 \
 	   file://generic-bits_select.h \
 	   file://generic-bits_types.h \
 	   file://generic-bits_typesizes.h \






More information about the Openembedded-commits mailing list