From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by sourceware.org (Postfix) with ESMTPS id 613C03858D1E for ; Tue, 20 Dec 2022 04:02:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 613C03858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-x32b.google.com with SMTP id z8-20020a05600c220800b003d33b0bda11so213231wml.0 for ; Mon, 19 Dec 2022 20:02:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=list-id:mime-version:subject:message-id:cc:to:date:from:from:to:cc :subject:date:message-id:reply-to; bh=ReSRm1OVSWA7YV8iHr+dRZpz1n7yaQRkckbbEL5j1xU=; b=o7Q7oEuHGz7gxXcZuecgrZsVyB+o1XbTZrbvxnqkqzEjUDCb2F8pw6RTvb2tmaXbJg GLetAr1bNQj+b9PJrwa9fWyzZI+fAgThW2pbkpsbIwDuP0OZGALIZN2lAr6v4OqWr92+ ggcTLwb5ZKliMyxzqlTJYECXa0XGcsbMcUn5KBCSQ9bNsJb96pgf6NxeaXWEJJacuF0F JNahxtFL3L5V6WOb3FxDlRkGUHTtUUe8GncDq7AO92T/l/qblxgjlvq6T/C+8BopueS2 E+TMD6NUSZY43JTGHWn0bePrFPV16WMAnzHcZVFBvDIOVWJvEyIpsM/GrMR7jMtUiSs9 ZeSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-id:mime-version:subject:message-id:cc:to:date:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ReSRm1OVSWA7YV8iHr+dRZpz1n7yaQRkckbbEL5j1xU=; b=cHpcQWji+R4ylgWpQ/L2retYZQwTpSyoilSDbnTMTKHYkubF5nsdnTT4HiBXdP3idN FoitkXmYj2eeSqdD6kzxsVr5+9hNNwelIScszi7KdChVTkM01PMKSeDzr81rcavVJ+v6 2jm/M6lqx3Ks2hLfEWtpMSoFucsg+YnkoZ0iW7J/wqme35J/xGaNoEP1imaPIzui0tPc cHpGVRVJzcUWvlDUAp4KiTU7yKfDkNuWLyMroDG0H++ka8XtmS+V/O4CaAQ0HBmvpHMf aZNfSIiU0JX8wOka5HFsMsQ3sdQ+dHKTdrpY6ovh80IslLUmVGlcisDm6OLZk1X2a2xa bvoA== X-Gm-Message-State: AFqh2kruXUzYg82p6vmTIXQsCYkkfjLmp3bBoGQuFa/d6mvpLiU3eppJ vP2cXaEFEjlgsr0IXqEsdHkLeA== X-Google-Smtp-Source: AMrXdXvq+l2Z9sMKatSAJowa77SjLxdS3yqwNCVTvOgeMJH9ZHPBGlCx+LnjOQxesy9i18OMRMEpyg== X-Received: by 2002:a05:600c:5563:b0:3d5:365b:773e with SMTP id ja3-20020a05600c556300b003d5365b773emr538522wmb.39.1671508927920; Mon, 19 Dec 2022 20:02:07 -0800 (PST) Received: from jenkins.jenkins (ci.linaro.org. [88.99.136.175]) by smtp.gmail.com with ESMTPSA id j6-20020a05600c1c0600b003b4ff30e566sm263550wms.3.2022.12.19.20.01.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Dec 2022 20:02:01 -0800 (PST) From: ci_notify@linaro.org X-Google-Original-From: linaro-infrastructure-errors@lists.linaro.org Date: Tue, 20 Dec 2022 04:01:51 +0000 (UTC) To: Jason Merrill Cc: gcc-regression@gcc.gnu.org Message-ID: <1591332807.3672.1671508921293@jenkins.jenkins> Subject: [TCWG CI] Failure after basepoints/gcc-13-4795-g263c22a95bc: build: add -Wconditionally-supported to strict_warn [PR64867] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_3671_1788614638.1671508911647" X-Jenkins-Job: TCWG Build tcwg_gcc_bootstrap/master-aarch64-bootstrap X-Jenkins-Result: SUCCESS List-ID: X-Spam-Status: No, score=-13.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 ------=_Part_3671_1788614638.1671508911647 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Failure after basepoints/gcc-13-4795-g263c22a95bc: build: add -Wconditionally-supported to strict_warn [PR64867]: Results changed to -10 # true: 0 # build_abe binutils: 1 # build_abe bootstrap: # FAILED # First few build errors in logs: # 00:05:17 make[3]: [Makefile:1817: aarch64-unknown-linux-gnu/bits/largefile-config.h] Error 1 (ignored) # 00:05:17 make[3]: [Makefile:1818: aarch64-unknown-linux-gnu/bits/largefile-config.h] Error 1 (ignored) # 00:10:16 /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/gcc/sort.cc:245:11: error: casting between pointer-to-function and pointer-to-object is conditionally-supported [-Werror=conditionally-supported] # 00:10:16 /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/gcc/sort.cc:268:39: error: casting between pointer-to-function and pointer-to-object is conditionally-supported [-Werror=conditionally-supported] # 00:10:17 make[3]: *** [Makefile:2850: build/sort.o] Error 1 # 00:10:25 make[2]: *** [Makefile:5013: all-stage2-gcc] Error 2 # 00:10:25 make[1]: *** [Makefile:25763: stage2-bubble] Error 2 # 00:10:25 make: *** [Makefile:1080: all] Error 2 from -10 # true: 0 # build_abe binutils: 1 # build_abe bootstrap: 2 THIS IS THE END OF INTERESTING STUFF. BELOW ARE LINKS TO BUILDS, REPRODUCTION INSTRUCTIONS, AND THE RAW COMMIT. For latest status see comments in https://linaro.atlassian.net/browse/GNU-692 . Status of basepoints/gcc-13-4795-g263c22a95bc commit for tcwg_gcc_bootstrap: commit 263c22a95bc9a0d80c4873c0291b0f938cea7310 Author: Jason Merrill Date: Mon Dec 5 10:00:31 2022 -0500 build: add -Wconditionally-supported to strict_warn [PR64867] The PR (which isn't resolved by this commit) pointed out to me that GCC should build with -Wconditionally-supported to support bootstrapping with a C++11 compiler that makes different choices. PR c++/64867 gcc/ChangeLog: * configure.ac (strict_warn): Add -Wconditionally-supported. * configure: Regenerate. * master-aarch64-bootstrap ** Failure after basepoints/gcc-13-4795-g263c22a95bc: build: add -Wconditionally-supported to strict_warn [PR64867]: ** https://ci.linaro.org/job/tcwg_gcc_bootstrap-build-master-aarch64-bootstrap/1881/ Bad build: https://ci.linaro.org/job/tcwg_gcc_bootstrap-build-master-aarch64-bootstrap/1881/artifact/artifacts Good build: https://ci.linaro.org/job/tcwg_gcc_bootstrap-build-master-aarch64-bootstrap/1880/artifact/artifacts Reproduce current build: mkdir -p investigate-gcc-263c22a95bc9a0d80c4873c0291b0f938cea7310 cd investigate-gcc-263c22a95bc9a0d80c4873c0291b0f938cea7310 # Fetch scripts git clone https://git.linaro.org/toolchain/jenkins-scripts # Fetch manifests for bad and good builds mkdir -p bad/artifacts good/artifacts curl -o bad/artifacts/manifest.sh https://ci.linaro.org/job/tcwg_gcc_bootstrap-build-master-aarch64-bootstrap/1881/artifact/artifacts/manifest.sh --fail curl -o good/artifacts/manifest.sh https://ci.linaro.org/job/tcwg_gcc_bootstrap-build-master-aarch64-bootstrap/1880/artifact/artifacts/manifest.sh --fail # Reproduce bad build (cd bad; ../jenkins-scripts/tcwg_gnu-build.sh ^^ true %%rr[top_artifacts] artifacts) # Reproduce good build (cd good; ../jenkins-scripts/tcwg_gnu-build.sh ^^ true %%rr[top_artifacts] artifacts) Full commit (up to 1000 lines): commit 263c22a95bc9a0d80c4873c0291b0f938cea7310 Author: Jason Merrill Date: Mon Dec 5 10:00:31 2022 -0500 build: add -Wconditionally-supported to strict_warn [PR64867] The PR (which isn't resolved by this commit) pointed out to me that GCC should build with -Wconditionally-supported to support bootstrapping with a C++11 compiler that makes different choices. PR c++/64867 gcc/ChangeLog: * configure.ac (strict_warn): Add -Wconditionally-supported. * configure: Regenerate. --- gcc/configure | 2 +- gcc/configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/configure b/gcc/configure index 61b3cedbe69..921aad60712 100755 --- a/gcc/configure +++ b/gcc/configure @@ -7215,7 +7215,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu strict_warn= save_CXXFLAGS="$CXXFLAGS" -for real_option in -Wmissing-format-attribute -Woverloaded-virtual; do +for real_option in -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual; do # Do the check with the no- prefix removed since gcc silently # accepts any -Wno-* option on purpose case $real_option in diff --git a/gcc/configure.ac b/gcc/configure.ac index 5efbf11793c..b91f54ce05b 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -580,7 +580,7 @@ ACX_PROG_CC_WARNING_OPTS( m4_quote(m4_do([-Wstrict-prototypes -Wmissing-prototypes ], [])), [c_loose_warn]) ACX_PROG_CXX_WARNING_OPTS( - m4_quote(m4_do([-Wmissing-format-attribute ], + m4_quote(m4_do([-Wmissing-format-attribute ], [-Wconditionally-supported ], [-Woverloaded-virtual])), [strict_warn]) ACX_PROG_CC_WARNING_OPTS( m4_quote(m4_do([-Wold-style-definition -Wc++-compat])), [c_strict_warn]) ------=_Part_3671_1788614638.1671508911647--