In ada-gnattools-cross.diff, there are 3 lines, like this: +# We will use the just-built compiler to compile and link everything. +GCC=../gcc/xgcc -B../gcc/ +GXX=../gcc/xg++ -B../gcc/
adding -no-pie option for GCC and GXX will make gcc-6 buildable with --enable-default-pie option on amd64 platform. I have no other machines to test it on other platform. Maybe you can test it on you PPA. aka, modified to: +# We will use the just-built compiler to compile and link everything. +GCC=../gcc/xgcc -B../gcc/ -no-pie +GXX=../gcc/xg++ -B../gcc/ -no-pie On Mon, Jun 6, 2016 at 12:36 AM, Matthias Klose <d...@debian.org> wrote: > On 05.06.2016 17:46, YunQiang Su wrote: >> I see. You means ftbfs when --enable-default-pie, >> and it is enabled for Ubuntu by default now. > > yes, but see the debian-devel ML about turning this on. I haven't yet checked > if the s390x issue really is related to that (it shows up there as a segfault, > different than on amd64). > -- YunQiang Su