[Bug target/105472] [13 regression] .note.GNU-stack breaks many Solaris/x86 tests
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105472 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING |RESOLVED --- Comment #8 from H.J. Lu --- Fixed.
[Bug target/105472] [13 regression] .note.GNU-stack breaks many Solaris/x86 tests
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105472 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:6b5ca56fec4f713add424a5131350b28ce81e9da commit r11-9976-g6b5ca56fec4f713add424a5131350b28ce81e9da Author: H.J. Lu Date: Fri May 6 10:55:53 2022 -0700 x86: Add .note.GNU-stack section only for Linux Add .note.GNU-stack section only for Linux since it may not be supported on non-Linux OSes. __ELF__ isn't checked since these tests can only run on Linux/x86 ELF systems. PR target/105472 * gcc.target/i386/iamcu/asm-support.S: Add .note.GNU-stack section only for Linux. * gcc.target/x86_64/abi/asm-support.S: Likewise. * gcc.target/x86_64/abi/avx/asm-support.S: Likewise. * gcc.target/x86_64/abi/avx512f/asm-support.S: Likewise. * gcc.target/x86_64/abi/ms-sysv/do-test.S: Likewise. (cherry picked from commit 71eae0fd3dd7a5f30067ea26a06a8774355fd5cc)
[Bug target/105472] [13 regression] .note.GNU-stack breaks many Solaris/x86 tests
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105472 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:ab8a8d053734d6abc6ee9c5bfb772ff95ba74fc9 commit r12-8363-gab8a8d053734d6abc6ee9c5bfb772ff95ba74fc9 Author: H.J. Lu Date: Fri May 6 10:55:53 2022 -0700 x86: Add .note.GNU-stack section only for Linux Add .note.GNU-stack section only for Linux since it may not be supported on non-Linux OSes. __ELF__ isn't checked since these tests can only run on Linux/x86 ELF systems. PR target/105472 * gcc.target/i386/iamcu/asm-support.S: Add .note.GNU-stack section only for Linux. * gcc.target/x86_64/abi/asm-support.S: Likewise. * gcc.target/x86_64/abi/avx/asm-support.S: Likewise. * gcc.target/x86_64/abi/avx512f/asm-support.S: Likewise. * gcc.target/x86_64/abi/avx512fp16/asm-support.S: Likewise. * gcc.target/x86_64/abi/avx512fp16/m256h/asm-support.S: Likewise. * gcc.target/x86_64/abi/avx512fp16/m512h/asm-support.S: Likewise. * gcc.target/x86_64/abi/ms-sysv/do-test.S: Likewise. (cherry picked from commit 71eae0fd3dd7a5f30067ea26a06a8774355fd5cc)
[Bug target/105472] [13 regression] .note.GNU-stack breaks many Solaris/x86 tests
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105472 --- Comment #5 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:71eae0fd3dd7a5f30067ea26a06a8774355fd5cc commit r13-276-g71eae0fd3dd7a5f30067ea26a06a8774355fd5cc Author: H.J. Lu Date: Fri May 6 10:55:53 2022 -0700 x86: Add .note.GNU-stack section only for Linux Add .note.GNU-stack section only for Linux since it may not be supported on non-Linux OSes. __ELF__ isn't checked since these tests can only run on Linux/x86 ELF systems. PR target/105472 * gcc.target/i386/iamcu/asm-support.S: Add .note.GNU-stack section only for Linux. * gcc.target/x86_64/abi/asm-support.S: Likewise. * gcc.target/x86_64/abi/avx/asm-support.S: Likewise. * gcc.target/x86_64/abi/avx512f/asm-support.S: Likewise. * gcc.target/x86_64/abi/avx512fp16/asm-support.S: Likewise. * gcc.target/x86_64/abi/avx512fp16/m256h/asm-support.S: Likewise. * gcc.target/x86_64/abi/avx512fp16/m512h/asm-support.S: Likewise. * gcc.target/x86_64/abi/ms-sysv/do-test.S: Likewise.
[Bug target/105472] [13 regression] .note.GNU-stack breaks many Solaris/x86 tests
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105472 --- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #3 from H.J. Lu --- > Created attachment 52935 > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52935=edit > A patch This fixed all the failures. Thanks.
[Bug target/105472] [13 regression] .note.GNU-stack breaks many Solaris/x86 tests
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105472 H.J. Lu changed: What|Removed |Added Status|NEW |WAITING
[Bug target/105472] [13 regression] .note.GNU-stack breaks many Solaris/x86 tests
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105472 --- Comment #3 from H.J. Lu --- Created attachment 52935 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52935=edit A patch
[Bug target/105472] [13 regression] .note.GNU-stack breaks many Solaris/x86 tests
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105472 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- I hope nobody cares about Linux a.out anymore. But #if defined(__ELF__) && defined(__linux__) .section .note.GNU-stack,"",@progbits .previous #endif is I think the most widely used way how to do it.
[Bug target/105472] [13 regression] .note.GNU-stack breaks many Solaris/x86 tests
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105472 --- Comment #1 from H.J. Lu --- (In reply to Rainer Orth from comment #0) > > The usual way throughout the code base is to guard .note.GNU-stack with > __ELF__ && __linux__ to avoid all this. Isn't checking __linux__ sufficient?
[Bug target/105472] [13 regression] .note.GNU-stack breaks many Solaris/x86 tests
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105472 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-05-04 Status|UNCONFIRMED |NEW CC||marxin at gcc dot gnu.org Ever confirmed|0 |1
[Bug target/105472] [13 regression] .note.GNU-stack breaks many Solaris/x86 tests
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105472 Rainer Orth changed: What|Removed |Added Target Milestone|--- |13.0