[Bug lto/94157] New: [10 Regression] error: lto-wrapper failed with -Wa,--noexecstack -Wa,--noexecstack
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 12 18:28:16 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94157
Bug ID: 94157
Summary: [10 Regression] error: lto-wrapper failed with
-Wa,--noexecstack -Wa,--noexecstack
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: marxin at gcc dot gnu.org
Target Milestone: ---
Using gcc10 package I see a strange error:
$ echo "int main() {}" > x.c
$ gcc -flto -c x.c
$ gcc -Wa,--noexecstack -Wa,--noexecstack x.o
/usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld:
error: lto-wrapper failed
collect2: error: ld returned 1 exit status
$ gcc -Wa,--noexecstack x.o
[fine]
I can't reproduce that with locally built GCC and gcc9 package seems fine.
More information about the Gcc-bugs
mailing list