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




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

Reply via email to