[oe] OpenEmbedded compile error with MIPS and EGLIBC

Ryan Phillips ryan at trolocsis.com
Wed Aug 4 15:56:35 UTC 2010


Hi All,

I’m trying to get openembedded to build me a 32bit MIPS toolchain
using EGLIBC (GLIBC is working ok). GCC seems to compile ok, but when
I get to eglibc 2.10 and 2.11 the compiler spits this error:

| /home/rphillips/sdk/build-dell-tor-angstrom/tmp/work/mips-angstrom-linux/eglibc-2.11-r11.6/build-mips-angstrom-linux/libc_pic.os:
In function `_mcount':
| (.debug_macinfo+0x5d7a7a8): relocation truncated to fit: R_MIPS_HI16
against `_gp_disp'
| collect2: ld returned 1 exit status
| make[1]: *** [/home/rphillips/sdk/build-dell-tor-angstrom/tmp/work/mips-angstrom-linux/eglibc-2.11-r11.6/build-mips-angstrom-linux/libc.so]
Error 1
| make[1]: Leaving directory
`/home/rphillips/sdk/build-dell-tor-angstrom/tmp/work/mips-angstrom-linux/eglibc-2.11-r11.6/eglibc-2_11/libc'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:
/home/rphillips/sdk/build-dell-tor-angstrom/tmp/work/mips-angstrom-linux/eglibc-2.11-r11.6/temp/log.do_compile.10164
ERROR: TaskFailed event exception, aborting
ERROR: Build of
/home/rphillips/work/mips/sdk/openembedded/recipes/eglibc/eglibc_2.11.bb
do_compile failed
ERROR: Task 9 (/home/rphillips/work/mips/sdk/openembedded/recipes/eglibc/eglibc_2.11.bb,
do_compile) failed
NOTE: Tasks Summary: Attempted 475 tasks of which 159 didn't need to
be rerun and 1 failed.
ERROR: '/home/rphillips/work/mips/sdk/openembedded/recipes/eglibc/eglibc_2.11.bb'
failed

It appears the Debian MIPS stack uses EGLIBC and GCC 4 successfully.
Does anyone know what the problem is, and how I can fix it?

Regards,
Ryan Phillips




More information about the Openembedded-devel mailing list