[Top][All Lists]

[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: Wed, 09 Nov 2005 16:25:58 +0000
User-agent: Thunderbird 1.4.1 (X11/20051006)

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.


reply via email to

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