* pseudo native build fails on Fedora 14
@ 2010-12-23 18:27 Adrian Alonso
2010-12-23 18:59 ` Richard Purdie
0 siblings, 1 reply; 4+ messages in thread
From: Adrian Alonso @ 2010-12-23 18:27 UTC (permalink / raw)
To: poky
[-- Attachment #1: Type: text/plain, Size: 415 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 661 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: pseudo native build fails on Fedora 14
2010-12-23 18:27 pseudo native build fails on Fedora 14 Adrian Alonso
@ 2010-12-23 18:59 ` Richard Purdie
2010-12-23 22:37 ` Mark Hatle
0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2010-12-23 18:59 UTC (permalink / raw)
To: Adrian Alonso; +Cc: poky
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: pseudo native build fails on Fedora 14
2010-12-23 18:59 ` Richard Purdie
@ 2010-12-23 22:37 ` Mark Hatle
2010-12-27 16:20 ` Adrian Alonso
0 siblings, 1 reply; 4+ messages in thread
From: Mark Hatle @ 2010-12-23 22:37 UTC (permalink / raw)
To: poky
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: pseudo native build fails on Fedora 14
2010-12-23 22:37 ` Mark Hatle
@ 2010-12-27 16:20 ` Adrian Alonso
0 siblings, 0 replies; 4+ messages in thread
From: Adrian Alonso @ 2010-12-27 16:20 UTC (permalink / raw)
To: Mark Hatle; +Cc: poky
[-- Attachment #1: Type: text/plain, Size: 2208 bytes --]
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 <mark.hatle@windriver.com>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
[-- Attachment #2: Type: text/html, Size: 3118 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-12-27 16:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-23 18:27 pseudo native build fails on Fedora 14 Adrian Alonso
2010-12-23 18:59 ` Richard Purdie
2010-12-23 22:37 ` Mark Hatle
2010-12-27 16:20 ` Adrian Alonso
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.