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.