From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-bw0-f48.google.com (mail-bw0-f48.google.com [209.85.214.48]) by mx1.pokylinux.org (Postfix) with ESMTP id 3D9424C80039 for ; Thu, 23 Dec 2010 12:27:38 -0600 (CST) Authentication-Results: mx1.pokylinux.org; dkim=pass (1024-bit key; insecure key) header.i=@gmail.com; x-dkim-adsp=none (insecure policy) Received: by bwz8 with SMTP id 8so6745910bwz.35 for ; Thu, 23 Dec 2010 10:27:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=s0jleyfIvjkQyWzAfLgjisTjSsfviojVbN00D0cvqUc=; b=xuptWXP+hz4Ds7nIixIV/Z41V3d7pN80sAcv1UB6zUOCFHPG2vcfwh2Qc4y+RwmFUO 7tfX4n4AJsCQtOKS4APErL5WPnEir4xtG8Sctu7kGIs5g4NcDigdrpKXsLYR+tPthBLP +HGzmsCpgbWC9BHTlpxFexifV+WCFC0pKV+o0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=uuhvjI77Kwf7R9xDcOfPLIvn8MBoWDMteDIwSh76HWcJl/VetWmCa6hW7svyxmM6fo n61S8POTn8AmWbp85yV+VSIC0mgIlYtIRZv+zhxNjL+JGDHs0JyllTYApBlcL5HA+/aU CPR58rnu5Q00bW2BXJjDeqp5BK8v0ThKf1Xdg= MIME-Version: 1.0 Received: by 10.204.67.140 with SMTP id r12mr7478178bki.147.1293128856325; Thu, 23 Dec 2010 10:27:36 -0800 (PST) Received: by 10.204.3.210 with HTTP; Thu, 23 Dec 2010 10:27:36 -0800 (PST) Date: Thu, 23 Dec 2010 12:27:36 -0600 Message-ID: From: Adrian Alonso To: poky@yoctoproject.org Subject: pseudo native build fails on Fedora 14 X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Dec 2010 18:27:38 -0000 Content-Type: multipart/alternative; boundary=001636c5b2bb214e390498180654 --001636c5b2bb214e390498180654 Content-Type: text/plain; charset=ISO-8859-1 I start a build from scratch and pseudo-native fails to build at link stage: ... /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.5.1/libgcc_s.so when searching for -lgcc_s | /usr/bin/ld: cannot find -lgcc_s | collect2: ld returned 1 exit status .... Full log at [http://pastebin.com/aP27aJ3X] Any advice to fix it? -- Saludos Adrian Alonso http://aalonso.wordpress.com --001636c5b2bb214e390498180654 Content-Type: text/html; charset=ISO-8859-1 I start a build from scratch and pseudo-native fails to build
at link stage:

...
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.5.1/libgcc_s.so when searching for -lgcc_s
| /usr/bin/ld: cannot find -lgcc_s
| collect2: ld returned 1 exit status
....


Any advice to fix it?

--
Saludos
Adrian Alonso
http://aalonso.wordpress.com

--001636c5b2bb214e390498180654-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (dan.rpsys.net [93.97.175.187]) by mx1.pokylinux.org (Postfix) with ESMTP id 8FFBB4C81081 for ; Thu, 23 Dec 2010 13:00:01 -0600 (CST) Received: from localhost (dan.rpsys.net [127.0.0.1]) by dan.rpsys.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id oBNJ1Ovr025527; Thu, 23 Dec 2010 19:01:24 GMT X-Virus-Scanned: Debian amavisd-new at dan.rpsys.net Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VeOkLBQgLzpL; Thu, 23 Dec 2010 19:01:24 +0000 (GMT) Received: from [192.168.1.42] (tim [93.97.173.237]) (authenticated bits=0) by dan.rpsys.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id oBNJ1L2o025524 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 23 Dec 2010 19:01:22 GMT From: Richard Purdie To: Adrian Alonso In-Reply-To: References: Date: Thu, 23 Dec 2010 18:59:48 +0000 Message-ID: <1293130788.17519.217.camel@rex> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Cc: poky@yoctoproject.org Subject: Re: pseudo native build fails on Fedora 14 X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Dec 2010 19:00:06 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Thu, 2010-12-23 at 12:27 -0600, Adrian Alonso wrote: > I start a build from scratch and pseudo-native fails to build > at link stage: > > > ... > /usr/bin/ld: skipping > incompatible /usr/lib/gcc/x86_64-redhat-linux/4.5.1/libgcc_s.so when > searching for -lgcc_s > | /usr/bin/ld: cannot find -lgcc_s > | collect2: ld returned 1 exit status > .... What kind of machine is this? Mixed 32 bit and 64 bit userspace? 64 or 32 bit kernel? To me, this looks like you have half a 32 or 64 bit toolchain alongside the "correct" one and its preferring that for some reason. Cheers, Richard From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mx1.pokylinux.org (Postfix) with ESMTP id 5B1084C80039 for ; Thu, 23 Dec 2010 16:37:49 -0600 (CST) Received: from ALA-MAIL03.corp.ad.wrs.com (ala-mail03 [147.11.57.144]) by mail.windriver.com (8.14.3/8.14.3) with ESMTP id oBNMbmpr020143 for ; Thu, 23 Dec 2010 14:37:48 -0800 (PST) Received: from ala-mail06.corp.ad.wrs.com ([147.11.57.147]) by ALA-MAIL03.corp.ad.wrs.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 23 Dec 2010 14:37:48 -0800 Received: from Macintosh-5.local ([172.25.36.226]) by ala-mail06.corp.ad.wrs.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 23 Dec 2010 14:37:48 -0800 Message-ID: <4D13CF3B.3030501@windriver.com> Date: Thu, 23 Dec 2010 16:37:47 -0600 From: Mark Hatle Organization: Wind River Systems User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: poky@yoctoproject.org References: <1293130788.17519.217.camel@rex> In-Reply-To: <1293130788.17519.217.camel@rex> X-OriginalArrivalTime: 23 Dec 2010 22:37:48.0663 (UTC) FILETIME=[06987070:01CBA2F2] Subject: Re: pseudo native build fails on Fedora 14 X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Dec 2010 22:37:49 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Form the pastebin, it appears to have been building the 32-bit portions. If this is a 64-bit Fedora.. it looks like you have a partial 32-bit run-time environment installed. The system detected this and attempted to build a 32-bit wrapper (as well as the 64-bit version). Likely you are missing the 32-bit gcc or libgcc package. (Sorry I don't know the actual name of the package.) (We have to build both a 64-bit and 32-bit version of pseudo, if we detect 32-bit on the system, because we have no way of knowing what applications will be loaded. The apps executed MAY be either 32-bit or 64-bit, so we need a wrapper library for each available... even if the system's primary applications and libraries are 64-bit.) --Mark On 12/23/10 12:59 PM, Richard Purdie wrote: > On Thu, 2010-12-23 at 12:27 -0600, Adrian Alonso wrote: >> I start a build from scratch and pseudo-native fails to build >> at link stage: >> >> >> ... >> /usr/bin/ld: skipping >> incompatible /usr/lib/gcc/x86_64-redhat-linux/4.5.1/libgcc_s.so when >> searching for -lgcc_s >> | /usr/bin/ld: cannot find -lgcc_s >> | collect2: ld returned 1 exit status >> .... > > What kind of machine is this? Mixed 32 bit and 64 bit userspace? 64 or > 32 bit kernel? > > To me, this looks like you have half a 32 or 64 bit toolchain alongside > the "correct" one and its preferring that for some reason. > > Cheers, > > Richard > > > > > _______________________________________________ > poky mailing list > poky@yoctoproject.org > https://lists.yoctoproject.org/listinfo/poky From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-bw0-f48.google.com (mail-bw0-f48.google.com [209.85.214.48]) by mx1.pokylinux.org (Postfix) with ESMTP id 003EE4C810A8 for ; Mon, 27 Dec 2010 10:20:39 -0600 (CST) Authentication-Results: mx1.pokylinux.org; dkim=pass (1024-bit key; insecure key) header.i=@gmail.com; x-dkim-adsp=none (insecure policy) Received: by bwz8 with SMTP id 8so9049966bwz.35 for ; Mon, 27 Dec 2010 08:20:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=8JyHbnHNn0tBfeFvkwnNU6X0TEl4TjObrKb58vjuisQ=; b=gsb0og41iL2jWW1GrrdD3bQVG7HnjvyiBMP01SmPbjzrpdhC63/fVMnprN+j3cy51H qX6BQgKhTMV3SGP5pI44BKpRFh5njqSvVTkRDaaysDGytHpvhVNFpo0Cx10NBQ8IC7Ff 8XuxUYKltycdetl5lBPvjVO5anezdjKhHMZ0Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=qE7Z/YlzfKJazTw3Exli9r1xZkzQ/mx1Dy+Ro0XdbktjFYBQXaJUNl28f9V2sFnt7O XEML6sQmfqDSYzdK7ga4rWu5aww4sA9yA37nKQATAUPR10Do9j5epa3E7vyQ8dR6R24u mlwNyCmaf75Cd4n6omFhvdLYjPhCqhAt04g0Y= MIME-Version: 1.0 Received: by 10.204.67.140 with SMTP id r12mr10589488bki.147.1293466835727; Mon, 27 Dec 2010 08:20:35 -0800 (PST) Received: by 10.204.3.210 with HTTP; Mon, 27 Dec 2010 08:20:35 -0800 (PST) In-Reply-To: <4D13CF3B.3030501@windriver.com> References: <1293130788.17519.217.camel@rex> <4D13CF3B.3030501@windriver.com> Date: Mon, 27 Dec 2010 10:20:35 -0600 Message-ID: From: Adrian Alonso To: Mark Hatle Cc: poky@yoctoproject.org Subject: Re: pseudo native build fails on Fedora 14 X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Dec 2010 16:20:40 -0000 Content-Type: multipart/alternative; boundary=001636c5b2bb45b6f3049866b7d7 --001636c5b2bb45b6f3049866b7d7 Content-Type: text/plain; charset=ISO-8859-1 Thanks Mark, Richard Installing libgcc.i686 corrected the error. My build system is a mixture of 32/64 due that some of the build tools that I use (FPGA dev tools) are 32bit based; Regards and happy new year! On Thu, Dec 23, 2010 at 4:37 PM, Mark Hatle wrote: > Form the pastebin, it appears to have been building the 32-bit portions. > If > this is a 64-bit Fedora.. it looks like you have a partial 32-bit run-time > environment installed. The system detected this and attempted to build a > 32-bit > wrapper (as well as the 64-bit version). Likely you are missing the 32-bit > gcc > or libgcc package. (Sorry I don't know the actual name of the package.) > > (We have to build both a 64-bit and 32-bit version of pseudo, if we detect > 32-bit on the system, because we have no way of knowing what applications > will > be loaded. The apps executed MAY be either 32-bit or 64-bit, so we need a > wrapper library for each available... even if the system's primary > applications > and libraries are 64-bit.) > > --Mark > > On 12/23/10 12:59 PM, Richard Purdie wrote: > > On Thu, 2010-12-23 at 12:27 -0600, Adrian Alonso wrote: > >> I start a build from scratch and pseudo-native fails to build > >> at link stage: > >> > >> > >> ... > >> /usr/bin/ld: skipping > >> incompatible /usr/lib/gcc/x86_64-redhat-linux/4.5.1/libgcc_s.so when > >> searching for -lgcc_s > >> | /usr/bin/ld: cannot find -lgcc_s > >> | collect2: ld returned 1 exit status > >> .... > > > > What kind of machine is this? Mixed 32 bit and 64 bit userspace? 64 or > > 32 bit kernel? > > > > To me, this looks like you have half a 32 or 64 bit toolchain alongside > > the "correct" one and its preferring that for some reason. > > > > Cheers, > > > > Richard > > > > > > > > > > _______________________________________________ > > poky mailing list > > poky@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/poky > > _______________________________________________ > poky mailing list > poky@yoctoproject.org > https://lists.yoctoproject.org/listinfo/poky > -- Saludos Adrian Alonso http://aalonso.wordpress.com --001636c5b2bb45b6f3049866b7d7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks Mark, Richard

Installing libgcc.i686 corrected th= e error.

My build system is a mixture of 32/64 due= that some of the
build tools that I use (FPGA dev tools) are 32b= it based;

Regards and happy new year!

On Thu, Dec 23, 2010 at 4:37 PM, Mark Hatle <mark.hatle@= windriver.com> wrote:
Form the pastebin, it appears to have been = building the 32-bit portions. =A0If
this is a 64-bit Fedora.. it looks like you have a partial 32-bit run-time<= br> environment installed. =A0The system detected this and attempted to build a= 32-bit
wrapper (as well as the 64-bit version). =A0Likely you are missing the 32-b= it gcc
or libgcc package. =A0(Sorry I don't know the actual name of the packag= e.)

(We have to build both a 64-bit and 32-bit version of pseudo, if we detect<= br> 32-bit on the system, because we have no way of knowing what applications w= ill
be loaded. =A0The apps executed MAY be either 32-bit or 64-bit, so we need = a
wrapper library for each available... even if the system's primary appl= ications
and libraries are 64-bit.)

--Mark

On 12/23/10 12:59 PM, Richard Purdie wrote:
> On Thu, 2010-12-23 at 12:27 -0600, Adrian Alonso wrote:
>> I start a build from scratch and pseudo-native fails to build
>> at link stage:
>>
>>
>> ...
>> /usr/bin/ld: skipping
>> incompatible /usr/lib/gcc/x86_64-redhat-linux/4.5.1/libgcc_s.so wh= en
>> searching for -lgcc_s
>> | /usr/bin/ld: cannot find -lgcc_s
>> | collect2: ld returned 1 exit status
>> ....
>
> What kind of machine is this? Mixed 32 bit and 64 bit userspace? 64 or=
> 32 bit kernel?
>
> To me, this looks like you have half a 32 or 64 bit toolchain alongsid= e
> the "correct" one and its preferring that for some reason. >
> Cheers,
>
> Richard
>
>
>
>
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky

_______________________________________________
poky mailing list
poky@yoctoproject.org
= https://lists.yoctoproject.org/listinfo/poky



--
Saludos
Adrian Alons= o
http://aalonso.wordpress.com<= /a>

--001636c5b2bb45b6f3049866b7d7--