------- 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. 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