public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/115284] [15 regression] SEGV in check_format_arg on Solaris/SPARC Date: Fri, 31 May 2024 12:33:01 +0000 [thread overview] Message-ID: <bug-115284-4-SeL9ccYlKb@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-115284-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115284 --- Comment #11 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #10 from Hans-Peter Nilsson <hp at gcc dot gnu.org> --- > (In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #9) >> > --- Comment #8 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot >> > Uni-Bielefeld.DE> --- >> >> --- Comment #6 from Hans-Peter Nilsson <hp at gcc dot gnu.org> --- >> [...] >> >> versions.) BTW, it'd be nice to know it it reproduces for sparc-linux >> >> as well. >> > >> > I happen to have a Linux/sparc64 LDom around: I'll give it a whirl. >> >> The failure is even earlier here: in a sparc64-unknown-linux-gnu >> bootstrap, building a libstdc++ .gch file in stage 2 breaks: > > Great, thanks! That means that tricking my pc into believing it's a sparc by > means of using the binfmt machinery that Jeff mentioned in the thread where I > mentioned the revert on gcc-patches, would work. (I don't have the details and > don't remember if I'd actually tried it, certainly not recently; I just know > about the concept.) I can't help but wonder if this wouldn't be a total waste of your time: considering what the qemu wiki docments for SPARC support https://wiki.qemu.org/Documentation/Platforms/SPARC seems not too encouraging for 64-bit systems. When I think about what it took myself to get recent macOS working on qemu-kvm (although the procedure is resonably well documented, with firmware and all available), I'd consider such an attempt a positive nightmare. When all it takes for you to either get your ssh client working to access a ready-made and not too slow SPARC system (or in the worst case, build OpenSSH from source), I know which route I'd take ;-) > What's not so great is that the described reproducer is a bootstrap, so the > debug situation is unpleasant. The first step I'd do, would be to just do a > cross-build (or native --disable-bootstrap) and just run the testsuite > before/after the patch-set (or just 933ab59c59bdc1) and see if the problem > manifests there. > > It's also not great (from the view of gcc targeting architectures with > delay-slots) that this isn't at the top of my queue anymore, since the > immediate situation was resolved; as mentioned I committed the revert. I'll > get to it eventually, but if someone is intrigued enough by the prospect of a > 0.36%-ish performance improvement (see commit log for the culprit commit) to do > such a --disable-bootstrap regtest, that'd help. :) I've tried that now on both * sparc-sun-solaris2.11 (c and c++ only): no additional testsuite failures are apparent there, which is not too astonishing given that the bootstrap failure occurs in stage 3, suggesting a mis-compiled stage 2 cc1plus, and * sparc64-unknown-linux-gnu (again, c and c++ only): there are testsuite failures all over the place, but I'd have to perform another bootstrap with your patches removed to make an exact comparison.
next prev parent reply other threads:[~2024-05-31 12:33 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-05-29 21:40 [Bug bootstrap/115284] New: " ro at gcc dot gnu.org 2024-05-29 21:40 ` [Bug bootstrap/115284] " ro at gcc dot gnu.org 2024-05-29 22:08 ` hp at gcc dot gnu.org 2024-05-29 22:14 ` ro at CeBiTec dot Uni-Bielefeld.DE 2024-05-29 22:44 ` ro at CeBiTec dot Uni-Bielefeld.DE 2024-05-29 23:00 ` hp at gcc dot gnu.org 2024-05-30 1:31 ` hp at gcc dot gnu.org 2024-05-30 1:39 ` hp at gcc dot gnu.org 2024-05-30 9:48 ` ro at CeBiTec dot Uni-Bielefeld.DE 2024-05-30 9:58 ` ro at CeBiTec dot Uni-Bielefeld.DE 2024-05-30 11:42 ` ro at CeBiTec dot Uni-Bielefeld.DE 2024-05-30 15:31 ` hp at gcc dot gnu.org 2024-05-31 12:33 ` ro at CeBiTec dot Uni-Bielefeld.DE [this message] 2024-06-01 3:35 ` hp at gcc dot gnu.org 2024-06-03 11:36 ` ro at CeBiTec dot Uni-Bielefeld.DE 2024-06-03 13:51 ` hp at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-115284-4-SeL9ccYlKb@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).