[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: 13 Nov 2005 17:49:45 -0000

------- Additional Comments From michael at weiser dot dinsnail dot net  
2005-11-13 17:49 -------
Created an attachment (id=756)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=756&action=view)
patch to make a mips-sgi-irix6.5 cross ld work for above test case

The above test case works "fine" with a native mips-sgi-irix6.5 binutils ld on
irix 6.5.28 in that ld will run and produce an "undefined reference to 'os'"
error message. On Mac OS X 10.3 my cross ld gives an error message:

ld -melf64bmip -rpath `pwd` -L`pwd` -o ot-noopt-bu start.o otm.o  -lot 
ld: BFD 2.16.1 assertion fail elfxx-mips.c:5716

I circumvented this using the attached patch.

I'm puzzled by the fact that it works with a native ld on irix, which is why I
think it's some kind of platform specific or even optimization bug. It
shouldn't really be an endianess bug since the MIPS R10000 as well as the
PowerPC G4 are big endian by default. I haven't tested this on an Intel

Would this be worth its own PR?



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