/home/test/toolchains/br-mipsel-full/usr/bin/mipsel-linux-gcc --sysroot=/home/test/outputs/test-379/host/usr/mipsel-unknown-linux-uclibc/sysroot -o libslang.so -shared -Wl,-soname,libslang.so.1 sldisply.o slerr.o slgetkey.o slmisc.o slsignal.o slsmg.o sltermin.o slutty.o slcurses.o slkeypad.o slkeymap.o slstring.o slmemcmp.o /home/test/toolchains/br-mipsel-full/usr/bin/../lib/gcc/mipsel-unknown-linux-uclibc/4.4.4/../../../../mipsel-unknown-linux-uclibc/bin/ld: sldisply.o: relocation R_MIPS_HI16 against `a local symbol' can not be used when making a shared object; recompile with -fPIC sldisply.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [libslang.so] Error 1 make[1]: Leaving directory `/home/test/outputs/test-379/build/slang-1.4.5' make: *** [/home/test/outputs/test-379/build/slang-1.4.5/.stamp_built] Error 2
Logfile at http://free-electrons.com/~thomas/pub/br-bugs/bug-3295.log.bz2
Created attachment 2989 [details] Buildroot configuration file
(In reply to comment #0) > /home/test/toolchains/br-mipsel-full/usr/bin/../lib/gcc/mipsel-unknown-linux-uclibc/4.4.4/../../../../mipsel-unknown-linux-uclibc/bin/ld: > sldisply.o: relocation R_MIPS_HI16 against `a local symbol' can not be used > when making a shared object; recompile with -fPIC > sldisply.o: could not read symbols: Bad value > collect2: ld returned 1 exit status > make[1]: *** [libslang.so] Error 1 I also see (on mipsel) this "compile error", also have other "compile error" with metacity if you want checkout ?
Created attachment 3025 [details] slang: fix mips build failure
Committed, thanks