From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by sourceware.org (Postfix) with ESMTPS id 830A3399C8A1 for ; Wed, 9 Jun 2021 18:02:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 830A3399C8A1 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com IronPort-SDR: dcehBH0jSrpHGRTnkoCFbY9Nkn3ilmTUDzxeZtIPI501LTIMxr9UB6SVVtdZDsjKRsSteoY9n6 CTzoz+sEqvAUrLl3NDLJvZzScUtuB0wwXeFNdPjDqd9l5D+bBKQy+Kdk1QoMH/RW2JVSwYtOJu RKkHCKGuDrivECOF5vbFkYK+ZBBak/NuqPQYGzkil1m49BDQXMxsy3V2WIkm2rxk2s9SDt0ts+ oKIJlUgz6wZmB336kBWIUJKpiMIwQ9jI+tqXa9YoYdnnUcEUm5azHySkPXsNijVfkXUxrVRMoT iuA= X-IronPort-AV: E=Sophos;i="5.83,261,1616486400"; d="scan'208";a="62195534" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa2.mentor.iphmx.com with ESMTP; 09 Jun 2021 10:02:28 -0800 IronPort-SDR: aiDKOqp8uf32+4lWt2ChBbNqpV3rsghKi8D/W6ViYvkz9q6L2pT0Z3lpYi6vZiesc5byuwCPAu wipuqfphohvHeWjAwzktLGJILR3mNh4mWh34nxKAC2QbJdISp5L0tdZjlZEoJoeZGEc+eCsMbp /uqTw4kp89fwehCpaqmhCqp+uAFMPKcMfbcrz+XPQuMc2GzLYwSCGfkMFNtRRpQQT/RSQAf1n0 p5MRG+/FntbLDBexyQPPlFbd39895p7FH7fXJ1vFuOdki60mIScHkjqdXCdhWb/lHx7mAEAAcx jEY= Date: Wed, 9 Jun 2021 18:02:23 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: "H.J. Lu" CC: GNU C Library Subject: Re: [PATCH] Configure GCC with --enable-initfini-array [BZ #27945] In-Reply-To: Message-ID: References: <20210609122916.3884385-1-hjl.tools@gmail.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-09.mgc.mentorg.com (139.181.222.9) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-3121.1 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2021 18:02:30 -0000 On Wed, 9 Jun 2021, H.J. Lu via Libc-alpha wrote: > I disagree. The behavior of the cross compiler should be as close to the native > Linux system compiler, not other versions of cross compilers, as possible. But fixing that was the point of your GCC patch. I don't think working around deficiencies in previous versions of GCC, that aren't necessary to work around for building glibc, is within scope for build-many-glibcs.py; it's enough that the bug (cross compiler different from native) was fixed in the logically correct place (in GCC, for future GCC releases). -- Joseph S. Myers joseph@codesourcery.com