[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: 21 Nov 2005 18:30:07 -0000

------- Additional Comments From nickc at redhat dot com  2005-11-21 18:30 
Subject: Re:  undefined reference to `_mpi_sgi_init'

Hi Michael,

> using the above test case I tracked down the place in elflink.c where the
> symbol os is reported as undefined when localed in a shared library. The
> attached patch hacks elflink.c to check for STO_OPTIONAL in h->other. This
> makes the test case work with both native IRIX and Mac OS X cross binutils:

Excellent!  I am a little bit hesitant to apply your patch as it is 
however since it adds target specific code to a file that is meant to be 
generic.  Could you investigate changing your patch so that it adds a 
new elf backend function which can be called when an undefined symbol is 
encountered and which allows individual backends to decide if the symbol 
can be ignored ?




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