From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3D0993895FDF; Mon, 5 Dec 2022 09:19:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3D0993895FDF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670231964; bh=Fa7cU66BPRQ/QeaXstzLeljBsFwF3DUfvuhNura3HR8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wHvgEW1irf9wUkBslmWp0m5vCGtvLy/0J83IU2YCF1v0RoTM/bfEXaes82dApiat9 qXt1ZbusAYgwvYLzNlecI4dQSJIKOD7Zn6BnG4Z7BGt8ZSng2ZW8ujTwIsXL4dg3/V 0FEMCN6X/PbJCBl9GanOyNazLWHxA1WlmTgLzy/w= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/107971] linking an assembler object creates an executable stack Date: Mon, 05 Dec 2022 09:19:24 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107971 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX Status|UNCONFIRMED |RESOLVED --- Comment #1 from Andrew Pinski --- Gcc just invokes the assembly. The problem is legacy assembly code might st= ill use an executable stack. Best way to fix this is for you to add the option. There is nothing gcc is going to change to be different here. Also the assembler is not part of gcc. Most likely you are using gnu binuti= ls.=