tegwick 11ff61c1ba
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
fix(build): route TH to ghc-iserv-dyn to bypass truncated libHSghc.a
Root cause: libHSghc-9.10.3-5702.a (287,768,576 bytes) has its last AR
entry (Expr.o) claiming 517,544 bytes but only 82,258 bytes remain —
the archive is truncated. GHC's internal readAr (Data.Binary.Get) panics
at position 287,686,318 when it tries to read the full claimed size.

The truncated .a is read lazily: IHP's TH splices queue a dependency on
the ghc package, which flushes to readAr after all 477 modules compile.
This explains the invariant crash at [477 of 477] WidgetVersionInclude.

ghc-iserv-dyn is not exposed in ghc-with-packages/bin/ (why
-fexternal-interpreter alone silently fell back to the internal linker).
Use -pgmi with the absolute path in the unwrapped GHC store to force
iserv-dyn, which uses dlopen on libHSghc.so (intact, 110 MB) instead
of readAr on the truncated .a. No crash.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-02 11:11:07 +02:00
2026-03-26 23:43:55 +00:00
2026-03-26 23:43:55 +00:00

repo-seed

A git repository template to bootstrap coulomb projects from.

Description
Integrated Haskell Plattform based AI factory core framework
Readme MIT-0 3.5 MiB
Languages
Haskell 84.9%
PLpgSQL 5.7%
CSS 3.1%
Nix 1.8%
Python 1.5%
Other 3%