[Top] [All Lists]

Re: mips, eglibc, and toolchain compilation error

Subject: Re: mips, eglibc, and toolchain compilation error
From: David Daney <>
Date: Tue, 03 Aug 2010 12:14:28 -0700
In-reply-to: <017987BD9AB15445B9968338EC889BB107D3ECEC72@AUSX7MCPS301.AMER.DELL.COM>
Original-recipient: rfc822;
References: <017987BD9AB15445B9968338EC889BB107D3ECEC72@AUSX7MCPS301.AMER.DELL.COM>
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100430 Fedora/3.0.4-2.fc12 Thunderbird/3.0.4
Which version of Binutils?

If it is up to date, I don't know what the problem is.

You would have to look at the exact commands being passed to the linker as well as look at the objects involved.

David Daney

On 08/03/2010 12:07 PM, wrote:
Hi All,

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

 In function `_mcount':
| (.debug_macinfo+0x5d7a7a8): relocation truncated to fit: R_MIPS_HI16 against 
| collect2: ld returned 1 exit status
| make[1]: *** 
 Error 1
| make[1]: Leaving directory 
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed: 
ERROR: TaskFailed event exception, aborting
ERROR: Build of 
do_compile failed
ERROR: Task 9 
do_compile) failed
NOTE: Tasks Summary: Attempted 475 tasks of which 159 didn't need to be rerun 
and 1 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?

Google has been of limited use for this error.

Ryan Phillips

<Prev in Thread] Current Thread [Next in Thread>