[Top][All Lists]

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

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

From: nickc at redhat dot com
Subject: [Bug ld/1150] undefined reference to `_mpi_sgi_init'
Date: 9 Nov 2005 16:24:44 -0000

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

Hi Michael,

> I don't have any information beyond the error message and what I learned from
> the message to the mailing list quoted above. The behaviour of OPTIONAL 
> symbols
> seems to be that they're silently ignored if not present in any of the linked
> objects, allowing for using libraries if linked against but working anyway if
> missing. In the case of libpthread this seems to silently recognize linkage
> against mpi and doing a call into mpi to make it aware of pthreads being used
> (or the like).

Ok - this appears to be an Irix specific extension to the ELF spec.  An 
extension which is not currently supported by the binutils.

Do you have a *small* self-contained example that can reproduce the 
problem ?  Preferably one that can be run using a cross-compiler as I do 
not have access to an Irix host.  Failing that, can you supply a binary 
that contains one of these OPTIONAL symbols so that I can investigate 
further ?

In the meantime if you would like to try out the patch I am uploading to 
the PR, you may find, just possibly, that it helps.




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

reply via email to

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