Commit Graph
6745 Commits
Author SHA1 Message Date
Moritz Angermann bbcf3e4895 Respect Android API availability in the ARM64 interpreter symbol table 2026-10-16 22:27:44 +09:00
Moritz Angermann ba07843efb Preserve Nix CLI and flakes features in the CI installer 2026-10-16 21:34:39 +09:00
Moritz Angermann b4a1cdd54e Capture the pinned Intel Setup failure in Nix CI 2026-10-16 21:23:57 +09:00
Moritz Angermann 75f95375f8 build: diagnose Intel Darwin ghc-boot Setup failures with LLDB 2026-10-16 21:19:24 +09:00
Moritz Angermann 17554a9d17 Declare Composition wired dependency for GHC 9.14 cross builds 2026-10-16 21:12:32 +09:00
Moritz Angermann 87ab2143cc Capture native GHC faults with bounded GDB diagnostics
Run the existing failure-only native Linux trace through pinned GDB, following the compiler shell wrapper so package DB and -B flags remain intact. Fetch the debugger only from caches within the existing overall bound and preserve diagnostic exit failures. Capture bounded stacks, registers, PC disassembly and mappings without environment or core dumps.

Validation: 41 generated-wrapper forwarding/status cases and three extracted workflow-shell cases pass; debugger cache-only fetch succeeds. The local Rosetta Linux VM cannot ptrace the child, and the bounded native ARM control stopped at metadata, so actual native fault capture remains a CI validation step.
2026-10-16 21:06:02 +09:00
Moritz Angermann 1ba0c07c69 Enable the Nix feature required by guarded cross slices 2026-10-16 20:32:14 +09:00
Moritz Angermann 3fd3a03879 Preserve canonical core settings in cloud GHC traces 2026-10-16 20:20:25 +09:00
Moritz Angermann a62b1848c0 Run native and cross target groups independently in Nix CI 2026-10-16 20:10:08 +09:00
Moritz Angermann 58b736e73d Trace native Linux GHC phases after CI build failure 2026-10-16 20:00:20 +09:00
Moritz Angermann 3e53def456 build: correct Windows crypton-x509-system patch selection 2026-10-16 19:58:41 +09:00
Moritz Angermann c3e2b5e7a8 docs: record final GHC 9.14 Mac artifact validation 2026-10-16 14:22:45 +09:00
Moritz Angermann f26dbbc0d9 Document passing ARM32 TH and upstream Hydra jobset 2026-10-16 13:26:57 +09:00
Moritz Angermann 748becda3e Enable ARM32 Android Template Haskell on emulated Linux builders
Scope the scheduling opt-out to the patched QEMU versions, patch the interpreter source before planning, and expose the real static Bionic and GNU iconv symbols. Use the RTS package dependency for Android libffi.

The production interpreter reaches Haskell main on Rosetta and native ARM64 QEMU. Normal target TH, the ARM32 shared export, a C caller returning 42, and upstream annotations pass. Profiling execution is not yet validated.
2026-10-16 13:22:52 +09:00
Moritz Angermann 6c5cc972ac Record final GHC 9.14 matrix and actual mobile builds 2026-10-16 01:39:17 +09:00
Moritz Angermann 2f314dd2b3 Document verified iOS archive packaging checks 2026-10-16 00:11:18 +09:00
Moritz Angermann 52cbb2c7f7 Propagate Android iconv to interpreter consumers
Declare GNU libiconv as a ghc-internal system dependency in Android projects. The setup hook satisfies configure before it records library names, so consumer slices must also receive the system dependency and its static link flag.

Checked exact production vanilla and profiled interpreter derivations: both now include GNU libiconv in runtimeLibs, and native/cross compiler identities remain unchanged. The core derivation changes through dependency and install metadata; its code generation inputs remain the same.
2026-10-16 00:08:51 +09:00
Moritz Angermann a07095f8bc Record GHC 9.14 matrix and runtime validation 2026-10-15 23:42:43 +09:00
Moritz Angermann ef3a3b0b78 Provide static iconv for Android GHC boot libraries
Apply the API 26 dependency before planning every ghc914-sh Android project, including the auxiliary iserv projects and evalWith variants. Preserve the GNU headers and library paths in the plan and ghc-internal registration, and compile the static iconv archives with PIC for libsimplex.so.

Validated Nix parsing, duplicate module handling, the actual ARMv7 iserv plan arguments, and a real static/PIC libiconv build. The focused ghc-internal build remains pending.
2026-10-15 22:24:36 +09:00
Moritz Angermann e1d2f1ebca Fix Android ARM32 QEMU personality on hosts without AArch32 EL0 2026-10-15 21:57:10 +09:00
Moritz Angermann 31b91a1cdc Apply platform patches before planning source repository packages 2026-10-15 21:57:10 +09:00
Moritz Angermann b0eab49f34 Fix hsc2hs option handling in Darwin archive builds
Cabal 3.17 deduplicates flattened compiler and linker argument lists,
which drops the second -framework from Security/CoreFoundation links.
Remove the two token-level deduplications while retaining framework
search-directory deduplication and registered framework metadata.

Patch the Cabal library in haskell.nix's v2 build tool only for Darwin
archive projects. Preserve the tool's existing patches and evalWith
variants, and leave native CLI and Linux/Android build tools unchanged.
2026-10-15 21:01:47 +09:00
Moritz Angermann 3394321a25 ci: advertise native x86 support for cross compiler slices 2026-10-15 20:50:56 +09:00
Moritz Angermann ba4c165ed0 docs: record GHC 9.14 matrix validation and remaining artifact checks 2026-10-15 20:01:14 +09:00
Moritz Angermann c72da15836 Export the iOS C library instruction baseline through structured env 2026-10-15 19:28:56 +09:00
Moritz Angermann 595f6c798e Reuse the cached native compiler in cross interpreter projects 2026-10-15 19:16:09 +09:00
Moritz Angermann 8854f6ae93 nix: construct native package sets for ARM64 Linux 2026-10-15 19:09:44 +09:00
Moritz Angermann 8ab73b4098 Select the native compiler for cross build tools 2026-10-15 18:50:41 +09:00
Moritz Angermann 9198b0d0b0 Preserve mobile runtime settings and the ARM instruction baseline 2026-10-15 18:37:30 +09:00
Moritz Angermann 71beade0fa nix: exclude generated directory frontend link from Haskell sources 2026-10-15 18:29:02 +09:00
Moritz Angermann ea28cd62bc Exercise native encrypted stores in the Nix CI matrix 2026-10-15 18:18:30 +09:00
Moritz Angermann 65fc1c159f test: smoke CLI encryption and profile password persistence 2026-10-15 18:12:52 +09:00
Moritz Angermann 251f342313 Scope compiler selection to the cached Hydra build context 2026-10-15 18:03:46 +09:00
Moritz Angermann 94ad3c9595 ghc914: preserve optional profile parameters and record re-exports 2026-10-15 17:55:55 +09:00
Moritz Angermann 031dcaeeac Keep Android SDK permission scoped to its package imports 2026-10-15 17:52:26 +09:00
Moritz Angermann fe98319580 ghc914: import promoted ErrorMessage constructor in its data namespace 2026-10-15 17:52:00 +09:00
Moritz Angermann 52b9350bc8 Include the NDK composition SDK tools in Android evaluation 2026-10-15 17:50:10 +09:00
Moritz Angermann ea8f7c5ff2 Apply the BLST symbol declaration fix to Darwin builds 2026-10-15 17:45:13 +09:00
Moritz Angermann 8f13410c5e build: resolve BLST Mach-O storage through its C definition 2026-10-15 17:45:12 +09:00
Moritz Angermann a4a3aacf38 Retain the current mobile C entry points when linking bundles 2026-10-15 17:42:28 +09:00
Moritz Angermann 7e7665cb79 Allow the prebuilt NDK within the Android package sets 2026-10-15 17:39:07 +09:00
Moritz Angermann f9530b0a5c Share the Cabal v2 mobile packaging adapter with Nix probes 2026-10-15 17:38:10 +09:00
Moritz Angermann d8c9f932e6 Relink and package mobile libraries from Cabal v2 slices 2026-10-15 17:28:47 +09:00
Moritz Angermann a14b239878 Plan platform package flags before building Nix slices 2026-10-15 17:08:09 +09:00
Moritz Angermann d9be796f1c ci: keep build artifacts portable and bound environment setup 2026-10-15 16:36:03 +09:00
Moritz Angermann da3fbbc902 build: provide Darwin iconv when planning stable GHC projects 2026-10-15 16:29:15 +09:00
Moritz Angermann b2d18ae34b build: select SQLCipher encryption providers for every target 2026-10-15 16:28:02 +09:00
Moritz Angermann 8b42783bb3 build: resolve remaining stable GHC 9.14 dependency conflicts 2026-10-15 16:24:18 +09:00
Moritz Angermann 8c2b1ebf7e build: use hashable with GHC 9.14 support in aeson 2026-10-15 16:05:46 +09:00
Moritz Angermann 95dbbf95d3 build: admit current boot libraries in pinned mobile helpers 2026-10-15 15:59:16 +09:00