[uClibc] libgcc_s.so.1

Joakim Tjernlund Joakim.Tjernlund at lumentis.se
Wed May 25 21:59:37 UTC 2005


> 
> 
> 
> Hi John,
> 
> I've just compiled xorg against uclibc sucessfully for the first time
> and I have noticed the same dependancy on libgcc_s.so.1 At first I
> thought that I had missed the lib when packaging uclibc, so after
> looking for it on my devel system, I noticed that it is quite large,
> around 35M and I'm trying to make a small cutdown system!

You can configure gcc to use libgcc.a instead(can't remember how) like gcc
used to do in older releases.

35MB is very much. Did you try to strip it?

> 
> Non of my other software I have complied requires this library, so I'm
> hoping i can get around it.
> 
> Wayne.
> 

[SNIP]
> > > Nope, no copy should be needed.
> > 
> > Mmmm.. I'm not sure I understand.
> > Before the machine got hosed, it was SuSE 9.1, now its Debian testing 
> > (if that helps any)
> > 
> > Anyhow, I copied the dropbear binary into the toolchain filesystem to 
> > do an ldd and I got (Debian Host)
> > ilnacullin:/src# ldd dropbear
> > ldd: can't open cache '/etc/ld.so.cache'
> >          libutil.so.0 => /lib/libutil.so.0 (0x40007000)
> >          libcrypt.so.0 => /lib/libcrypt.so.0 (0x40009000)
> >          libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4001d000)
> >          libc.so.0 => /lib/libc.so.0 (0x40023000)
> >          ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x40000000)
> > 
> > The previous dropbear binary gives the following (SuSE host)
> > ilnacullin:/src# ldd dropbearold
> > ldd: can't open cache '/etc/ld.so.cache'
> >          libutil.so.0 => /lib/libutil.so.0 (0x40007000)
> >          libcrypt.so.0 => /lib/libcrypt.so.0 (0x40009000)
> >          libc.so.0 => /lib/libc.so.0 (0x4001d000)
> >          ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x40000000)
> > 
> > Previously I just had copied all the libs from /usr/i386-linux-uclibc/ 
> > (generated by compiling uClibc itself ) onto my targets filesystem and 
> > it worked fine, now I've broken it.

I think you should loop mount the root_fs_i386.ext2 file and copy from there.

 Jocke



More information about the uClibc mailing list