On 11/03/2011 12:50 PM, Rainer Orth wrote: > This patch restores arm-none-eabi bootstrap, which had been broken by my > libgcc patches. They accidentally removed arm/t-bpabi in gcc/config.gcc > while the file is still needed for its addition to EXTRA_HEADERS. > > Matt confirmed in the PR that it restored bootstrap for him. > > Ok for mainline? > > Rainer > > > 2011-11-03 Rainer Orth <r...@cebitec.uni-bielefeld.de> > > PR target/50978 > * config/arm/t-bpabi: New file. > * config.gcc (arm*-*-linux*): Add arm/t-bpabi to tmake_file for > arm*-*-linux-*eabi. > (arm*-*-uclinux*): Add arm/t-bpabi to tmake_file for > arm*-*-uclinux*eabi. > (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi to tmake_file > for arm*-*-eabi*.
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. Matthias