[Bug lto/94157] [10 Regression] error: lto-wrapper failed with -Wa,--noexecstack -Wa,--noexecstack since r10-6807-gf1a681a174cdfb82
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 12 18:36:08 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94157
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[10 Regression] error: |[10 Regression] error:
|lto-wrapper failed with |lto-wrapper failed with
|-Wa,--noexecstack |-Wa,--noexecstack
|-Wa,--noexecstack |-Wa,--noexecstack since
| |r10-6807-gf1a681a174cdfb82
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r10-6807-gf1a681a174cdfb82. One can reproduce with:
$ gcc foo.c -c -flto && gcc -fPIE -Wa,--noexecstack -Wa,--noexecstack foo.o -o
a.out -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
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
==14211== Invalid write of size 1
==14211== at 0x483B98C: strcat (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==14211== by 0x408A08: run_gcc(unsigned int, char**) (lto-wrapper.c:1320)
==14211== by 0x4057C5: main (lto-wrapper.c:1981)
==14211== Address 0x1fff001000 is not stack'd, malloc'd or (recently) free'd
More information about the Gcc-bugs
mailing list