From patchwork Wed Dec 4 22:11:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 102445 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 763403858C60 for ; Wed, 4 Dec 2024 22:14:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 763403858C60 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=feVrzQny X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32]) by sourceware.org (Postfix) with ESMTPS id 27DF93858D21 for ; Wed, 4 Dec 2024 22:11:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 27DF93858D21 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 27DF93858D21 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::b32 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1733350303; cv=none; b=osJRCEYjc+stqj0D/Wdr+R/S3stWFn2jKl+kktp1FSRgDvVZF0BmZzcHMVLekIhCfwbtV6nQPLJ1oEfauTDmMiBB5UNFNw/DaLYjyeUD6RGeQ7vneNr9yOte4QMaplMCbwWZokfe0yoqdgzBGwvJYK4qZS+5IGedFKAouHW9LfY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1733350303; c=relaxed/simple; bh=toPxod0AtGkL///KlUE/RN/4yiZJ/IvlRjrZTvMERUo=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=Hte0W7+abNtAfsdcseL7YIZjP5CwtmSRz9LVyjrkfwrEPL1FFuJseZR/7uyeuHZ5m1Rv+aTJFxrh2DL1btMZ4dQBfa3xg1mPy2sg2N7sf7rcAskI0sbQfK4fHy7kdHS660mwq+CXBoqQ2tcYyPbtW8WSmu5Vnsb075AtzMkWmiQ= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 27DF93858D21 Received: by mail-yb1-xb32.google.com with SMTP id 3f1490d57ef6-e388503c0d7so418551276.0 for ; Wed, 04 Dec 2024 14:11:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733350297; x=1733955097; darn=sourceware.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=1nTUKQQnsk4K+trxUmY6GWgKxL8Q0mOUUzAL1pZtP8M=; b=feVrzQnyO2b275KcYTG9w8HFH8NTEcUHgH+7Qz9rL849e2qZNA6QJrTyhyDCFEA5G+ PFFfTmz5oZaeHwggJkp5yJ781RuJ5tJRhvoYA2Bt3Z1lJIttLZar17FCBcbM4PLPRxsB fxJZx7LTYRiDbqdZTPAohIe1IIJz+ww3AEWEEc4JwTTilGZFofS1AElydsIPLeKtGCTV fCiHgvoP2ZsMHQxtFXOUHTs/Llv6LyGK9wbiiSID542ynOmg1tmYVXiQopFHLsQZC70N /6nwY1QgZWOPWeIGPS0KRg8RWvO+xP7vTcnsHJ5vz9ORKjWOFmX5f6GrzdE/AQY7ogoA z08g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733350297; x=1733955097; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=1nTUKQQnsk4K+trxUmY6GWgKxL8Q0mOUUzAL1pZtP8M=; b=o6g1Ka31QExE3Q4KOZ3poD8XVvucqOlsDef0RYI/qx9GfqSoHokU+6SJOoZZph0jH5 PKStaoKtoNtCFzA11e8olxXPNXAUCExBD1JIxjt2XxdW3tNSpGPJExfARd61Rf5H6VEC n+B2bA/fc0oKPoV6pwdmgSCi6hrWU7xy/D+xdwsa/SGQwXmQbCCRlpReo/kq03S2gQ3L E12XPen25Unzwc8k+WDRcekla8jmmDkDI6CjjgeIL2LjBC6vRx1eASAEVxnS/x9xTL1k Zvk9q48QQHj9dvADJJfCWYQ2I759twtzG+DuanCYbWf72GHgo5p4S1rtGJ3OKp9jbaz7 WJCQ== X-Gm-Message-State: AOJu0Yxc3ugAUf2+hNaIni33d/HcOkTEGKtbt8FDzsAOlJcCOWGpPtOv h48D4e6+j1yzyUZxEjc2lh/SGDB33AWEeUDImnqURvcpPXfh+Z3zI2JTJOOYgdF4CuauWhTnw6M czNKfU+wKG0KYwLjz2cIon7zaOOM98e4Pf+k3ygyyKC4= X-Gm-Gg: ASbGnctseO+LxnuYbDriChIadtBThfx/6D+jrS2cAHHaqWyx1Zq54ZOdTg1m7s19ohj aT+LpviX8DVDk1J1uSNsj7TKlwE9s37g= X-Google-Smtp-Source: AGHT+IE4ghqci/ro5TjiBxDADCop9X3WDoDpkinL+I6bdLAAnQ32VcYjfMzqbqURm+TwEAqTcczbxUP7Dvy0Yd2GJJY= X-Received: by 2002:a05:690c:6a07:b0:6ef:6448:bade with SMTP id 00721157ae682-6efad32b0d3mr105130857b3.36.1733350297230; Wed, 04 Dec 2024 14:11:37 -0800 (PST) MIME-Version: 1.0 From: "H.J. Lu" Date: Thu, 5 Dec 2024 06:11:01 +0800 Message-ID: Subject: [PATCH] Raise the minimum GCC version to GCC 7.1 [BZ #32414] To: GNU C Library , Sunil K Pandey , Joseph Myers X-Spam-Status: No, score=-3016.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~patchwork=sourceware.org@sourceware.org commit 776938e8b8dcf2b59998979e91cc0f9db7d771a8 Author: Joseph Myers Date: Wed Dec 4 20:04:04 2024 +0000 Implement C23 sinpi doesn't build with GCC 6: ... ./s_cospi_template.c: In function ‘__cospif128’: ./s_cospi_template.c:29:27: error: invalid suffix "f128" on floating constant x = M_FABS (x - M_MLIT (2.0) * M_SUF (round) (M_LIT (0.5) * x)); ^ ../sysdeps/generic/math-type-macros-float128.h:31:19: note: in definition of macro ‘M_MLIT’ #define M_MLIT(c) c ## f128 ^ Also tst-strtod5.c and tst-strtod5i.c can't build with GCC 6. Raise the minimum GCC version to GCC 7.1. This fixes BZ #32414. From 67533d86adf24eed7186622873f2097946e2d97f Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 5 Dec 2024 06:03:37 +0800 Subject: [PATCH] Raise the minimum GCC version to GCC 7.1 [BZ #32414] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit commit 776938e8b8dcf2b59998979e91cc0f9db7d771a8 Author: Joseph Myers Date: Wed Dec 4 20:04:04 2024 +0000 Implement C23 sinpi doesn't build with GCC 6: ... ./s_cospi_template.c: In function ‘__cospif128’: ./s_cospi_template.c:29:27: error: invalid suffix "f128" on floating constant x = M_FABS (x - M_MLIT (2.0) * M_SUF (round) (M_LIT (0.5) * x)); ^ ../sysdeps/generic/math-type-macros-float128.h:31:19: note: in definition of macro ‘M_MLIT’ #define M_MLIT(c) c ## f128 ^ Also tst-strtod5.c and tst-strtod5i.c can't build with GCC 6. Raise the minimum GCC version to GCC 7.1. This fixes BZ #32414. Signed-off-by: H.J. Lu --- INSTALL | 4 ++-- manual/install.texi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/INSTALL b/INSTALL index 24e3c8d25b..c1c04f16f6 100644 --- a/INSTALL +++ b/INSTALL @@ -482,9 +482,9 @@ build the GNU C Library: As of release time, GNU 'make' 4.4.1 is the newest verified to work to build the GNU C Library. - * GCC 6.2 or newer + * GCC 7.1 or newer - GCC 6.2 or higher is required. In general it is recommended to use + GCC 7.2 or higher is required. In general it is recommended to use the newest version of the compiler that is known to work for building the GNU C Library, as newer compilers usually produce better code. As of release time, GCC 14.1 is the newest compiler diff --git a/manual/install.texi b/manual/install.texi index 3e68a3d823..b1133a2f76 100644 --- a/manual/install.texi +++ b/manual/install.texi @@ -522,9 +522,9 @@ As of release time, GNU @code{make} 4.4.1 is the newest verified to work to build @theglibc{}. @item -GCC 6.2 or newer +GCC 7.1 or newer -GCC 6.2 or higher is required. In general it is recommended to use +GCC 7.2 or higher is required. In general it is recommended to use the newest version of the compiler that is known to work for building @theglibc{}, as newer compilers usually produce better code. As of release time, GCC 14.1 is the newest compiler verified to work to build -- 2.47.1