From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 779783858C98; Thu, 16 May 2024 12:50:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 779783858C98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1715863840; bh=cqiJF8iXzLBoulvpM0puXGdJKl4UUM8YpviEwsspYJg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jdcVNFG8yONPHM4BH9KRj0yUA35liT/GEijmBI+4ckHX3KhalgMftW6+Di9ECSIRT GDQdJ/1NY/Exo7/5NA7W96sOwdSRtjK02fO5rMwaEAghSHMtS9l9GZkGFued2R8PZF rF2WadLZ0RA7/7fF0sSWmTkrtilhTMDcEBo911vU= From: "aldyh at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/114985] [15 regression] internal compiler error: in discriminator_fail during stage2 Date: Thu, 16 May 2024 12:50:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 15.0 X-Bugzilla-Keywords: needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: aldyh at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 15.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114985 --- Comment #29 from Aldy Hernandez --- (In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #28) > > --- Comment #27 from Aldy Hernandez --- > > This is in cfarm216.cfarm.et: > > > > aldyh@s11-sparc:~/bld/clean$ hostname > > s11-sparc.cfarm > > aldyh@s11-sparc:~/bld/clean$ uname -a > > SunOS s11-sparc.cfarm 5.11 11.4.68.164.2 sun4v sparc sun4v logical-doma= in > > aldyh@s11-sparc:~/bld/clean$ ~/src/clean/configure && gmake -j80 && gma= ke check > > -k -j80 >=20 > You need to be careful that the assembler and linker actually used match > gcc's idea thereof:=20 >=20 > https://gcc.gnu.org/install/specific.html#x-x-solaris2 >=20 > Best specify all of --build sparcv9-sun-solaris2.11 (if you're > bootstrapping with a 64-bit-default gcc/g++) and >=20 > --with-as=3D/usr/gnu/bin/as (or /opt/cfarm/binutils-latest-64/bin/as) > --with-gnu-as >=20 > (/usr/bin/as works too, but you need to specify both the path and > --without-gnu-as) >=20 > --with-ld=3D/usr/bin/ld > --without-gnu-ld >=20 > Having two different assemblers and linkers (Solaris and GNU) available > can lead to confusion if you rely on PATH alone. Ok, what's the minimum configuration I need to build here? srcdir/configure --build=3Dsparc-sun-solaris2.11 srcdir/configure --build=3Dsparc-sun-solaris2.11 --without-gnu-as --without-gnu-ld ?? I really don't care how it builds, I just want the bare minimum so I can bootstrap and run tests. A minor rant, but why can't all this be set up automatically in the compile farm machines? Keeping track of minor nuances of each architecture is distracting. They should all be set up, whether by setting default paths in /etc/profile or whatever, or by having the relevant patches in GCC's source base, such that they work with src/configure && make. I know this isn't your fault, but if more cfarm boxes where set up to go wi= th no surprises, I'd add more boxen to my testing harness. >=20 > > gmake[3]: Leaving directory '/home/aldyh/bld/clean' > > Comparing stages 2 and 3 > > Bootstrap comparison failure! > > gcc/tree-vect-stmts.o differs >=20 > I'm not seeing this myself. Dunno. It could be the particular revision was broken??=