Here's a patch I needed to get eglibc (2.16-0experimental0) building on x32 
again.  Without it, the build fails when it comes time to do the "native" 
compile of rpcgen, trying to use gcc-4.6.  The patch will probably also be 
needed for sysdeps/arm64.mk.

  * Fix build on x32: BUILD_CC and BUILD_CXX also need to be overridden to
    gcc-4.7 and g++-4.7, respectively.

diff -Nru eglibc-2.16/debian/sysdeps/x32.mk eglibc-2.16/debian/sysdeps/x32.mk
--- eglibc-2.16/debian/sysdeps/x32.mk   2012-10-25 09:23:58.000000000 -0700
+++ eglibc-2.16/debian/sysdeps/x32.mk   2012-11-25 02:42:33.000000000 -0800
@@ -4,6 +4,8 @@
 # There is no gcc-4.6 for x32, so use 4.7
 CC = $(DEB_HOST_GNU_TYPE)-$(BASE_CC)-4.7
 CXX = $(DEB_HOST_GNU_TYPE)-$(BASE_CXX)-4.7
+BUILD_CC = $(DEB_HOST_GNU_TYPE)-$(BASE_CC)-4.7
+BUILD_CXX = $(DEB_HOST_GNU_TYPE)-$(BASE_CXX)-4.7
 
 # build 64-bit (amd64) alternative library
 EGLIBC_PASSES += amd64

-- 
Daniel Schepler


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201211250712.53215.dschep...@gmail.com

Reply via email to