https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94157

jiawei <jiawei at iscas dot ac.cn> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jiawei at iscas dot ac.cn

--- Comment #9 from jiawei <jiawei at iscas dot ac.cn> ---
I had run the regression on the RISC-V target, and get a ld warning:

`requires executable stack (because the .note.GNU-stack section is executable)`

Executing on host: /root/riscv-gnu-toolchain/build-gcc-newlib-stage2/gcc/xgcc
-B/root/riscv-gnu-toolchain/build-gcc-newlib-stage2/gcc/ c_lto_pr94157_0.o 
-march=rv64imafdc -mabi=lp64d -mcmodel=medlow   -fdiagnostics-plain-output  
-O0 -fipa-vrp -flto -Wa,--noexecstack -Wa,--noexecstack -Wa,--execstack 
-Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack
-Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack
-Wa,--execstack -Wa,--execstack -Wa,--execstack          -o
gcc-dg-lto-pr94157-01.exe    (timeout = 600)
spawn -ignore SIGHUP /root/riscv-gnu-toolchain/build-gcc-newlib-stage2/gcc/xgcc
-B/root/riscv-gnu-toolchain/build-gcc-newlib-stage2/gcc/ c_lto_pr94157_0.o
-march=rv64imafdc -mabi=lp64d -mcmodel=medlow -fdiagnostics-plain-output -O0
-fipa-vrp -flto -Wa,--noexecstack -Wa,--noexecstack -Wa,--execstack
-Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack
-Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack
-Wa,--execstack -Wa,--execstack -Wa,--execstack -o gcc-dg-lto-pr94157-01.exe^M
/opt/riscv/riscv64-unknown-elf/bin/ld: warning: /tmp/ccrEUuLH.ltrans0.ltrans.o:
requires executable stack (because the .note.GNU-stack section is executable)^M
FAIL: gcc.dg/lto/pr94157 c_lto_pr94157_0.o-c_lto_pr94157_0.o link,  -O0
-fipa-vrp -flto -Wa,--noexecstack -Wa,--noexecstack -Wa,--execstack 
-Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack
-Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack
-Wa,--execstack -Wa,--execstack -Wa,--execstack

Any suggestions?

Reply via email to