Hi Lance,

Lance Spaulding wrote:
I've been working on adding glibc (2.7) to the distribution and have
most things working but am unable to run any pthread applications. Launching a pthread app results in the following:

libgcc_s.so.1 must be installed for pthread_cancel to work

I'm using the gcc 4.2.1 toolchains from Snapgear but these don't include
the libgcc_s shared library (just a static libgcc.a).  The glibc nptl
source is hard-coded to dlopen() this library so I can't try linking to
the static version.  Is there some reason these toolchains have to be
built w/o shared libgcc_s?

No, there is no specific reason for that (other than they
have always been generated with a static libgcc).


 Can i just rebuild them without the
--disable-shared option or is something more needed?

Yep. You will need to make sure that it the shared libgcc
(libgcc_s) is copied/installed into any system that was
compiled with this new toolchain.

Regards
Greg



------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [EMAIL PROTECTED]
Secure Computing Corporation                PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to