[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#861085: closed by Matthias Klose <doko@debian.org> (Re: [gcc-6] gcc-6 can't compile mixed-bitness code)



>closing as invalid. I think this has nothing to do with mixed bitness. The
>debian gcc defaults to pie by default. Turning off pie should work for you.

What is "turning off pie"? Do you mean the following?

$ gcc-6 -fno-pie  call32.S 
/usr/bin/ld: /tmp/ccgn5qfa.o: relocation R_X86_64_32S against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status


Reply to: