From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1039) id 641093858410; Sat, 13 Nov 2021 17:50:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 641093858410 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: H.J. Lu To: glibc-cvs@sourceware.org Subject: [glibc] Add a comment for --enable-initfini-array [BZ #27945] X-Act-Checkin: glibc X-Git-Author: H.J. Lu X-Git-Refname: refs/heads/master X-Git-Oldrev: afbf26492a5adccc4c4eda00eb588b0b79e4290a X-Git-Newrev: cbcd65c8b526555d9b98628338973f91f74002ad Message-Id: <20211113175028.641093858410@sourceware.org> Date: Sat, 13 Nov 2021 17:50:28 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Nov 2021 17:50:28 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=cbcd65c8b526555d9b98628338973f91f74002ad commit cbcd65c8b526555d9b98628338973f91f74002ad Author: H.J. Lu Date: Mon Nov 8 07:49:11 2021 -0800 Add a comment for --enable-initfini-array [BZ #27945] Document that --enable-initfini-array is enabled by default in GCC 12, which can be removed when GCC 12 becomes the minimum requirement. Diff: --- scripts/build-many-glibcs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index e8b9b213ca..6ae2172956 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -1445,7 +1445,9 @@ class Config(object): # checking support. libcilkrts does not support GNU/Hurd (and # has been removed in GCC 8, so --disable-libcilkrts can be # removed once glibc no longer supports building with older - # GCC versions). + # GCC versions). --enable-initfini-array is enabled by default + # in GCC 12, which can be removed when GCC 12 becomes the + # minimum requirement. cfg_opts = list(self.gcc_cfg) cfg_opts += ['--enable-initfini-array'] cfg_opts += ['--disable-libssp', '--disable-libcilkrts']