[Debian-lego-team] FYI: GCC 15 appears to generate faulty h8300-hitachi-coff cross-compiler binaries

Matthew Sheets mesheets at hotmail.com
Mon Jul 14 13:32:49 BST 2025


…additional info:
> This was included as a standard configure code-check ("configure:4988: checking for exception model to use") during the GCC 3.4.6 era (~2005-2006)

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.


In contrast, with a GCC 15-built cc1plus-3.4.6, configure is unable to determine which exception model to use, as the GCC 15-built cc1plus-3.4.6 just dumps the following Internal Compiler Error:
conftest.cc:12: internal compiler error: in grokdeclarator, at cp/decl.c:6783
Please submit a full bug report, with preprocessed source if appropriate.


Thank you,
Matthew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: conftest.s
Type: application/octet-stream
Size: 1572 bytes
Desc: conftest.s
URL: <http://alioth-lists.debian.net/pipermail/debian-lego-team/attachments/20250714/f2892b39/attachment-0001.obj>


More information about the Debian-lego-team mailing list