From patchwork Mon Nov 8 15:50:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 47221 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B1F493858020 for ; Mon, 8 Nov 2021 15:51:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B1F493858020 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1636386664; bh=fgL9+2o4cDtRRYeO0ZZm9r/JVxwAMTMpZAMwwSlmAFg=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=HkcKTBgQYSpRMBll23lc/EuyzoHhPXzm88PzlP6Fox29ZH+X24L80IKZqxo47ZAJw g9Wio7O8nYgERjYT52RXqQQ+VwQuADjMxvhF189G+rXcuQWVWvPtBXfmtvU/wBL9t9 L0qO0zQ1Y18ZdmVpxj2TUAtl31CHsBehKou9Bw0M= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by sourceware.org (Postfix) with ESMTPS id 4E3083858D3C for ; Mon, 8 Nov 2021 15:50:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4E3083858D3C Received: by mail-pg1-x531.google.com with SMTP id q126so11557400pgq.13 for ; Mon, 08 Nov 2021 07:50:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fgL9+2o4cDtRRYeO0ZZm9r/JVxwAMTMpZAMwwSlmAFg=; b=2+okWxQ8P6T+yUk5bvVRiVGDDp6Ucv5BJSm7/WwD3VeoipFkKo9jE186ympayrKvC0 MVdMAau4o1MHOD0eSHG1h+Wbz6MlTJ8WHSyYTKh8iVrMA1WIKV6jWzjEBtW1S4CP/Q8h paTmqZCG5lyEpXZeBvw03Sjb9emZXCpJVxWfv95NfkQB3ZX7cJPQf8tySWw5i6MGDiQZ o7fElKSK0ibpdWBD6fxTR/N6yeR4sghnOJUbJtdaoN2K70HG37mPkUasSshT+R1I9y0O EtDVTq5JQ+lJa3Bdf8su3kf9DgApePIvlC1sXlDXJyQIaazggMSuzAR6Sj3+m8X0pvIC RxCg== X-Gm-Message-State: AOAM530GV9t1JSktks7P2IVIv3ch5gisfI1Ga3XDNpi7Yh+gNeP7oJ5A ctUIFeeQzfz/491pgQ84/7Anx+4R9Mg= X-Google-Smtp-Source: ABdhPJyPFw+iWy+o3GAth6rWaYKa3c4ns9VM6ClI8oogd9+XxlbVkp/qXIiq4ldXjOT4QnPOVfhrGg== X-Received: by 2002:a62:150e:0:b0:49f:9a61:962f with SMTP id 14-20020a62150e000000b0049f9a61962fmr154001pfv.58.1636386642382; Mon, 08 Nov 2021 07:50:42 -0800 (PST) Received: from gnu-cfl-2.localdomain ([172.58.35.133]) by smtp.gmail.com with ESMTPSA id k91sm4402048pja.19.2021.11.08.07.50.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Nov 2021 07:50:42 -0800 (PST) Received: from gnu-cfl-2.lan (localhost [IPv6:::1]) by gnu-cfl-2.localdomain (Postfix) with ESMTP id 184E01A0142; Mon, 8 Nov 2021 07:50:41 -0800 (PST) To: libc-alpha@sourceware.org Subject: [PATCH] Add a comment for --enable-initfini-array [BZ #27945] Date: Mon, 8 Nov 2021 07:50:41 -0800 Message-Id: <20211108155041.168422-1-hjl.tools@gmail.com> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 X-Spam-Status: No, score=-3030.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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-Patchwork-Original-From: "H.J. Lu via Libc-alpha" From: "H.J. Lu" Reply-To: "H.J. Lu" Cc: Joseph Myers Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" Document that --enable-initfini-array is enabled by default in GCC 12, which can be removed when GCC 12 becomes the minimum requirement. --- 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 aa27a349b6..61b9854e73 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -1450,7 +1450,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']