[oe-commits] org.oe.dev Update of my earlier change to make it possible to compile glibc

erik commit openembedded-commits at lists.openembedded.org
Thu Aug 31 21:17:26 UTC 2006


Update of my earlier change to make it possible to compile glibc
2.3.5 with newer gcc compilers (4.0.2 and up). This commit
changes the name of the files to weak instead of week. And updates
the bb file respectfully.

Author: erik at openembedded.org
Branch: org.openembedded.dev
Revision: 73e50ed2ac3eec8ff383c4b49eb7dac23c9663bf
ViewMTN: http://monotone.openembedded.org/revision.psp?id=73e50ed2ac3eec8ff383c4b49eb7dac23c9663bf
Files:
1
packages/glibc/files/glibc-2.3.5-fix-week-alias-arm-2.patch
packages/glibc/files/glibc-2.3.5-fix-week-alias-arm.patch
packages/glibc/files/glibc-2.3.5-fix-weak-alias-arm-2.patch
packages/glibc/files/glibc-2.3.5-fix-weak-alias-arm.patch
packages/glibc/glibc_2.3.5+cvs20050627.bb
Diffs:

#
# mt diff -rfe39da9bc8c59e479bc5488892e5239efa0b753c -r73e50ed2ac3eec8ff383c4b49eb7dac23c9663bf
#
# 
# 
# delete "packages/glibc/files/glibc-2.3.5-fix-week-alias-arm-2.patch"
# 
# delete "packages/glibc/files/glibc-2.3.5-fix-week-alias-arm.patch"
# 
# add_file "packages/glibc/files/glibc-2.3.5-fix-weak-alias-arm-2.patch"
#  content [ec0c8fd89b44f62728214399d0b53d7600b5b7b5]
# 
# add_file "packages/glibc/files/glibc-2.3.5-fix-weak-alias-arm.patch"
#  content [454aa2985c8b5ebc1d57621689b59b248fb7bcb7]
# 
# patch "packages/glibc/glibc_2.3.5+cvs20050627.bb"
#  from [df314d20b0f6c91be54807cd1259a8eb231908b0]
#    to [384b2de16128f64058ebec34a4d43225b44d2028]
# 
============================================================
--- packages/glibc/files/glibc-2.3.5-fix-weak-alias-arm-2.patch	ec0c8fd89b44f62728214399d0b53d7600b5b7b5
+++ packages/glibc/files/glibc-2.3.5-fix-weak-alias-arm-2.patch	ec0c8fd89b44f62728214399d0b53d7600b5b7b5
@@ -0,0 +1,11 @@
+--- glibc-2.3.3/ports/sysdeps/unix/sysv/linux/arm/socket.S.orig	2006-07-12 14:38:22.208228359 -0700
++++ glibc-2.3.3/ports/sysdeps/unix/sysv/linux/arm/socket.S	2006-07-12 14:39:56.911675066 -0700
+@@ -123,5 +123,7 @@
+ #endif
+ 
+ PSEUDO_END (__socket)
+-
++ 
++#ifndef NO_WEAK_ALIAS
+ weak_alias (__socket, socket)
++#endif
============================================================
--- packages/glibc/files/glibc-2.3.5-fix-weak-alias-arm.patch	454aa2985c8b5ebc1d57621689b59b248fb7bcb7
+++ packages/glibc/files/glibc-2.3.5-fix-weak-alias-arm.patch	454aa2985c8b5ebc1d57621689b59b248fb7bcb7
@@ -0,0 +1,15 @@
+--- glibc-2.3.3/ports/sysdeps/unix/sysv/linux/arm/socket.S.orig	2006-07-12 13:57:05.990485563 -0700
++++ glibc-2.3.3/ports/sysdeps/unix/sysv/linux/arm/socket.S	2006-07-12 13:58:41.197865230 -0700
+@@ -32,7 +32,11 @@
+    The .S files for the other calls just #define socket and #include this.  */
+ 
+ #ifndef __socket
+-#define __socket P(__,socket)
++#  ifndef NO_WEAK_ALIAS
++#    define __socket P(__,socket)
++#  else
++#    define __socket socket
++#  endif
+ #endif
+ 
+ #define PUSHARGS_1	str a1, [sp, $-4]!
============================================================
--- packages/glibc/glibc_2.3.5+cvs20050627.bb	df314d20b0f6c91be54807cd1259a8eb231908b0
+++ packages/glibc/glibc_2.3.5+cvs20050627.bb	384b2de16128f64058ebec34a4d43225b44d2028
@@ -56,8 +56,8 @@ SRC_URI = "http://familiar.handhelds.org
 	   file://5090_all_stubs-rule-fix.patch;patch=1 \
 	   file://raise.patch;patch=1 \
        file://zecke-sane-readelf.patch;patch=1 \
-	   file://glibc-2.3.3-fix-week-alias-arm.patch;patch=1 \
-	   file://glibc-2.3.3-fix-week-alias-arm-2.patch;patch=1 \
+	   file://glibc-2.3.5-fix-weak-alias-arm.patch;patch=1 \
+	   file://glibc-2.3.5-fix-weak-alias-arm-2.patch;patch=1 \
            file://etc/ld.so.conf \
 	   file://generate-supported.mk"
 






More information about the Openembedded-commits mailing list