[Debian-lego-team] FYI: GCC 15 appears to generate faulty h8300-hitachi-coff cross-compiler binaries
Petter Reinholdtsen
pere at hungry.com
Tue Jul 15 19:15:18 BST 2025
[Matthew Sheets]
> With GCC 13.3.0 and earlier, the result of this configure code-check
> was to determine that the exception model was "sjlj" (Setjmp/Longjmp),
> with tell-tale statements such as "jsr
> @__Unwind_SjLj_Register", "jsr @__Unwind_SjLj_Resume", and "jsr
> @__Unwind_SjLj_Unregister" in the output of cc1plus. The full output
> of this from a GCC 13-built cc1plus-3.4.6 is attached.
Btw, what happen if you run configure with --enable-sjlj-exceptions to
force the use of such exceptions? Perhaps gcc-15 reject the invalid
C/C++ code and this cause the test to fail?
Is the ICE reported to the BTS for the GCC maintainers to have a look?
Are you able to make a isolated test case?
--
Happy hacking
Petter Reinholdtsen
More information about the Debian-lego-team
mailing list