On Sun, Jun 5, 2016 at 11:36 PM, YunQiang Su <wzss...@gmail.com> wrote: > On Sun, Jun 5, 2016 at 8:08 AM, Matthias Klose <d...@debian.org> wrote: >> Package: src:gcc-6 >> Version: 6.1.1-5 >> Severity: serious >> >> The patch applied in 6.1.1-5 to build libgnat* as target instead of host >> libraries breaks native builds. >> >> on powerpc: >> >> /usr/bin/powerpc-linux-gnu-ld: cannot find -latomic >> collect2: error: ld returned 1 exit status >> Makefile:195: recipe for target 'gnatlink-static' failed >> make[4]: *** [gnatlink-static] Error 1 >> make[4]: *** Waiting for unfinished jobs.... >> >> on amd64, when configured with --enable-default-pie: >> >> /usr/bin/x86_64-linux-gnu-ld: ../gcc/libcommon-target.a(prefix.o): relocation >> R_X86_64_32 >> against `.rodata.str1.1' can not be used when making a shared object; >> recompile >> with -fP >> IC >> ../gcc/libcommon-target.a: error adding symbols: Bad value >> collect2: error: ld returned 1 exit status >> Makefile:209: recipe for target 'gnatmake-static' failed >> make[4]: *** [gnatmake-static] Error 1 >> make[4]: Leaving directory '/«PKGBUILDDIR»/build/gnattools' >> Makefile:11407: recipe for target 'all-gnattools' failed >> make[3]: *** [all-gnattools] Error 2 >> >> on s390x, when configured with --enable-default-pie: > > I only noticed the failure on sparc64 and powerpc. > Did you pop up the patches?
I see. You means ftbfs when --enable-default-pie, and it is enabled for Ubuntu by default now. > > -- > YunQiang Su -- YunQiang Su