From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 03 Aug 2010 21:07:53 +0200 (CEST) Received: from ausxipps301.us.dell.com ([143.166.148.223]:53803 "EHLO ausxipps301.us.dell.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S1491981Ab0HCTHp (ORCPT ); Tue, 3 Aug 2010 21:07:45 +0200 X-Loopcount0: from 10.166.72.158 From: To: Date: Tue, 3 Aug 2010 14:07:30 -0500 Subject: mips, eglibc, and toolchain compilation error Thread-Topic: mips, eglibc, and toolchain compilation error Thread-Index: AcszPx7DpCEQ+lTOTRSdAzgzAaP7/w== Message-ID: <017987BD9AB15445B9968338EC889BB107D3ECEC72@AUSX7MCPS301.AMER.DELL.COM> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_017987BD9AB15445B9968338EC889BB107D3ECEC72AUSX7MCPS301A_" MIME-Version: 1.0 X-OriginalArrivalTime: 03 Aug 2010 19:07:31.0972 (UTC) FILETIME=[1FCDAC40:01CB333F] Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 27550 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: Ryan_D_Phillips@Dell.com Precedence: bulk X-list: linux-mips --_000_017987BD9AB15445B9968338EC889BB107D3ECEC72AUSX7MCPS301A_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi All, I'm trying to get openembedded to build me a 32bit MIPS toolchain using EGL= IBC. 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 `_mcou= nt': | (.debug_macinfo+0x5d7a7a8): relocation truncated to fit: R_MIPS_HI16 agai= nst `_gp_disp' | collect2: ld returned 1 exit status | make[1]: *** [/home/rphillips/sdk/build-dell-tor-angstrom/tmp/work/mips-a= ngstrom-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/t= mp/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/mip= s-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/e= glibc_2.11.bb do_compile failed ERROR: Task 9 (/home/rphillips/work/mips/sdk/openembedded/recipes/eglibc/eg= libc_2.11.bb, do_compile) failed NOTE: Tasks Summary: Attempted 475 tasks of which 159 didn't need to be rer= un 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 a= nyone know what the problem is, and how I can fix it? Google has been of limited use for this error. Regards, Ryan Phillips --_000_017987BD9AB15445B9968338EC889BB107D3ECEC72AUSX7MCPS301A_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi All,

 

I’m trying to get openembedded to build me a 32b= it 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.o= s: 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/e= glibc-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/e= glibc-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/eg= libc-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? <= o:p>

 

Google has been of limited use for this error.

 

Regards,

Ryan Phillips

 

--_000_017987BD9AB15445B9968338EC889BB107D3ECEC72AUSX7MCPS301A_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 03 Aug 2010 21:14:33 +0200 (CEST) Received: from mail3.caviumnetworks.com ([12.108.191.235]:1917 "EHLO mail3.caviumnetworks.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S1493163Ab0HCTOa (ORCPT ); Tue, 3 Aug 2010 21:14:30 +0200 Received: from caexch01.caveonetworks.com (Not Verified[192.168.16.9]) by mail3.caviumnetworks.com with MailMarshal (v6,7,2,8378) id ; Tue, 03 Aug 2010 12:14:57 -0700 Received: from caexch01.caveonetworks.com ([192.168.16.9]) by caexch01.caveonetworks.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 3 Aug 2010 12:14:28 -0700 Received: from dd1.caveonetworks.com ([12.108.191.236]) by caexch01.caveonetworks.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 3 Aug 2010 12:14:28 -0700 Message-ID: <4C586A94.2030409@caviumnetworks.com> Date: Tue, 03 Aug 2010 12:14:28 -0700 From: David Daney User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc12 Thunderbird/3.0.4 MIME-Version: 1.0 To: Ryan_D_Phillips@Dell.com CC: linux-mips@linux-mips.org Subject: Re: mips, eglibc, and toolchain compilation error References: <017987BD9AB15445B9968338EC889BB107D3ECEC72@AUSX7MCPS301.AMER.DELL.COM> In-Reply-To: <017987BD9AB15445B9968338EC889BB107D3ECEC72@AUSX7MCPS301.AMER.DELL.COM> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Aug 2010 19:14:28.0708 (UTC) FILETIME=[18328A40:01CB3340] Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 27551 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: ddaney@caviumnetworks.com Precedence: bulk X-list: 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 > > From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 03 Aug 2010 22:11:28 +0200 (CEST) Received: from mail1.adax.com ([208.201.231.104]:23307 "EHLO mail1.adax.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S1492081Ab0HCULX (ORCPT ); Tue, 3 Aug 2010 22:11:23 +0200 Received: from static-151-204-189-187.pskn.east.verizon.net (static-151-204-189-187.pskn.east.verizon.net [151.204.189.187]) by mail1.adax.com (Postfix) with ESMTP id 81F70120C48; Tue, 3 Aug 2010 13:11:12 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by static-151-204-189-187.pskn.east.verizon.net (Postfix) with ESMTP id B48D5201EA; Tue, 3 Aug 2010 16:11:11 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at static-151-204-189-187.pskn.east.verizon.net Received: from static-151-204-189-187.pskn.east.verizon.net ([127.0.0.1]) by localhost (static-151-204-189-187.pskn.east.verizon.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4kR5oRwNlE2G; Tue, 3 Aug 2010 16:11:06 -0400 (EDT) Received: from [192.168.1.76] (jr001327.mtl-nj.adax [192.168.1.76]) by static-151-204-189-187.pskn.east.verizon.net (Postfix) with ESMTPS id 45613201DD; Tue, 3 Aug 2010 16:11:06 -0400 (EDT) Message-ID: <4C5877F1.2010004@adax.com> Date: Tue, 03 Aug 2010 16:11:29 -0400 From: Jan Rovins Organization: Adax Inc. User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: David Daney CC: Ryan_D_Phillips@Dell.com, linux-mips@linux-mips.org Subject: Re: mips, eglibc, and toolchain compilation error References: <017987BD9AB15445B9968338EC889BB107D3ECEC72@AUSX7MCPS301.AMER.DELL.COM> <4C586A94.2030409@caviumnetworks.com> In-Reply-To: <4C586A94.2030409@caviumnetworks.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 27552 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: janr@adax.com Precedence: bulk X-list: 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 >> >> > From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 03 Aug 2010 22:19:33 +0200 (CEST) Received: from ausc60ps301.us.dell.com ([143.166.148.206]:50123 "EHLO ausc60ps301.us.dell.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S1493173Ab0HCUT3 convert rfc822-to-8bit (ORCPT ); Tue, 3 Aug 2010 22:19:29 +0200 X-Loopcount0: from 10.166.62.177 From: To: , CC: Date: Tue, 3 Aug 2010 15:18:17 -0500 Subject: RE: mips, eglibc, and toolchain compilation error Thread-Topic: mips, eglibc, and toolchain compilation error Thread-Index: AcszSAn9YEyRd+ehQHuFjivxFSyQugAANuyQ Message-ID: <017987BD9AB15445B9968338EC889BB107D3ECEE33@AUSX7MCPS301.AMER.DELL.COM> References: <017987BD9AB15445B9968338EC889BB107D3ECEC72@AUSX7MCPS301.AMER.DELL.COM> <4C586A94.2030409@caviumnetworks.com> <4C5877F1.2010004@adax.com> In-Reply-To: <4C5877F1.2010004@adax.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginalArrivalTime: 03 Aug 2010 20:18:19.0383 (UTC) FILETIME=[03752870:01CB3349] Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 27553 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: Ryan_D_Phillips@Dell.com Precedence: bulk X-list: 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 >> >> > From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ausxipps301.us.dell.com ([143.166.148.223]:53803 "EHLO ausxipps301.us.dell.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S1491981Ab0HCTHp (ORCPT ); Tue, 3 Aug 2010 21:07:45 +0200 From: Date: Tue, 3 Aug 2010 14:07:30 -0500 Subject: mips, eglibc, and toolchain compilation error Message-ID: <017987BD9AB15445B9968338EC889BB107D3ECEC72@AUSX7MCPS301.AMER.DELL.COM> Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_017987BD9AB15445B9968338EC889BB107D3ECEC72AUSX7MCPS301A_" MIME-Version: 1.0 Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org To: linux-mips@linux-mips.org Message-ID: <20100803190730.nGE6rBKr4Qz7VBvsyPNvAYjz8hYD1vZGJNtJzC-y-as@z> --_000_017987BD9AB15445B9968338EC889BB107D3ECEC72AUSX7MCPS301A_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi All, I'm trying to get openembedded to build me a 32bit MIPS toolchain using EGL= IBC. 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 `_mcou= nt': | (.debug_macinfo+0x5d7a7a8): relocation truncated to fit: R_MIPS_HI16 agai= nst `_gp_disp' | collect2: ld returned 1 exit status | make[1]: *** [/home/rphillips/sdk/build-dell-tor-angstrom/tmp/work/mips-a= ngstrom-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/t= mp/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/mip= s-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/e= glibc_2.11.bb do_compile failed ERROR: Task 9 (/home/rphillips/work/mips/sdk/openembedded/recipes/eglibc/eg= libc_2.11.bb, do_compile) failed NOTE: Tasks Summary: Attempted 475 tasks of which 159 didn't need to be rer= un 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 a= nyone know what the problem is, and how I can fix it? Google has been of limited use for this error. Regards, Ryan Phillips --_000_017987BD9AB15445B9968338EC889BB107D3ECEC72AUSX7MCPS301A_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi All,

 

I’m trying to get openembedded to build me a 32b= it 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.o= s: 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/e= glibc-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/e= glibc-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/eg= libc-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? <= o:p>

 

Google has been of limited use for this error.

 

Regards,

Ryan Phillips

 

--_000_017987BD9AB15445B9968338EC889BB107D3ECEC72AUSX7MCPS301A_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ausc60ps301.us.dell.com ([143.166.148.206]:50123 "EHLO ausc60ps301.us.dell.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S1493173Ab0HCUT3 convert rfc822-to-8bit (ORCPT ); Tue, 3 Aug 2010 22:19:29 +0200 From: Date: Tue, 3 Aug 2010 15:18:17 -0500 Subject: RE: mips, eglibc, and toolchain compilation error Message-ID: <017987BD9AB15445B9968338EC889BB107D3ECEE33@AUSX7MCPS301.AMER.DELL.COM> References: <017987BD9AB15445B9968338EC889BB107D3ECEC72@AUSX7MCPS301.AMER.DELL.COM> <4C586A94.2030409@caviumnetworks.com> <4C5877F1.2010004@adax.com> In-Reply-To: <4C5877F1.2010004@adax.com> Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org To: janr@adax.com, ddaney@caviumnetworks.com Cc: linux-mips@linux-mips.org Message-ID: <20100803201817.dKD-891FDtQuiJRq2EbLA9wem5CuW2K8LJ4B-hpX73Y@z> 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 >> >> >