* [gentoo-embedded] where is libgcc_so.1?
@ 2010-09-20 19:01 Joakim Tjernlund
2010-09-20 20:01 ` Mike Frysinger
0 siblings, 1 reply; 8+ messages in thread
From: Joakim Tjernlund @ 2010-09-20 19:01 UTC (permalink / raw
To: gentoo-embedded
Maybe I am just stupid (too long since I used crossdev) but
I cannot find libgcc_so.1 after building:
crossdev\
-s3 \
--ex-gdb \
--libc 2.11.2 \
--binutils 2.20.1-r1 \
--gcc 4.4.4-r2 \
--kernel 2.6.30-r1 \
--target powerpc-e300c2_softfloat-linux-gnu
As I recall NPTL want libgcc_so.1 no matter what I do. Isn't that
true in newer toolchains?
Jocke
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-embedded] where is libgcc_so.1?
2010-09-20 19:01 [gentoo-embedded] where is libgcc_so.1? Joakim Tjernlund
@ 2010-09-20 20:01 ` Mike Frysinger
2010-09-20 20:46 ` Joakim Tjernlund
0 siblings, 1 reply; 8+ messages in thread
From: Mike Frysinger @ 2010-09-20 20:01 UTC (permalink / raw
To: gentoo-embedded
[-- Attachment #1: Type: Text/Plain, Size: 544 bytes --]
On Monday, September 20, 2010 15:01:24 Joakim Tjernlund wrote:
> Maybe I am just stupid (too long since I used crossdev) but
> I cannot find libgcc_so.1 after building:
> crossdev\
> -s3 \
> --ex-gdb \
> --libc 2.11.2 \
> --binutils 2.20.1-r1 \
> --gcc 4.4.4-r2 \
> --kernel 2.6.30-r1 \
> --target powerpc-e300c2_softfloat-linux-gnu
>
> As I recall NPTL want libgcc_so.1 no matter what I do. Isn't that
> true in newer toolchains?
did you typo the name ? gcc for most linux targets install a libgcc_s.so.1.
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-embedded] where is libgcc_so.1?
2010-09-20 20:01 ` Mike Frysinger
@ 2010-09-20 20:46 ` Joakim Tjernlund
2010-09-21 10:48 ` Joakim Tjernlund
0 siblings, 1 reply; 8+ messages in thread
From: Joakim Tjernlund @ 2010-09-20 20:46 UTC (permalink / raw
To: gentoo-embedded; +Cc: gentoo-embedded
Mike Frysinger <vapier@gentoo.org> wrote on 2010/09/20 22:01:24:
>
> On Monday, September 20, 2010 15:01:24 Joakim Tjernlund wrote:
> > Maybe I am just stupid (too long since I used crossdev) but
> > I cannot find libgcc_so.1 after building:
> > crossdev\
> > -s3 \
> > --ex-gdb \
> > --libc 2.11.2 \
> > --binutils 2.20.1-r1 \
> > --gcc 4.4.4-r2 \
> > --kernel 2.6.30-r1 \
> > --target powerpc-e300c2_softfloat-linux-gnu
> >
> > As I recall NPTL want libgcc_so.1 no matter what I do. Isn't that
> > true in newer toolchains?
>
> did you typo the name ? gcc for most linux targets install a libgcc_s.so.1.
Yes, I meant libgcc_s.so.1. I cannot find it under /usr/lib/gcc/powerpc-e300c2_softfloat-linux-gnu
nor /usr/powerpc-e300c2_softfloat-linux-gnu/
There is a /usr/lib/gcc/powerpc-e300c2_softfloat-linux-gnu/4.4.4/libgcc.a though.
There is one for my old powerpc cross compiler, gcc-3.4.6
Jocke
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-embedded] where is libgcc_so.1?
2010-09-20 20:46 ` Joakim Tjernlund
@ 2010-09-21 10:48 ` Joakim Tjernlund
0 siblings, 0 replies; 8+ messages in thread
From: Joakim Tjernlund @ 2010-09-21 10:48 UTC (permalink / raw
To: gentoo-embedded
Joakim Tjernlund <joakim.tjernlund@transmode.se> wrote on 2010/09/20 22:46:43:
>
> Mike Frysinger <vapier@gentoo.org> wrote on 2010/09/20 22:01:24:
> >
> > On Monday, September 20, 2010 15:01:24 Joakim Tjernlund wrote:
> > > Maybe I am just stupid (too long since I used crossdev) but
> > > I cannot find libgcc_so.1 after building:
> > > crossdev\
> > > -s3 \
> > > --ex-gdb \
> > > --libc 2.11.2 \
> > > --binutils 2.20.1-r1 \
> > > --gcc 4.4.4-r2 \
> > > --kernel 2.6.30-r1 \
> > > --target powerpc-e300c2_softfloat-linux-gnu
> > >
> > > As I recall NPTL want libgcc_so.1 no matter what I do. Isn't that
> > > true in newer toolchains?
> >
> > did you typo the name ? gcc for most linux targets install a libgcc_s.so.1.
>
> Yes, I meant libgcc_s.so.1. I cannot find it under /usr/lib/gcc/powerpc-
> e300c2_softfloat-linux-gnu
> nor /usr/powerpc-e300c2_softfloat-linux-gnu/
hmm, might this be due to me not build c++(using -s3 to crossdev)?
I guess I will find out next time I rebuild my tool chain.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-embedded] where is libgcc_so.1?
@ 2010-09-21 20:05 Mike Frysinger
2010-09-22 7:37 ` Joakim Tjernlund
0 siblings, 1 reply; 8+ messages in thread
From: Mike Frysinger @ 2010-09-21 20:05 UTC (permalink / raw
To: gentoo-embedded
[-- Attachment #1: Type: text/plain, Size: 395 bytes --]
On Monday, September 20, 2010 16:46:43 Joakim Tjernlund wrote:
> Yes, I meant libgcc_s.so.1. I cannot find it under
> /usr/lib/gcc/powerpc-e300c2_softfloat-linux-gnu nor
> /usr/powerpc-e300c2_softfloat-linux-gnu/
>
> There is a /usr/lib/gcc/powerpc-e300c2_softfloat-linux-gnu/4.4.4/libgcc.a
> though.
i'm guessing it's because you selected --stage3. you really want --stage4.
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-embedded] where is libgcc_so.1?
2010-09-21 20:05 Mike Frysinger
@ 2010-09-22 7:37 ` Joakim Tjernlund
2010-09-22 22:05 ` Mike Frysinger
0 siblings, 1 reply; 8+ messages in thread
From: Joakim Tjernlund @ 2010-09-22 7:37 UTC (permalink / raw
To: gentoo-embedded
Mike Frysinger <vapier@gentoo.org> wrote on 2010/09/21 22:05:11:
>
> On Monday, September 20, 2010 16:46:43 Joakim Tjernlund wrote:
> > Yes, I meant libgcc_s.so.1. I cannot find it under
> > /usr/lib/gcc/powerpc-e300c2_softfloat-linux-gnu nor
> > /usr/powerpc-e300c2_softfloat-linux-gnu/
> >
> > There is a /usr/lib/gcc/powerpc-e300c2_softfloat-linux-gnu/4.4.4/libgcc.a
> > though.
>
> i'm guessing it's because you selected --stage3. you really want --stage4.
Yes, I will try with -s4 later. I do think -s3 should include libgcc_s.so.1 too
if one selects NPTL as it requires libgcc_s.so.1
Jocke
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-embedded] where is libgcc_so.1?
2010-09-22 7:37 ` Joakim Tjernlund
@ 2010-09-22 22:05 ` Mike Frysinger
[not found] ` <OFC021B02F.4495A915-ONC12577A7.00267184-C12577A7.0026F181@transmode.se>
0 siblings, 1 reply; 8+ messages in thread
From: Mike Frysinger @ 2010-09-22 22:05 UTC (permalink / raw
To: gentoo-embedded; +Cc: Joakim Tjernlund
[-- Attachment #1: Type: Text/Plain, Size: 904 bytes --]
On Wednesday, September 22, 2010 03:37:04 Joakim Tjernlund wrote:
> Mike Frysinger wrote on 2010/09/21 22:05:11:
> > On Monday, September 20, 2010 16:46:43 Joakim Tjernlund wrote:
> > > Yes, I meant libgcc_s.so.1. I cannot find it under
> > > /usr/lib/gcc/powerpc-e300c2_softfloat-linux-gnu nor
> > > /usr/powerpc-e300c2_softfloat-linux-gnu/
> > >
> > > There is a
> > > /usr/lib/gcc/powerpc-e300c2_softfloat-linux-gnu/4.4.4/libgcc.a though.
> >
> > i'm guessing it's because you selected --stage3. you really want
> > --stage4.
>
> Yes, I will try with -s4 later. I do think -s3 should include libgcc_s.so.1
> too if one selects NPTL as it requires libgcc_s.so.1
look at the stage list. you have to build a bare compiler (stage1) before you
can build the C library (stage3), and you need the C library before you can
build shared libraries like libgcc_s.so.1 (stage4).
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-embedded] where is libgcc_so.1?
[not found] ` <OFC021B02F.4495A915-ONC12577A7.00267184-C12577A7.0026F181@transmode.se>
@ 2010-09-23 8:58 ` Mike Frysinger
0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger @ 2010-09-23 8:58 UTC (permalink / raw
To: Joakim Tjernlund; +Cc: gentoo-embedded
[-- Attachment #1: Type: Text/Plain, Size: 871 bytes --]
On Thursday, September 23, 2010 03:05:21 Joakim Tjernlund wrote:
> Mike Frysinger wrote on 2010/09/23 00:05:31:
> > look at the stage list. you have to build a bare compiler (stage1)
> > before you can build the C library (stage3), and you need the C library
> > before you can build shared libraries like libgcc_s.so.1 (stage4).
>
> A bit strange that s3 can build the pthread shared lib then?
no. glibc dlopen's libgcc on the fly. the pthreads source code has some
comments in it explaining why. although this chicken & egg problem is a
pretty damn good reason -- you cant build shared gcc libs without a C library,
so requiring your gcc to have shared libs would be problematic ...
> The help text for S4 only indicates that S4 builds a C++ compiler(which I
> don't need ATM, that is why I skipped s4)
i guess it is a bit misleading
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-09-23 9:09 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-20 19:01 [gentoo-embedded] where is libgcc_so.1? Joakim Tjernlund
2010-09-20 20:01 ` Mike Frysinger
2010-09-20 20:46 ` Joakim Tjernlund
2010-09-21 10:48 ` Joakim Tjernlund
-- strict thread matches above, loose matches on Subject: below --
2010-09-21 20:05 Mike Frysinger
2010-09-22 7:37 ` Joakim Tjernlund
2010-09-22 22:05 ` Mike Frysinger
[not found] ` <OFC021B02F.4495A915-ONC12577A7.00267184-C12577A7.0026F181@transmode.se>
2010-09-23 8:58 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox