Bug#861085: [gcc-6] gcc-6 can't compile mixed-bitness code

2017-05-15 Thread Dmitry Safonov
Hi, I've reproduced it on kernel x86 selftests. To do it, run: $ cd linux/tools/testing/selftests/x86 $ make `pwd`/sysret_ss_attrs_64 Which results in the same error: root@x86-64-debian:~/x86# make /root/linux/tools/testing/selftests/x86/sysret_ss_attrs_64 gcc -m64 -o /root/linux/tools/testing

Bug#861085: [gcc-6] gcc-6 can't compile mixed-bitness code

2017-04-24 Thread Kirill Tkhai
Package: gcc-6 Version: 6.3.0-14 Severity: normal Dear maintainer, in attached file you can see the code from CRIU project. gcc-6 fails to compile it, while gcc-4.9 has no such problem. $ gcc-6 call32.S /usr/bin/ld: /tmp/cczRnuRR.o: relocation R_X86_64_32S against `.text' can not be used wh