From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5914B384AB6A; Thu, 16 May 2024 14:24:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5914B384AB6A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1715869474; bh=zXJRgrSdtLftMq5+eSkdc3WSaYyaJ/SxA9Mll1t7Llw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=J572VSV+MsZQKdIrsatS4GNZH99RDdr1U6O3NF+LXWrGNkCLvA347Vt0vm/nXHzvQ ke/SHdAW27R2kzRoDqHMY2IfGkgHT5k3r4dMcD7gF6/uY9L37zybGR9ATEBmqQ/3mO 1uRbhT0XXq/OT9mJAp3TujB7bECMzzJy6LboO+vc= 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 14:24:33 +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 #32 from Aldy Hernandez --- (In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #31) > > --- Comment #29 from Aldy Hernandez --- > [...] > > 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 > > > > ?? >=20 > srcdir/configure --build=3Dsparcv9-sun-solaris2.11 --without-gnu-as > --with-as=3D/usr/bin/as --without-gnu-ld --with-ld=3D/usr/bin/ld OK, I'll add this to my notes. Thanks. BTW, the above seems like it would be a perfect thing to put in /etc/motd := ). >=20 > should do the trick. >=20 > Preferably prepend /usr/gnu/bin to PATH. >=20 > > 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 com= pile > > farm machines? Keeping track of minor nuances of each architecture is > > distracting. They should all be set up, whether by setting default pat= hs in >=20 > Agreed, but you always run into stuff like this when leaving Linux (like > AIX, HP-UX, or macOS). PATHs won't help much for reasons explained in > install.texi. >=20 > > /etc/profile or whatever, or by having the relevant patches in GCC's so= urce > > base, such that they work with src/configure && make. >=20 > But what should be the default: GNU or native tools? You have choices > here and need to decide what you need/want. No one can do this for you. My guess would be to use gnu tools if available, cause those would be "guaranteed" to work correctly to build gcc? >=20 > > I know this isn't your fault, but if more cfarm boxes where set up to g= o with > > no surprises, I'd add more boxen to my testing harness. >=20 > Well, I *did* set up the Solaris cfarm systems, actually ;-) I see your > point, but things are not that simple unfortunately. And GCC's > configure doesn't need to cater to users of the cfarm only... >=20 > Some of the issues (like the need for --build) have been caused by > upstream (like the config.guess maintainers that refuse to listen to > reason ;-). I thought about improving the --with-as/ld situation; maybe > something can be done there. Thanks for the explanation.=