From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D33553877027; Sun, 15 Mar 2020 13:25:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D33553877027 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1584278719; bh=NHTq0ozDfO4PMh3RowqBuyOIugn+d5uHcpo2w9n5okk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=x3pdkisyOXGwTtAlf8RBtX+sOrLc0P0Q+arqXxXpqL3QFpIcbXQ7yjXkDiWXPVMw4 On8yfEvxjscXeHtfpfVD9hSL4j3aUA6nPWfttNP/QX2kpJtjRX5h8FLUdtXTZ8KBlJ N6MEy5MjY3crarUgN/d+BjROkQhUMepbDi3BYSZ4= From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/94157] [10 Regression] error: lto-wrapper failed with -Wa,--noexecstack -Wa,--noexecstack since r10-6807-gf1a681a174cdfb82 Date: Sun, 15 Mar 2020 13:25:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Mar 2020 13:25:19 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94157 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |ro at gcc dot gnu.org Resolution|FIXED |--- --- Comment #6 from Rainer Orth --- 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,--execs= tack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execs= tack -Wa,--execstack -Wa,--execstack=20 +UNRESOLVED: gcc.dg/lto/pr94157 c_lto_pr94157_0.o-c_lto_pr94157_0.o execute= =20 -O0 -fipa-vrp -flto -Wa,--noexecstack -Wa,--noexecstack -Wa,--execstack=20 -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execs= tack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execs= tack -Wa,--execstack -Wa,--execstack -Wa,--execstack=20 +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=20 -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execs= tack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execs= tack -Wa,--execstack -Wa,--execstack -Wa,--execstack=20 /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 suppo= ring --execstack/--noexecstack.=