[Bug target/102993] -fcf-protection=full produces segfaulting code when targeting 32-bit x86 (i686)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102993 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment #9 from nightstrike --- Maybe it's time to disable sjlj support on windows. dwarf or SEH is better on average.
[Bug target/102993] -fcf-protection=full produces segfaulting code when targeting 32-bit x86 (i686)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102993 Eric Botcazou changed: What|Removed |Added Status|WAITING |NEW --- Comment #8 from Eric Botcazou --- We should probably reject any fancy new feature with SJLJ C++ exceptions since nobody supports or tests them, including -fcf-protection.
[Bug target/102993] -fcf-protection=full produces segfaulting code when targeting 32-bit x86 (i686)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102993 --- Comment #7 from Luke Dashjr --- It's the standard Ubuntu focal g++-mingw-w64-i686 package.
[Bug target/102993] -fcf-protection=full produces segfaulting code when targeting 32-bit x86 (i686)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102993 --- Comment #6 from Eric Botcazou --- > I think we still default to those for 32bit unless you configure with > --disable-sjlj-exceptions. Yes, everybody should configure with it.
[Bug target/102993] -fcf-protection=full produces segfaulting code when targeting 32-bit x86 (i686)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102993 --- Comment #5 from Richard Biener --- I think we still default to those for 32bit unless you configure with --disable-sjlj-exceptions.
[Bug target/102993] -fcf-protection=full produces segfaulting code when targeting 32-bit x86 (i686)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102993 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0 |1 Last reconfirmed||2021-10-29 --- Comment #4 from Eric Botcazou --- Nobody uses SJLJ exceptions these days though. Where does this compiler come from exactly?
[Bug target/102993] -fcf-protection=full produces segfaulting code when targeting 32-bit x86 (i686)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102993 Richard Biener changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org Target|i?86-mingw |i686-w64-mingw32 --- Comment #3 from Richard Biener --- It looks like unwinding is somehow broken.
[Bug target/102993] -fcf-protection=full produces segfaulting code when targeting 32-bit x86 (i686)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102993 Luke Dashjr changed: What|Removed |Added Version|7.0 |9.3.0 --- Comment #2 from Luke Dashjr --- # i686-w64-mingw32-g++ -v Using built-in specs. COLLECT_GCC=i686-w64-mingw32-g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-w64-mingw32/9.3-posix/lto-wrapper Target: i686-w64-mingw32 Configured with: ../../src/configure --build=x86_64-linux-gnu --prefix=/usr --includedir='/usr/include' --mandir='/usr/share/man' --infodir='/usr/share/info' --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir='/usr/lib/x86_64-linux-gnu' --libexecdir='/usr/lib/x86_64-linux-gnu' --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --enable-shared --enable-static --disable-multilib --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --libdir=/usr/lib --enable-libstdcxx-time=yes --with-tune=generic --with-headers=/usr/i686-w64-mingw32/include --enable-version-specific-runtime-libs --enable-fully-dynamic-string --enable-libgomp --enable-languages=c,c++,fortran,objc,obj-c++,ada --enable-lto --enable-threads=posix --program-suffix=-posix --program-prefix=i686-w64-mingw32- --target=i686-w64-mingw32 --with-as=/usr/bin/i686-w64-mingw32-as --with-ld=/usr/bin/i686-w64-mingw32-ld --enable-libatomic --enable-libstdcxx-filesystem-ts=yes --enable-dependency-tracking Thread model: posix gcc version 9.3-posix 20200320 (GCC) Apparently it's actually 9.3? (Was confused since the mingw-w64-i686-dev package is 7.0.0-2, but g++-mingw-w64-i686 is indeed 9.3.0-7ubuntu1+22~exp1ubuntu4) Not sure how to test newer GCC on Ubuntu, though I could try an entirely newer version of Ubuntu if that would help.
[Bug target/102993] -fcf-protection=full produces segfaulting code when targeting 32-bit x86 (i686)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102993 --- Comment #1 from Andrew Pinski --- Can you provide the full output of gcc -v? Also can you test out GCC 9.4.x or above since GCC 7 is no longer supported?