From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by sourceware.org (Postfix) with ESMTPS id C38FF3858D37 for ; Wed, 2 Mar 2022 09:45:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C38FF3858D37 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.90,148,1643702400"; d="scan'208";a="72455798" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa3.mentor.iphmx.com with ESMTP; 02 Mar 2022 01:45:01 -0800 IronPort-SDR: Zn61aZeehVvtG5XamDHDXfjGYyd+DUcY3B2HoqtciFaC3LlfpLSOUJD34ctbFK4ZZm5cbfCZMf li3+e1ymVok4EGykA9RQuLihAyMiyEGCGIJdo3zH44ZaKsXsqhFIxAPTVbdm5r2or4GYRj79Eu EJdc8071lJVSZiBE6yX1U01ctN5rxRQiiz6MgcX9JGs9CMjUGeVYyypxrGheaScGzfM1b2bZBk Fdz4dkUWISHOCFIuIVJRNyZ+9Nj3OKViVX7ExNBV414bGcW5NMiiMytF8lrIsXaSyMUTFbgZmg Gxo= From: Thomas Schwinge To: Philip Herron , Arthur Cohen CC: Mark Wielaard , , Subject: Re: Buildbot failure in Wildebeest Builder on whole buildset In-Reply-To: References: <20220301190815.EE6CD8176B0@builder.wildebeest.org> <87ee3kstu1.fsf@euler.schwinge.homeip.net> User-Agent: Notmuch/0.29.1+93~g67ed7df (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Wed, 2 Mar 2022 10:44:38 +0100 Message-ID: <87h78glmd5.fsf@dem-tschwing-1.ger.mentorg.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=-6.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_SHORT, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE, WEIRD_PORT autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-rust@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: gcc-rust mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2022 09:45:03 -0000 Hi! On 2022-03-02T09:03:48+0000, Philip Herron wro= te: > Yet again the build bots are out doing github automation :D. Would you > be able to give Arthur access to the failing buildbot to test his fix? I suggest as a first step to figure out why your local build aren't running into this issue. What does running 'build-gcc/gcc/xgcc -v' should for you, and 'grep -i checking build-gcc/gcc/auto-host.h'? > We think we know what the issue is. We changed the lexer so we could > give it a buffer instead of a file for macro expansion, but the string > is going out of scope when we set it up. Ah! So, "standard C/C++ undefined behavior, memory corruption"... ;-) I can easily test any patches that you need tested. Gr=C3=BC=C3=9Fe Thomas > On Wed, 2 Mar 2022 at 07:21, Thomas Schwinge wr= ote: >> >> Hi! >> >> On 2022-03-02T00:15:41+0100, Mark Wielaard wrote: >> > On Tue, Mar 01, 2022 at 07:08:15PM +0000, buildbot@builder.wildebeest.= org wrote: >> >> The Buildbot has detected a new failure on builder gccrust-debian-arm= 64 while building gccrust. >> >> Full details are available at: >> >> https://builder.wildebeest.org/buildbot/#builders/58/builds/1710 >> >> >> >> Buildbot URL: https://builder.wildebeest.org/buildbot/ >> >> >> >> Worker for this Build: debian-arm64 >> >> >> >> Build Reason: >> >> Blamelist: Arthur Cohen >> >> >> >> BUILD FAILED: failed compile (failure) >> > >> > And the same for all other builders. >> >> ... and me: >> "'[...]/gcc/rust/parse/rust-cfg-parser.cc:67: rust_cfg_parser_test: >> FAIL: ASSERT_TRUE ((Rust::parse_cfg_option (input, key, value)))'". >> >> > I haven't figured out yet why the last commit caused this. >> >> (Same here.) >> >> > But it can be replicated when configuring with --enable-checking=3Dyes >> >> That's strange -- isn't some '--enable-checking=3D[...]' actually the >> default for GCC builds? >> >> > That causes the selftests to trigger: >> >> At least we can see that the GCC/Rust self-tests are executing! ;-P >> >> >> Gr=C3=BC=C3=9Fe >> Thomas >> >> >> > make[2]: Entering directory '/home/mark/build/gccrs-obj/gcc' >> > /home/mark/build/gccrs-obj/./gcc/xgcc -B/home/mark/build/gccrs-obj/./g= cc/ -xrs -nostdinc /dev/null -S -o /dev/null -fself-test=3D/home/mark/src/g= ccrs/gcc/testsuite/selftests >> > rust1: error: unexpected character =E2=80=981=E2=80=99 >> > rust1: error: unexpected character =E2=80=980=E2=80=99 >> > rust1: error: unexpected character =E2=80=980=E2=80=99 >> > rust1: error: unexpected character =E2=80=980=E2=80=99 >> > rust1: error: unexpected character =E2=80=981=E2=80=99 >> > rust1: error: unexpected character =E2=80=980=E2=80=99 >> > rust1: error: unexpected character =E2=80=980=E2=80=99 >> > rust1: error: unexpected character =E2=80=980=E2=80=99 >> > rust1: error: unexpected character =E2=80=98e0=E2=80=99 >> > rust1: error: unexpected character =E2=80=98d3=E2=80=99 >> > rust1: error: unexpected character =E2=80=9889=E2=80=99 >> > /home/mark/src/gccrs/gcc/rust/parse/rust-cfg-parser.cc:68: rust_cfg_pa= rser_test: FAIL: ASSERT_EQ ((key), ("key_no_value")) >> > rust1: internal compiler error: in fail, at selftest.cc:47 >> > 0x1cf096b selftest::fail(selftest::location const&, char const*) >> > /home/mark/src/gccrs/gcc/selftest.cc:47 >> > 0x7bb9a3 selftest::rust_cfg_parser_test() >> > /home/mark/src/gccrs/gcc/rust/parse/rust-cfg-parser.cc:68 >> > 0x1c143b7 selftest::run_tests() >> > /home/mark/src/gccrs/gcc/selftest-run-tests.cc:119 >> > 0xf1310b toplev::run_self_tests() >> > /home/mark/src/gccrs/gcc/toplev.cc:2217 >> > Please submit a full bug report, >> > with preprocessed source if appropriate. >> > Please include the complete backtrace with any bug report. >> > See for instructions. >> > make[2]: *** [/home/mark/src/gccrs/gcc/rust/Make-lang.in:232: s-selfte= st-rust] Error 1 >> > make[2]: Leaving directory '/home/mark/build/gccrs-obj/gcc' >> > >> > Cheers, >> > >> > Mark >> > >> > -- >> > Gcc-rust mailing list >> > Gcc-rust@gcc.gnu.org >> > https://gcc.gnu.org/mailman/listinfo/gcc-rust >> ----------------- >> Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstra=C3=9Fe = 201, 80634 M=C3=BCnchen; Gesellschaft mit beschr=C3=A4nkter Haftung; Gesch= =C3=A4ftsf=C3=BChrer: Thomas Heurung, Frank Th=C3=BCrauf; Sitz der Gesellsc= haft: M=C3=BCnchen; Registergericht M=C3=BCnchen, HRB 106955 >> -- >> Gcc-rust mailing list >> Gcc-rust@gcc.gnu.org >> https://gcc.gnu.org/mailman/listinfo/gcc-rust ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstra=C3=9Fe 201= , 80634 M=C3=BCnchen; Gesellschaft mit beschr=C3=A4nkter Haftung; Gesch=C3= =A4ftsf=C3=BChrer: Thomas Heurung, Frank Th=C3=BCrauf; Sitz der Gesellschaf= t: M=C3=BCnchen; Registergericht M=C3=BCnchen, HRB 106955