Package: libc6 Version: 2.3.5-8 Severity: serious Tags: patch Justification: no longer builds from source
I was unable to build the latest version of glibc on an up to date powerpc unstable system. The following patch fixes it for me. The fixes come straight out of mainline glibc. --- sysdeps/powerpc/powerpc32/fpu/s_lround.S~ 2004-06-30 17:29:12.000000000 -0500 +++ sysdeps/powerpc/powerpc32/fpu/s_lround.S 2005-11-18 16:48:11.000000000 -0600 @@ -88,7 +79,6 @@ b .L9 END (__lround) -strong_alias (__lround, __lround) weak_alias (__lround, lround) strong_alias (__lround, __lroundf) --- sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S~ 2005-12-16 01:04:21.000000000 -0600 +++ sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S 2005-12-16 01:06:26.000000000 -0600 @@ -42,7 +42,11 @@ #define stackblock 20 #ifndef __socket -#define __socket P(__,socket) +# ifndef NO_WEAK_ALIAS +# define __socket P(__,socket) +# else +# define __socket socket +# endif #endif .text @@ -116,4 +120,6 @@ PSEUDO_END (__socket) +#ifndef NO_WEAK_ALIAS weak_alias (__socket, socket) +#endif --- sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S~ 2005-12-16 01:08:45.000000000 -0600 +++ sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S 2005-12-16 01:09:32.000000000 -0600 @@ -41,12 +41,12 @@ #define stackblock 80 /* offset to socket parm area. */ -#ifndef socket -/* If this is just socket.S leave it alone! */ -#else #ifndef __socket -#define __socket P(__,socket) -#endif +# ifndef NO_WEAK_ALIAS +# define __socket P(__,socket) +# else +# define __socket socket +# endif #endif .text @@ -120,4 +120,6 @@ cfi_endproc PSEUDO_END (__socket) +#ifndef NO_WEAK_ALIAS weak_alias (__socket, socket) +#endif -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: powerpc (ppc) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15-rc2-g5d240918 Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1) -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]