[oe-commits] org.oe.dev Found out that gcc that comes with mandriva 2006.0 will barf on compiling

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


Found out that gcc that comes with mandriva 2006.0 will barf on compiling
glibc if these two patches are not applied. These patches are backports
from glibc 2.3.6.

Author: erik at openembedded.org
Branch: org.openembedded.dev
Revision: e0cf6744b2b3e6254864a4a6f4f2c56870008be2
ViewMTN: http://monotone.openembedded.org/revision.psp?id=e0cf6744b2b3e6254864a4a6f4f2c56870008be2
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/glibc_2.3.5+cvs20050627.bb
Diffs:

#
# mt diff -rb36e29242b2eff6bc03db71460f787b7c51548b4 -re0cf6744b2b3e6254864a4a6f4f2c56870008be2
#
# 
# 
# add_file "packages/glibc/files/glibc-2.3.5-fix-week-alias-arm-2.patch"
#  content [ec0c8fd89b44f62728214399d0b53d7600b5b7b5]
# 
# add_file "packages/glibc/files/glibc-2.3.5-fix-week-alias-arm.patch"
#  content [454aa2985c8b5ebc1d57621689b59b248fb7bcb7]
# 
# patch "packages/glibc/glibc_2.3.5+cvs20050627.bb"
#  from [947a07951c85eac49bdc4b44b5b9c53d0719d803]
#    to [01fb0f2d0ece1e86128d408104eec0c69572f908]
# 
============================================================
--- packages/glibc/files/glibc-2.3.5-fix-week-alias-arm-2.patch	ec0c8fd89b44f62728214399d0b53d7600b5b7b5
+++ packages/glibc/files/glibc-2.3.5-fix-week-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-week-alias-arm.patch	454aa2985c8b5ebc1d57621689b59b248fb7bcb7
+++ packages/glibc/files/glibc-2.3.5-fix-week-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	947a07951c85eac49bdc4b44b5b9c53d0719d803
+++ packages/glibc/glibc_2.3.5+cvs20050627.bb	01fb0f2d0ece1e86128d408104eec0c69572f908
@@ -7,7 +7,7 @@ SRCDATE = "20050627"
 
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/glibc-cvs-2.3.5"
 SRCDATE = "20050627"
-PR = "r7"
+PR = "r8"
 
 GLIBC_ADDONS ?= "ports,linuxthreads"
 GLIBC_EXTRA_OECONF ?= ""
@@ -55,6 +55,8 @@ SRC_URI = "http://familiar.handhelds.org
 	   file://ldsocache-varrun.patch;patch=1 \
 	   file://5090_all_stubs-rule-fix.patch;patch=1 \
 	   file://raise.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://etc/ld.so.conf \
 	   file://generate-supported.mk"
 






More information about the Openembedded-commits mailing list