bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug ld/1150] undefined reference to `_mpi_sgi_init'


From: Nick Clifton
Subject: Re: [Bug ld/1150] undefined reference to `_mpi_sgi_init'
Date: Fri, 11 Nov 2005 11:23:14 +0000
User-agent: Thunderbird 1.4.1 (X11/20051006)

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:

address@hidden ~]$ 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]