On Thu, Aug 22, 2024 at 1:35 PM John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> wrote: > > On Thu, 2024-08-22 at 13:05 +0200, Richard Biener wrote: > > > I'm not sure that bisecting works here as I suspect the issue is a result > > > of the LRA switch. > > > > For sure. Still debugging/fixing the testsuite issue will be much easier. > > > > Does a int main(){} also segfault? > > I can run the LRA-enabled GCC normally, if you mean that: > > (unstable-sh4-sbuild)glaubitz@acrux:/srv/glaubitz/gcc/build$ ./prev-gcc/xgcc > --version > xgcc (GCC) 15.0.0 20240818 (experimental) > Copyright (C) 2024 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
OK, then that compiler also successfully built the stage1 target libraries. But no, I meant that if you build a int main(){} program and run _that_, does it segfault? That is, I suspect there is something broken with compiling memory accesses. Check the testsuite. Best see what tests pass with LRA disabled and then enable LRA and see which tests then fail. Richard. > (unstable-sh4-sbuild)glaubitz@acrux:/srv/glaubitz/gcc/build$ ./gcc/xgcc > --version > xgcc (GCC) 15.0.0 20240818 (experimental) > Copyright (C) 2024 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > (unstable-sh4-sbuild)glaubitz@acrux:/srv/glaubitz/gcc/build$ > > Adrian > > -- > .''`. John Paul Adrian Glaubitz > : :' : Debian Developer > `. `' Physicist > `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913