[Buildroot] Analysis of build failures
Vicente Olivert Riera
Vincent.Riera at imgtec.com
Wed Feb 26 11:06:44 UTC 2014
On 02/21/2014 09:08 AM, Thomas Petazzoni wrote:
>> mips | vlc-2.1.2 | NOK | http://autobuild.buildroot.net/results/95cac37ef8f035c024ebcd808367739c29875f30/
>
> /home/test/test/3/output/host/opt/ext-toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.3/../../../../mips-linux-gnu/bin/ld: ./.libs/libvlc_srtp.a(libvlc_srtp_la-srtp.o): relocation R_MIPS_26 against `div' can not be used when making a shared object; recompile with -fPIC
> ./.libs/libvlc_srtp.a(libvlc_srtp_la-srtp.o): could not read symbols: Bad value
> collect2: error: ld returned 1 exit status
>
> We have the same problem on x86-64: some vlc library is apparently not
> build with -fPIC. Could someone look into this?
>
> It has caused the last 3 build failures of vlc on mips:
>
> http://autobuild.buildroot.org/?reason=vlc-2.1.2&arch=mips&step=3
>
> and the four last build failures of vlc on x86-64:
>
> http://autobuild.buildroot.org/results/a53/a53ea017ec92150c7d37c0da0ca9a8dac75f460e/build-end.log
After compiling libgcrypt with -fPIC, the error has changed to this one:
/home/test/test/3/output/host/opt/ext-toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.3/../../../../mips-linux-gnu/bin/ld:
./.libs/libunzip.a(unzip.o): relocation R_MIPS_26 against `a local
symbol' can not be used when making a shared object; recompile with -fPIC
I don't know if this is an improvement or not, and I don't know what to
do next :/
Maybe someone else has more ideas.
--
Vincent
More information about the buildroot
mailing list