Re: -current build.sh -m cobalt fails
Antti Kantee <[email protected]> Mon, 30 Nov 2009 10:50:14 +0200
| Newsgroups | gmane.os.netbsd.current,gmane.os.netbsd.ports.cobalt |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Nov 29, 2009 at 02:46:44PM +0100, Markus W Kilbinger wrote: > Hi! > > Crosscompiling -current/cobalt on my -current/amd64 machine fails at: > > build librump/librump.so.0.0 > /usr/u/NetBSD/HEAD/tools-cobalt/lib/gcc/mipsel--netbsd/4.1.3/../../../../mipsel--netbsd/bin/ld: librump.a(ptree.o): relocation R_MIPS_HI16 against `a local symbol' can not be used when making a shared object; recompile with -fPIC > librump.a(ptree.o): could not read symbols: Bad value > collect2: ld returned 1 exit status > > What am I missing? You're missing the antidote for some compiler flags I added on Friday (antidote was committed last night).