--- smage/trunk/core/eglibc/eglibc-2.12.2_20110125-r1.smage2 2011/01/25 18:45:14 1068 +++ smage/trunk/core/eglibc/eglibc-2.12.2_20110125-r1.smage2 2011/01/25 19:09:07 1071 @@ -35,6 +35,7 @@ mirror://glibc/glibc-2.12.1-i686.patch mirror://glibc/glibc-2.12.1-static-shared-getpagesize.patch mirror://glibc/glibc-2.12.2-ignore-origin-of-privileged-program.patch + mirror://glibc/glibc-2.12.2-binutils-2.21.patch ) # glibc don't like strong CFLAGS @@ -288,6 +289,13 @@ sed -i '/__ASSUME_PRIVATE_FUTEX/d' glibc/sysdeps/unix/sysv/linux/kernel-features.h || die fi + # fixes build with newer binutil (>= 2.21) + # see: http://sourceware.org/bugzilla/show_bug.cgi?id=12343 + mpatch glibc-2.12.2-binutils-2.21.patch || die + + # binutils patch needs reconf + autoconf --force || die + # fix permissions on some of the scripts chmod u+x ${SRCDIR}/scripts/*.sh || die