Skip to content

New internal error 2025090301

Summary

Compilation of packages for x86_64-aros target leads t a failure, with trunk 496451ef.

This can be easily transformed into a InternalError 2025090301, with this single one line patch:

diff --git a/packages/arosunits/src/iffparse.pas b/packages/arosunits/src/iffparse.pas
index 91d8d4a98b..c6f1a03b40 100644
--- a/packages/arosunits/src/iffparse.pas
+++ b/packages/arosunits/src/iffparse.pas
@@ -258,7 +258,7 @@ function StoreLocalItem(Iff: PIFFHandle; LocalItem: PLocalContextItem; Position:
 function WriteChunkBytes(Iff: PIFFHandle;const Buf: Pointer; NumBytes: LongInt): LongInt; syscall IFFParseBase 11;
 function WriteChunkRecords(Iff: PIFFHandle;const Buf: Pointer; BytesPerRecord: LongInt; NumRecords: LongInt): LongInt; syscall IFFParseBase 13;

-function Make_ID(str: String): LongInt;
+function Make_ID(str: String): LongInt; inline;

System Information

  • Operating system: Aros
  • Processor architecture: x86_64
  • Compiler version: trunk

Steps to reproduce

Apply patch above and compile rtl and packages for x86_64-aros target, using:

 make rtl packages CROSSOPT="-n -gl" OS_TARGET=aros CPU_TARGET=x86_64

This bug report clearly shows that acceptable unit code which depend mutually on each other and contain inline code can lead to a dead-lock in the current ctask unit.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information