[Bug target/120186] [pa] internal compiler error: in fail, at selftest.cc:47 during bootstrap with LRA enabled
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120186 John Paul Adrian Glaubitz changed: What|Removed |Added Resolution|WORKSFORME |FIXED
[Bug target/120186] [pa] internal compiler error: in fail, at selftest.cc:47 during bootstrap with LRA enabled
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120186 John Paul Adrian Glaubitz changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |WORKSFORME --- Comment #12 from John Paul Adrian Glaubitz --- I can confirm that the LRA-enabled bootstrap now works for me on hppa with f256b6564f7, so this bug can be closed.
[Bug target/120186] [pa] internal compiler error: in fail, at selftest.cc:47 during bootstrap with LRA enabled
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120186 --- Comment #11 from John David Anglin --- Yes. Test results with LRA at git revision d0571638a6b are here: https://gcc.gnu.org/pipermail/gcc-testresults/2025-May/847159.html I've just about finished check with reload at same commit.
[Bug target/120186] [pa] internal compiler error: in fail, at selftest.cc:47 during bootstrap with LRA enabled
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120186 --- Comment #10 from John Paul Adrian Glaubitz --- (In reply to John David Anglin from comment #9) > I was not able to reproduce this on c8000 So, the LRA-enabled bootstrap works for you without any problems?
[Bug target/120186] [pa] internal compiler error: in fail, at selftest.cc:47 during bootstrap with LRA enabled
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120186 --- Comment #9 from John David Anglin --- I was not able to reproduce this on c8000
[Bug target/120186] [pa] internal compiler error: in fail, at selftest.cc:47 during bootstrap with LRA enabled
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120186 --- Comment #8 from John David Anglin --- I was able to reproduce this on c8000. Maybe this is a qemu issue?
[Bug target/120186] [pa] internal compiler error: in fail, at selftest.cc:47 during bootstrap with LRA enabled
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120186 --- Comment #7 from John David Anglin --- I don't think I've ever done a LRA build with selftests enabled.
[Bug target/120186] [pa] internal compiler error: in fail, at selftest.cc:47 during bootstrap with LRA enabled
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120186 --- Comment #6 from John Paul Adrian Glaubitz --- (In reply to John Paul Adrian Glaubitz from comment #5) > > You might try building with old reload. > > Can do that later. Building the same revision with reload works fine, so this issue is related to LRA.
[Bug target/120186] [pa] internal compiler error: in fail, at selftest.cc:47 during bootstrap with LRA enabled
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120186 --- Comment #5 from John Paul Adrian Glaubitz --- (In reply to John David Anglin from comment #3) > I presume you edited pa.opt to enable LRA. Yes. > Would you provide full configure command and relevant environment options. I built with: ./configure --disable-multilib --enable-multiarch --enable-bootstrap --enable-languages=c,c++ && make -j32 I applied the following three Debian patches for proper MultiArch support: https://salsa.debian.org/toolchain-team/gcc/-/blob/gcc-14-debian/debian/patches/g++-multiarch-incdir.diff https://salsa.debian.org/toolchain-team/gcc/-/blob/gcc-14-debian/debian/patches/gcc-multiarch.diff https://salsa.debian.org/toolchain-team/gcc/-/blob/gcc-14-debian/debian/patches/gcc-multilib-multiarch.diff > You might try building with old reload. Can do that later. > My last build of gcc-16 was at revision r16-175-g1c5cf7cc82d. With LRA enabled? > Probably, we will need to bisect this bug. > > I'm currently working on fixing Debian builds of gcc-12 and gcc-13 on hppa. > There is a report that gcc-15 is also broken... OK.
[Bug target/120186] [pa] internal compiler error: in fail, at selftest.cc:47 during bootstrap with LRA enabled
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120186 --- Comment #4 from John David Anglin --- My last LRA build was at r15-9116-g28751389a68.
[Bug target/120186] [pa] internal compiler error: in fail, at selftest.cc:47 during bootstrap with LRA enabled
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120186 --- Comment #3 from John David Anglin --- Hi Adrian, I haven't tested LRA in sometime. There are are at least two bugs preventing migration to LRA on hppa, although they didn't previously break bootstrap. I don't believe these are problems with backend. I presume you edited pa.opt to enable LRA. Would you provide full configure command and relevant environment options. You might try building with old reload. My last build of gcc-16 was at revision r16-175-g1c5cf7cc82d. Probably, we will need to bisect this bug. I'm currently working on fixing Debian builds of gcc-12 and gcc-13 on hppa. There is a report that gcc-15 is also broken...
[Bug target/120186] [pa] internal compiler error: in fail, at selftest.cc:47 during bootstrap with LRA enabled
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120186 --- Comment #1 from Sam James --- (In reply to John Paul Adrian Glaubitz from comment #0) > Not sure how to save the preprocessed files in this case: There aren't any directly there, as these are unittests inside of selftest.cc. You could go through the build log and find the command which built selftest.cc.
[Bug target/120186] [pa] internal compiler error: in fail, at selftest.cc:47 during bootstrap with LRA enabled
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120186 --- Comment #2 from John Paul Adrian Glaubitz --- (In reply to Sam James from comment #1) > (In reply to John Paul Adrian Glaubitz from comment #0) > > Not sure how to save the preprocessed files in this case: > > There aren't any directly there, as these are unittests inside of > selftest.cc. You could go through the build log and find the command which > built selftest.cc. OK, will do that doing the next testrun. I testing the alpha backend now.
