From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1B6D03858D3C; Sun, 10 Sep 2023 16:04:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1B6D03858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1694361861; bh=QARkCoDMn5b1vZmV9l9rRt1RStfusUzGz7JuOHzwF6o=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KwEAT5VWgh5BoWvgAU6dTtfl0FQjQQ2dVhXssxzTbuK5KiAJO0qmwndnDqsN386E1 p8/ktY8yGnTuvLX6GCnDG0Av2EMM5XerLRRiwmVC5Ni7CSI3OToXPm+yKuJOGKYYkS dJtdPpjPj2XDgyZurzAqHiwf8Ehx3OJX+HmaB3dI= From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/102665] ELF-specific configure flags should be rejected on non-ELF platforms Date: Sun, 10 Sep 2023 16:04:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: build, diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: egallager at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D102665 --- Comment #7 from Eric Gallager --- Making some more progress on this: https://github.com/gcc-mirror/gcc/compare/master...cooljeanius:gcc:me/PR102= 665 Some notes: - There are a lot of these; I'm not quite sure how many to include in a sin= gle patch, or where I should stop... - I'm currently testing platform based on target, but I'm not quite sure if that's correct? Are these target flags or host flags? - All I've done so far has been to test to make sure that the flags are properly rejected on platforms where they're unsupported; I'd appreciate it= if people could help with testing that they're still accepted on platforms whe= re they're supposed to be accepted, though...=