Message137316
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 |
|
Date |
User |
Action |
Args |
2011-05-30 18:23:58 | Jason.Vas.Dias | set | recipients:
+ Jason.Vas.Dias, georg.brandl, r.david.murray, Alex.Leach |
2011-05-30 18:23:57 | Jason.Vas.Dias | set | messageid: <1306779837.96.0.08719361757.issue11946@psf.upfronthosting.co.za> |
2011-05-30 18:23:57 | Jason.Vas.Dias | link | issue11946 messages |
2011-05-30 18:23:57 | Jason.Vas.Dias | create | |
|