[issue11946] 2.7.1 'test_commands' build test fails

Jason Vas Dias report at bugs.python.org
Mon May 30 20:23:57 CEST 2011


Jason Vas Dias <jason.vas.dias at gmail.com> added the comment:

Oops, cut myself off mid-sentence in that previous comment ... AIWS :

If you are on a RedHat derived system, where /lib/ld-linux.so.2 is
32-bit ,  you should be OK;  if, however, you are on a Gentoo
derived or "my style" system, you need to make sure your 
gcc is compiled with '--enable-multilib' and '--enable-targets=all',
as mine is , and that you have applied something like this patch
to gcc's gcc/config/i386/linux*.h files:

$ gendiff gcc/config '~'
diff -up gcc/config/i386/linux.h~ gcc/config/i386/linux.h
--- gcc/config/i386/linux.h~    2011-01-14 18:45:06.000000000 +0000
+++ gcc/config/i386/linux.h     2011-04-05 22:17:10.000000000 +0100
@@ -92,7 +92,7 @@ along with GCC; see the file COPYING3.

 /* These macros may be overridden in k*bsd-gnu.h and i386/k*bsd-gnu.h. */
 #define LINK_EMULATION "elf_i386"
-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
+#define GLIBC_DYNAMIC_LINKER "/lib32/ld-linux.so.2"

 #undef  ASM_SPEC
 #define ASM_SPEC \
diff -up gcc/config/i386/linux64.h~ gcc/config/i386/linux64.h
--- gcc/config/i386/linux64.h~  2011-03-02 22:35:36.000000000 +0000
+++ gcc/config/i386/linux64.h   2011-04-05 22:17:33.000000000 +0100
@@ -62,7 +62,7 @@ see the files COPYING3 and COPYING.RUNTI
    When the -shared link option is used a final link is not being
    done.  */

-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
+#define GLIBC_DYNAMIC_LINKER32 "/lib32/ld-linux.so.2"
 #define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2"

 #if TARGET_64BIT_DEFAULT

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11946>
_______________________________________


More information about the Python-bugs-list mailing list