From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by sourceware.org (Postfix) with ESMTPS id CB1253856975 for ; Tue, 21 Feb 2023 16:56:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CB1253856975 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-x42f.google.com with SMTP id a7so3063916pfx.10 for ; Tue, 21 Feb 2023 08:56:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1676998618; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=OdQzr5L+UnVlg+rP4avMe+6KskLxTutqiNPUY0BtcG8=; b=oSQqYl58mPcYqXwszHOWn62z9U0gE45PXIC+JnhysqJNcfH4c7xCvvoxBZm3IeuM+7 oKsC/Ve8ezlZYcX7BjnPkB43hFfqi0vglSbQy3kwtLF+qHzp3tOzz6Gqgq9dNVuIr4dW ghNJXAw1Q43lsqwAMF8PD5POw9agpvGP+/moOpeA9VWS9/GjITQhUpVAqv03FiAzU1kh ubz6cWGdbukh8/60fi+jXcoNBojjK1XVgw/F13Iv+SFlSF7HIu4ncoQN3p/surGoJVdO yasamnWAp+e2Int44T2I0uzHxXhu13Y7i3oyzf+S0Tp4RPEAuaBJiscCJM+eFuddyQAv FPXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1676998618; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OdQzr5L+UnVlg+rP4avMe+6KskLxTutqiNPUY0BtcG8=; b=2Qo8FGtS9kC2Y8QUgUpndMqPcZK3kuaaD5SN6cAi3KGGujmcw8qMNLtCmNHG8/H6eF BD58PwgC/O11+KRzPZxJi1FoHAy8slhoHRpDNltW5zR5w0qNJAEyQzuvutXNkaoPUMFo ka/W4RVicRBe9ZCdaUtExc/ieI//ji4wNoLCXeAaCJHDpIpKFpI/4uQLdpfYHuBEFl0g JeytvnHtaO8G4/WZE1MpbhBwRYewJgSP9rFVuB7sQkhxJw6HYm5FOiSmeXrVhZ4puoq3 G3yBHaQjCtO7sTnaw8QITKrrjpZCXced6D1yeB7JSruUtozol6H4M+j65bIxlDk3XMyD tXkw== X-Gm-Message-State: AO0yUKXY+9ipfZmT98CbmQ08bWFN+SFkZAym+RHKGMM5wnrkrl5AhoHs wqMN3NQjWO20+Q1UOmZDyavJndlWzj36xeDIrh0= X-Google-Smtp-Source: AK7set+pZh1WtHQ+YO4a/8ajG48rlHO8eb+FoRLtS3jo7XNLneXwEHXatKaM3epkGVYaALc2+Q+N/u7f7qgWZyvhFNU= X-Received: by 2002:a62:1802:0:b0:5a8:f198:645d with SMTP id 2-20020a621802000000b005a8f198645dmr1075997pfy.47.1676998618374; Tue, 21 Feb 2023 08:56:58 -0800 (PST) MIME-Version: 1.0 References: <86fsaznh08.fsf@aarsen.me> In-Reply-To: <86fsaznh08.fsf@aarsen.me> From: Salvatore Filippone Date: Tue, 21 Feb 2023 17:56:47 +0100 Message-ID: Subject: Re: Bootstrap failure on Fedora 37 To: =?UTF-8?Q?Arsen_Arsenovi=C4=87?= Cc: gcc-help@gcc.gnu.org Content-Type: multipart/alternative; boundary="000000000000efe8df05f538aa1d" X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --000000000000efe8df05f538aa1d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable --disable-libsanitizer works for me on GCC 11.3.0, thanks. Now, on bootstrapping 10.4.0 I get a different error. Suggestions? Thanks ------------------------------------------------- /data/travel/SOFTWARE/GNU/BUILDS/obj-10.4.0/./gcc/xgcc -shared-libgcc -B/data/travel/SOFTWARE/GNU/BUILDS/obj-10.4.0/./gcc -nostdinc++ -L/data/travel/SOFTWARE/GNU/BUILDS/obj-10.4.0/x86_64-pc-linux-gnu/32/libstd= c++-v3/src -L/data/travel/SOFTWARE/GNU/BUILDS/obj-10.4.0/x86_64-pc-linux-gnu/32/libstd= c++-v3/src/.libs -L/data/travel/SOFTWARE/GNU/BUILDS/obj-10.4.0/x86_64-pc-linux-gnu/32/libstd= c++-v3/libsupc++/.libs -B/opt/gnu/10.4.0/x86_64-pc-linux-gnu/bin/ -B/opt/gnu/10.4.0/x86_64-pc-linux-gnu/lib/ -isystem /opt/gnu/10.4.0/x86_64-pc-linux-gnu/include -isystem /opt/gnu/10.4.0/x86_64-pc-linux-gnu/sys-include -fno-checking -m32 -x c++-header -nostdinc++ -g -O2 -D_GNU_SOURCE -m32 -I/data/travel/SOFTWARE/GNU/BUILDS/obj-10.4.0/x86_64-pc-linux-gnu/32/libst= dc++-v3/include/x86_64-pc-linux-gnu -I/data/travel/SOFTWARE/GNU/BUILDS/obj-10.4.0/x86_64-pc-linux-gnu/32/libstd= c++-v3/include -I/data/travel/SOFTWARE/GNU/BUILDS/gcc-10.4.0/libstdc++-v3/libsupc++ -O2 -g /data/travel/SOFTWARE/GNU/BUILDS/gcc-10.4.0/libstdc++-v3/include/precompile= d/stdc++.h -o x86_64-pc-linux-gnu/bits/stdc++.h.gch/O2g.gch /data/travel/SOFTWARE/GNU/BUILDS/obj-10.4.0/./gcc/cc1plus: /data/travel/SOFTWARE/GNU/BUILDS/obj-10.4.0/x86_64-pc-linux-gnu/libstdc++-v= 3/src/.libs/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /data/travel/SOFTWARE/GNU/BUILDS/obj-10.4.0/./gcc/cc1plus) /data/travel/SOFTWARE/GNU/BUILDS/obj-10.4.0/./gcc/cc1plus: /data/travel/SOFTWARE/GNU/BUILDS/obj-10.4.0/x86_64-pc-linux-gnu/libstdc++-v= 3/src/.libs/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /data/travel/SOFTWARE/GNU/BUILDS/obj-10.4.0/./gcc/cc1plus) make[9]: *** [Makefile:1826: x86_64-pc-linux-gnu/bits/stdc++.h.gch/O2ggnu++0x.gch] Errore 1 On Tue, Feb 21, 2023 at 5:02 PM Arsen Arsenovi=C4=87 wrot= e: > Hi Salvatore, > > Salvatore Filippone via Gcc-help writes: > > > Hi there, > > I need to build some older versions of the compiler on Fedora 37 (which > has > > 12.2.1 installed); at least 11 and 10, possibly also 9. > > These failures are coming from libsanitizer, you can either > --disable-libsanitizer or backport a few fixes, like > r13-1609-g2701442d0cf629. Please also check whether latest snapshots > build, since the fixes might be backported into those already. > > I seem to recall building 12.2.1 20230218 recently without much trouble, > but I'm unsure if my kernel headers were recent enough to cause trouble. > > > I tried bootstrapping 11.3.0 and I got this output. Any idea? (config.l= og > > attached) > > Thanks a lot > > Salvatore > > -------------------------------------------------------------- > > libtool: compile: /data/travel/SOFTWARE/GNU/BUILDS/obj-11.3.0/./gcc/xg= cc > > -shared-libgcc -B/data/travel/SOFTWARE/GNU/BUILDS/obj-11.3.0/./gcc > > -nostdinc++ > > > -L/data/travel/SOFTWARE/GNU/BUILDS/obj-11.3.0/x86_64-pc-linux-gnu/libstdc= ++-v3/src > > > -L/data/travel/SOFTWARE/GNU/BUILDS/obj-11.3.0/x86_64-pc-linux-gnu/libstdc= ++-v3/src/.libs > > > -L/data/travel/SOFTWARE/GNU/BUILDS/obj-11.3.0/x86_64-pc-linux-gnu/libstdc= ++-v3/libsupc++/.libs > > -B/opt/gnu/11.3.0/x86_64-pc-linux-gnu/bin/ > > -B/opt/gnu/11.3.0/x86_64-pc-linux-gnu/lib/ -isystem > > /opt/gnu/11.3.0/x86_64-pc-linux-gnu/include -isystem > > /opt/gnu/11.3.0/x86_64-pc-linux-gnu/sys-include -fchecking=3D1 > -D_GNU_SOURCE > > -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS > > -D__STDC_LIMIT_MACROS -DHAVE_RPC_XDR_H=3D0 -DHAVE_TIRPC_RPC_XDR_H=3D0 -= I. > > -I../../../../gcc-11.3.0/libsanitizer/sanitizer_common -I.. -I > > ../../../../gcc-11.3.0/libsanitizer/include -I > > ../../../../gcc-11.3.0/libsanitizer -isystem > > ../../../../gcc-11.3.0/libsanitizer/include/system -Wall -W > > -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -fPIC > > -fno-builtin -fno-exceptions -fno-rtti -fomit-frame-pointer > -funwind-tables > > -fvisibility=3Dhidden -Wno-variadic-macros -I../../libstdc++-v3/include > > -I../../libstdc++-v3/include/x86_64-pc-linux-gnu > > -I../../../../gcc-11.3.0/libsanitizer/../libstdc++-v3/libsupc++ > > -std=3Dgnu++14 -fcf-protection -mshstk -DSANITIZER_LIBBACKTRACE > > -DSANITIZER_CP_DEMANGLE -I > > ../../../../gcc-11.3.0/libsanitizer/../libbacktrace -I ../libbacktrace = -I > > ../../../../gcc-11.3.0/libsanitizer/../include -include > > ../../../../gcc-11.3.0/libsanitizer/libbacktrace/backtrace-rename.h -g > -O2 > > -D_GNU_SOURCE -MT sanitizer_platform_limits_posix.lo -MD -MP -MF > > .deps/sanitizer_platform_limits_posix.Tpo -c > > > ../../../../gcc-11.3.0/libsanitizer/sanitizer_common/sanitizer_platform_l= imits_posix.cpp > > -fPIC -DPIC -o .libs/sanitizer_platform_limits_posix.o > > In file included from /usr/include/linux/fs.h:19, > > from > > > ../../../../gcc-11.3.0/libsanitizer/sanitizer_common/sanitizer_platform_l= imits_posix.cpp:75: > > /usr/include/linux/mount.h:95:6: error: multiple definition of =E2=80= =98enum > > fsconfig_command=E2=80=99 > > 95 | enum fsconfig_command { > > | ^~~~~~~~~~~~~~~~ > > In file included from > > > ../../../../gcc-11.3.0/libsanitizer/sanitizer_common/sanitizer_platform_l= imits_posix.cpp:62: > > > /data/travel/SOFTWARE/GNU/BUILDS/obj-11.3.0/gcc/include-fixed/sys/mount.h= :249:6: > > note: previous definition here > > 249 | enum fsconfig_command > > | ^~~~~~~~~~~~~~~~ > > In file included from /usr/include/linux/fs.h:19, > > from > > > ../../../../gcc-11.3.0/libsanitizer/sanitizer_common/sanitizer_platform_l= imits_posix.cpp:75: > > /usr/include/linux/mount.h:129:8: error: redefinition of =E2=80=98struct > mount_attr=E2=80=99 > > 129 | struct mount_attr { > > | ^~~~~~~~~~ > > In file included from > > > ../../../../gcc-11.3.0/libsanitizer/sanitizer_common/sanitizer_platform_l= imits_posix.cpp:62: > > > /data/travel/SOFTWARE/GNU/BUILDS/obj-11.3.0/gcc/include-fixed/sys/mount.h= :219:8: > > note: previous definition of =E2=80=98struct mount_attr=E2=80=99 > > 219 | struct mount_attr > > | ^~~~~~~~~~ > > make[4]: *** [Makefile:615: sanitizer_platform_limits_posix.lo] Errore 1 > > make[4]: uscita dalla directory > > > =C2=AB/data/travel/SOFTWARE/GNU/BUILDS/obj-11.3.0/x86_64-pc-linux-gnu/lib= sanitizer/sanitizer_common=C2=BB > > make[3]: *** [Makefile:531: all-recursive] Errore 1 > > make[3]: uscita dalla directory > > > =C2=AB/data/travel/SOFTWARE/GNU/BUILDS/obj-11.3.0/x86_64-pc-linux-gnu/lib= sanitizer=C2=BB > > make[2]: *** [Makefile:418: all] Errore 2 > > make[2]: uscita dalla directory > > > =C2=AB/data/travel/SOFTWARE/GNU/BUILDS/obj-11.3.0/x86_64-pc-linux-gnu/lib= sanitizer=C2=BB > > make[1]: *** [Makefile:21826: all-target-libsanitizer] Errore 2 > > make[1]: uscita dalla directory > > =C2=AB/data/travel/SOFTWARE/GNU/BUILDS/obj-11.3.0=C2=BB > > make: *** [Makefile:29174: bootstrap] Errore 2 > > ------------------------------------------------------------------------ > > Hope that helps, have a good day. > -- > Arsen Arsenovi=C4=87 > --000000000000efe8df05f538aa1d--