Bug 3295 - slang fails to build on mipsel
Summary: slang fails to build on mipsel
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2010.11
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-18 07:35 UTC by Thomas Petazzoni
Modified: 2011-02-25 14:25 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
Buildroot configuration file (22.38 KB, text/plain)
2011-02-18 07:36 UTC, Thomas Petazzoni
Details
slang: fix mips build failure (1.04 KB, patch)
2011-02-25 14:13 UTC, Gustavo Zacarias
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Petazzoni 2011-02-18 07:35:11 UTC
/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
Comment 1 Thomas Petazzoni 2011-02-18 07:36:27 UTC
Logfile at http://free-electrons.com/~thomas/pub/br-bugs/bug-3295.log.bz2
Comment 2 Thomas Petazzoni 2011-02-18 07:36:48 UTC
Created attachment 2989 [details]
Buildroot configuration file
Comment 3 Sérgio 2011-02-19 03:49:08 UTC
(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 ?
Comment 4 Gustavo Zacarias 2011-02-25 14:13:28 UTC
Created attachment 3025 [details]
slang: fix mips build failure
Comment 5 Peter Korsgaard 2011-02-25 14:25:52 UTC
Committed, thanks