[uClibc 0002414]: Order of linking libraries can causes application not to run

bugs at busybox.net bugs at busybox.net
Mon Mar 3 22:52:23 UTC 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=2414 
====================================================================== 
Reported By:                pqa
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   2414
Category:                   Posix Threads
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             03-03-2008 14:52 PST
Last Modified:              03-03-2008 14:52 PST
====================================================================== 
Summary:                    Order of linking libraries can causes application
not to run
Description: 
Using uClibc version 0.9.29, linking with -nodefaultlibs -lc -lpthreads
causes the application to consume 100% CPU time indefinitely, before
main() is called. Linking with -nodefaultlibs -lpthreads -lc allows the
application to run.

Application is cross compiled to run on bcrm47xx mipsel processor, using
gcc 4.1.2 and is using libpthreads.old.

I can provide further information if needed, but I am not sure what other
information would be helpful.

Attached file builds example application in form that works and form that
doesn't.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-03-08 14:52  pqa            New Issue                                    
03-03-08 14:52  pqa            Status                   new => assigned     
03-03-08 14:52  pqa            Assigned To               => uClibc          
03-03-08 14:52  pqa            File Added: pthread.proc                     
======================================================================




More information about the uClibc-cvs mailing list