Matthias Klose <d...@ubuntu.com> writes: > still fails to build on arm-linux-gnueabi, configured with > --with-arch=armv7-a > --with-float=hard > --with-fpu=vfpv3-d16 > --with-mode=thumb > > /usr/bin/ld: emutls_s.o: relocation R_ARM_THM_MOVW_ABS_NC against > `pthread_cancel' can not be used when making a shared object; recompile with > -fPIC > emutls_s.o: could not read symbols: Bad value > collect2: error: ld returned 1 exit status > make[5]: *** [libgcc_s.so] Error 1 > make[5]: *** Waiting for unfinished jobs.... > ranlib libgcc.a > make[5]: Leaving directory > `/home/doko/gcc-snapshot-20111103/build/arm-linux-gnueabihf/libgcc' > make[4]: *** [all-stage1-target-libgcc] Error 2 > > emutls_s.o indeed isn't built with -fPIC (it is on the 4.6 branch); PICFLAG in > libgcc/Makefile is set but apparently not used.
Could you provide the exact command line (and perhaps an earlier 4.7 one, if that fails one from 4.6)? Thanks. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University