* mips, eglibc, and toolchain compilation error
@ 2010-08-03 19:07 Ryan_D_Phillips
2010-08-03 19:07 ` Ryan_D_Phillips
2010-08-03 19:14 ` David Daney
0 siblings, 2 replies; 6+ messages in thread
From: Ryan_D_Phillips @ 2010-08-03 19:07 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 1620 bytes --]
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:
| /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?
Google has been of limited use for this error.
Regards,
Ryan Phillips
[-- Attachment #2: Type: text/html, Size: 4310 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* mips, eglibc, and toolchain compilation error
2010-08-03 19:07 mips, eglibc, and toolchain compilation error Ryan_D_Phillips
@ 2010-08-03 19:07 ` Ryan_D_Phillips
2010-08-03 19:14 ` David Daney
1 sibling, 0 replies; 6+ messages in thread
From: Ryan_D_Phillips @ 2010-08-03 19:07 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 1620 bytes --]
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:
| /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?
Google has been of limited use for this error.
Regards,
Ryan Phillips
[-- Attachment #2: Type: text/html, Size: 4310 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mips, eglibc, and toolchain compilation error
2010-08-03 19:07 mips, eglibc, and toolchain compilation error Ryan_D_Phillips
2010-08-03 19:07 ` Ryan_D_Phillips
@ 2010-08-03 19:14 ` David Daney
2010-08-03 20:11 ` Jan Rovins
1 sibling, 1 reply; 6+ messages in thread
From: David Daney @ 2010-08-03 19:14 UTC (permalink / raw)
To: Ryan_D_Phillips; +Cc: linux-mips
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, Ryan_D_Phillips@Dell.com 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:
>
> | /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?
>
> Google has been of limited use for this error.
>
> Regards,
> Ryan Phillips
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mips, eglibc, and toolchain compilation error
2010-08-03 19:14 ` David Daney
@ 2010-08-03 20:11 ` Jan Rovins
2010-08-03 20:18 ` Ryan_D_Phillips
0 siblings, 1 reply; 6+ messages in thread
From: Jan Rovins @ 2010-08-03 20:11 UTC (permalink / raw)
To: David Daney; +Cc: Ryan_D_Phillips, linux-mips
Looks like a similar problim is documented here:
http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg00090.html
(their solution was to rebuild GCC without the -fno-omit-frame-pointer option)
Jan
David Daney wrote:
> 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, Ryan_D_Phillips@Dell.com 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:
>>
>> |
>> /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?
>>
>> Google has been of limited use for this error.
>>
>> Regards,
>> Ryan Phillips
>>
>>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: mips, eglibc, and toolchain compilation error
2010-08-03 20:11 ` Jan Rovins
@ 2010-08-03 20:18 ` Ryan_D_Phillips
2010-08-03 20:18 ` Ryan_D_Phillips
0 siblings, 1 reply; 6+ messages in thread
From: Ryan_D_Phillips @ 2010-08-03 20:18 UTC (permalink / raw)
To: janr, ddaney; +Cc: linux-mips
Thanks Jan. I will try this.
David: For reference the binutils version is 2.20.1.
Regards,
Ryan
-----Original Message-----
From: Jan Rovins [mailto:janr@adax.com]
Sent: Tuesday, August 03, 2010 3:11 PM
To: David Daney
Cc: Phillips, Ryan D; linux-mips@linux-mips.org
Subject: Re: mips, eglibc, and toolchain compilation error
Looks like a similar problim is documented here:
http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg00090.html
(their solution was to rebuild GCC without the -fno-omit-frame-pointer option)
Jan
David Daney wrote:
> 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, Ryan_D_Phillips@Dell.com 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:
>>
>> |
>> /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?
>>
>> Google has been of limited use for this error.
>>
>> Regards,
>> Ryan Phillips
>>
>>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: mips, eglibc, and toolchain compilation error
2010-08-03 20:18 ` Ryan_D_Phillips
@ 2010-08-03 20:18 ` Ryan_D_Phillips
0 siblings, 0 replies; 6+ messages in thread
From: Ryan_D_Phillips @ 2010-08-03 20:18 UTC (permalink / raw)
To: janr, ddaney; +Cc: linux-mips
Thanks Jan. I will try this.
David: For reference the binutils version is 2.20.1.
Regards,
Ryan
-----Original Message-----
From: Jan Rovins [mailto:janr@adax.com]
Sent: Tuesday, August 03, 2010 3:11 PM
To: David Daney
Cc: Phillips, Ryan D; linux-mips@linux-mips.org
Subject: Re: mips, eglibc, and toolchain compilation error
Looks like a similar problim is documented here:
http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg00090.html
(their solution was to rebuild GCC without the -fno-omit-frame-pointer option)
Jan
David Daney wrote:
> 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, Ryan_D_Phillips@Dell.com 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:
>>
>> |
>> /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?
>>
>> Google has been of limited use for this error.
>>
>> Regards,
>> Ryan Phillips
>>
>>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-08-03 20:19 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-03 19:07 mips, eglibc, and toolchain compilation error Ryan_D_Phillips
2010-08-03 19:07 ` Ryan_D_Phillips
2010-08-03 19:14 ` David Daney
2010-08-03 20:11 ` Jan Rovins
2010-08-03 20:18 ` Ryan_D_Phillips
2010-08-03 20:18 ` Ryan_D_Phillips
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox