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

2005-11-21 Thread nickc at redhat dot com
--- 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.

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

2005-11-21 Thread Nick Clifton
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 cr