This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, > It's hard to tell what the problem is without the build log. It > happens that the build log is too big for this list, so if you could > post the build log to pastebin or host it on a website somewhere. Then > we can better diagnose the issue. > > The config would also prove helpful. the config is attached. Meanwhile I solved the original problem. I switched from the default glibc version to 2.9. Now the toolchain is build and installed without error (for test purposes I installed to /tmp). But when compiling "Hello world" I get this linker error: " baumann@baumann-laptop:~/Projekte/Power7_GCC$ powerpc64-ibm-linux-gnu-gcc -o hello hello.c /tmp/usr/local/x-tools/powerpc64-ibm-linux-gnu/lib/gcc/powerpc64-ibm-linux-gnu/4.4.5/../../../../powerpc64-ibm-linux-gnu/bin/ld: skipping incompatible /lib64/libc.so.6 when searching for /lib64/libc.so.6 /tmp/usr/local/x-tools/powerpc64-ibm-linux-gnu/lib/gcc/powerpc64-ibm-linux-gnu/4.4.5/../../../../powerpc64-ibm-linux-gnu/bin/ld: cannot find /lib64/libc.so.6 collect2: ld returned 1 exit status " It seems that some linker scripts expect the target libs (PowerPC64) in /lib64 which contain the libs of the host system (AMD64). Regards, Christoph -- Christoph Baumann Software Development Power Plus Communications AG | Am Exerzierplatz 2 | 68167 Mannheim | Germany Tel.: +49 621 40165-232 | Fax: +49 621 40165-111 E-Mai l: c.baumann@ppc-ag.de | http://www.ppc-ag.de Handelsregister-Nr.: HRB 8853 | Sitz und Registergericht: Mannheim Vorstand: Ingo SchÃnberg (Vorsitzender), Eugen Mayer | Vorsitzender des Aufsichtsrates: Univ.-Prof. Dr. Torsten Gerpott
Attachment:
.config
Description: Binary data
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |