[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: michael at weiser dot dinsnail dot net
Subject: [Bug ld/1150] undefined reference to `_mpi_sgi_init'
Date: 9 Nov 2005 13:25:00 -0000

------- Additional Comments From michael at weiser dot dinsnail dot net  
2005-11-09 13:24 -------
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).

Some googling reveals the following resources on optional symbols:

64-bit ELF Object File Specification:
#pragma optional in MIPSpro cc:
mips st_other and STO_OPTIONAL:

Especially the 64-bit Object File Specification seems to contain quite some
background on this.

BTW: I encountered the problem with a gcc-4.0.1 configured with --with-abi=64
when compiling and linking 64 bit objects/executables.



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