From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9AC693858C27; Tue, 2 Nov 2021 18:16:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9AC693858C27 From: "frankhb1989 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/100937] configure: Add --enable-default-semantic-interposition Date: Tue, 02 Nov 2021 18:16:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: frankhb1989 at gmail dot com 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: cc 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: Tue, 02 Nov 2021 18:16:29 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100937 frankhb1989 at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |frankhb1989 at gmail dot c= om --- Comment #7 from frankhb1989 at gmail dot com --- While I feel it is fair to keep the status quo, the decision here deserves = some additional comments. It is true that potability is generally important, but the current way here= is actually not friendly to potability. GCC and the GNU toolchain are not ELF-specific. Nor are they responsible to= the authority of the specification. The "ELF assumptions" have no natural posit= ion to be the default at the very first glance from the users' view. So the "portability" certainly include the ease of porting the programs to different targets with different image formats back and forth. Sticking on = the ELF-centric defaults already fails (by reducing the platform-specific differences) if users want to really gain more portability, at least for PE/COFF targets (which do not support such interposition at all). Although it is somewhat reasonable to distinguish platforms supporting symb= ol interposition as first-class ones (same to the current "primary platforms"), but this still seems technically weak. Perhaps a more appropriate phrase for the reason is "backward compatibility= ".=