[Bug lto/94157] [10 Regression] error: lto-wrapper failed with -Wa,--noexecstack -Wa,--noexecstack since r10-6807-gf1a681a174cdfb82

ro at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 15 13:25:19 GMT 2020


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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |ro at gcc dot gnu.org
         Resolution|FIXED                       |---

--- Comment #6 from Rainer Orth <ro at gcc dot gnu.org> ---
The new test FAILs on (at least) Solaris with the native assembler (and
probably
others like Darwin and HP-UX):

+FAIL: gcc.dg/lto/pr94157 c_lto_pr94157_0.o assemble,  -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 
+UNRESOLVED: gcc.dg/lto/pr94157 c_lto_pr94157_0.o-c_lto_pr94157_0.o execute 
-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 
+UNRESOLVED: 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 

/usr/ccs/bin/as: error: unknown option '-'^M
/usr/ccs/bin/as: error: unknown option '-'^M
/usr/ccs/bin/as: error: unknown option 'e'^M
/usr/ccs/bin/as: error: unknown option 'xecstack'^M
/usr/ccs/bin/as: error: unknown option '-'^M
/usr/ccs/bin/as: error: unknown option 'e'^M
/usr/ccs/bin/as: error: unknown option 'xecstack'^M
[...]

Either use something portable here or restrict the test to assemblers supporing
--execstack/--noexecstack.


More information about the Gcc-bugs mailing list