------- Additional Comments From nickc at redhat dot com  2005-11-11 11:21 
-------
Subject: Re:  undefined reference to `_mpi_sgi_init'

Hi Michael,

> The testcase nwo runs fine with the patched ld:

Great - I will check that patch in then as a first step in resolving 
this PR.

> But the original problem with libpthread remains:

> [EMAIL PROTECTED] ~]$ gcc -o t t.o -lpthread
> /usr/lib/../lib64/libpthread.so: undefined reference to `_mpi_sgi_init'

Ho Hum.

> Is there a difference in treatment of object and *shared* object symbols?

Yes - they can be handled differently, and presumably they are being 
treated differently in this case.

Can you investigate this part of the problem ?  Basically you need to 
find where this undefined symbol is being detected.  It will almost 
certainly be just before some code that calls:

   link_info->callbacks->undefined_symbol

somewhere in the BFD library code.  Alternatively if you make those Irix 
system files available to me, I can have a go - BUT ... I am about to go 
off and work at a client site for a month or so, so I will not be able 
to put as much time into binutils work.

Cheers
   Nick




-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=1150

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to