From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lug-owl.de (lug-owl.de [188.68.32.151]) by sourceware.org (Postfix) with ESMTPS id 97D033858D1E for ; Tue, 18 Apr 2023 18:58:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 97D033858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=lug-owl.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=lug-owl.de Received: by lug-owl.de (Postfix, from userid 1001) id C8A2842029; Tue, 18 Apr 2023 20:58:11 +0200 (CEST) Date: Tue, 18 Apr 2023 20:58:11 +0200 From: Jan-Benedict Glaw To: libc-alpha@sourceware.org Subject: [PING^2] [PATCH] build-many-glibcs.py: --disable-gcov for gcc-first Message-ID: <20230418185811.3w6yoj4cxa7cn6nq@lug-owl.de> References: <20230401190919.gekhiyxeakd4kcta@lug-owl.de> <20230413154640.6hpnyfzayb7r5kmz@lug-owl.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fe26zcrlmml72gkk" Content-Disposition: inline In-Reply-To: <20230413154640.6hpnyfzayb7r5kmz@lug-owl.de> X-Operating-System: Linux chamaeleon 5.14.0-0.bpo.2-amd64 X-gpg-fingerprint: 250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB X-gpg-key: wwwkeys.de.pgp.net X-Echelon-Enable: howto poison arsenous mail psychological biological nuclear warfare test the bombastical terror of flooding the spy listeners explosion sex drugs and rock'n'roll X-TKUeV: howto poison arsenous mail psychological biological nuclear warfare test the bombastical terror of flooding the spy listeners explosion sex drugs and rock'n'roll X-message-flag: Please send plain text messages only. Do not send HTML emails. Thank you. User-Agent: NeoMutt/20170113 (1.7.2) X-Spam-Status: No, score=-9.8 required=5.0 tests=BAYES_00,GIT_PATCH_0,KAM_DMARC_STATUS,KAM_SHORT,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --fe26zcrlmml72gkk Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! About another week, another ping. Thanks, Jan-Benedict On Thu, 2023-04-13 17:46:40 +0200, Jan-Benedict Glaw wr= ote: > I want to ping this patch. > On Sat, 2023-04-01 21:09:19 +0200, Jan-Benedict Glaw = wrote: > > I started using scripts/build-many-glibcs.py to do scheduled CI builds > > with --full-gcc and noticed that in my setup (fairly new host GCC > > version, and a small patch to use all-trunk versions for all relevant > > sources from a local GIT mirror), I run into an issue with gcc-first: > >=20 > > /var/lib/laminar/run/glibcbot-alpha-linux-gnu/20/install/compilers/alph= a-linux-gnu/alpha-glibc-linux-gnu/bin/ar rc libgcc.a $objects > > /var/lib/laminar/run/glibcbot-alpha-linux-gnu/20/install/compilers/alph= a-linux-gnu/alpha-glibc-linux-gnu/bin/ranlib libgcc.a > > /var/lib/laminar/run/glibcbot-alpha-linux-gnu/20/build/compilers/alpha-= linux-gnu/gcc-first/./gcc/xgcc -B/var/lib/laminar/run/glibcbot-alpha-linux-= gnu/20/build/compilers/alpha-linux-gnu/gcc-first/./gcc/ -B/var/lib/laminar/= run/glibcbot-alpha-linux-gnu/20/install/compilers/alpha-linux-gnu/alpha-gli= bc-linux-gnu/bin/ -B/var/lib/laminar/run/glibcbot-alpha-linux-gnu/20/instal= l/compilers/alpha-linux-gnu/alpha-glibc-linux-gnu/lib/ -isystem /var/lib/la= minar/run/glibcbot-alpha-linux-gnu/20/install/compilers/alpha-linux-gnu/alp= ha-glibc-linux-gnu/include -isystem /var/lib/laminar/run/glibcbot-alpha-lin= ux-gnu/20/install/compilers/alpha-linux-gnu/alpha-glibc-linux-gnu/sys-inclu= de -g -O2 -mieee -O2 -g -O2 -mieee -DIN_GCC -DCROSS_DIRECTORY_STRUCTUR= E -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes = -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -mie= ee -mfp-rounding-mode=3Dd -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-prot= ector -Dinhibit_libc -fPIC -mieee -mfp-rounding-mode=3Dd -I. -I. -I../.././= gcc -I/var/lib/laminar/run/glibcbot-alpha-linux-gnu/20/src/gcc/libgcc -I/va= r/lib/laminar/run/glibcbot-alpha-linux-gnu/20/src/gcc/libgcc/. -I/var/lib/l= aminar/run/glibcbot-alpha-linux-gnu/20/src/gcc/libgcc/../gcc -I/var/lib/lam= inar/run/glibcbot-alpha-linux-gnu/20/src/gcc/libgcc/../include -DHAVE_CC_T= LS -o _gcov_merge_add.o -MT _gcov_merge_add.o -MD -MP -MF _gcov_merge_add= =2Edep -DL_gcov_merge_add -c /var/lib/laminar/run/glibcbot-alpha-linux-gnu/= 20/src/gcc/libgcc/libgcov-merge.c > > In file included from /var/lib/laminar/run/glibcbot-alpha-linux-gnu/20/= src/gcc/libgcc/libgcov-merge.c:26: > > /var/lib/laminar/run/glibcbot-alpha-linux-gnu/20/src/gcc/libgcc/libgcov= =2Eh:49:10: fatal error: sys/mman.h: No such file or directory > > 49 | #include > > | ^~~~~~~~~~~~ > > compilation terminated. > > make[3]: *** [Makefile:924: _gcov_merge_add.o] Error 1 > > make[3]: Leaving directory '/var/lib/laminar/run/glibcbot-alpha-linux-g= nu/20/build/compilers/alpha-linux-gnu/gcc-first/alpha-glibc-linux-gnu/libgc= c' > > make[2]: *** [Makefile:13209: all-target-libgcc] Error 2 > > make[2]: Leaving directory '/var/lib/laminar/run/glibcbot-alpha-linux-g= nu/20/build/compilers/alpha-linux-gnu/gcc-first' > > make[1]: *** [Makefile:1023: all] Error 2 > > make[1]: Leaving directory '/var/lib/laminar/run/glibcbot-alpha-linux-g= nu/20/build/compilers/alpha-linux-gnu/gcc-first' > >=20 > > FAIL: compilers-alpha-linux-gnu gcc-first build > >=20 > >=20 > > I found a long-standing PR for GCC: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100289 . Maybe it would > > be okay to pass --disable-gcov to overcome this? > >=20 > >=20 > > diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py > > index 29c10c2916..b29e32e7bd 100755 > > --- a/scripts/build-many-glibcs.py > > +++ b/scripts/build-many-glibcs.py > > @@ -1483,6 +1483,7 @@ class Config(object): > > '--disable-threads', > > '--disable-libatomic', > > '--disable-decimal-float', > > + '--disable-gcov', > > '--disable-libffi', > > '--disable-libgomp', > > '--disable-libitm', > >=20 > > This gets me past this build step. > >=20 > > Thanks, > > Jan-Benedict > >=20 > > --=20 >=20 >=20 >=20 > --=20 --=20 --fe26zcrlmml72gkk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQQlDTvPcScNjKREqWEdvV51g5nhuwUCZD7oQQAKCRAdvV51g5nh u66sAKCH/GKIogLU6fF5wj6ok5EXAcwh1wCgjwerAiSBwmyD8guNYeBJ7IQ2JmQ= =EzEP -----END PGP SIGNATURE----- --fe26zcrlmml72gkk--