Message137316
| Author |
Jason.Vas.Dias |
| Recipients |
Alex.Leach, Jason.Vas.Dias, georg.brandl, r.david.murray |
| Date |
2011年05月30日.18:23:57 |
| SpamBayes Score |
3.952333e-06 |
| Marked as misclassified |
No |
| Message-id |
<1306779837.96.0.08719361757.issue11946@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|
History
|
|---|
| 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 |
|