summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2025-05-23 10:52:11 +0200
committersternenseemann <sternenseemann@systemli.org>2025-05-28 13:35:12 +0200
commit16dca700d737702eb122fd50f5794ecb8a75e491 (patch)
tree4019de231f6d45a185e13aaf6456f0b56e860bb8 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parenta1a82570eb381d23b5385a4c0302f457eea75b2f (diff)
haskell.compiler.ghc94: don't roundtrip C compilation via assembly
GHC can be used to compile C sources which causes it to drive the configured C compiler. This is particularly relevant during GHC's own compilation, e.g. when building the rts. GHC takes a peculiar approach, always generating intermediate assembly instead of letting the C compiler emit object files directly. This causes an assembler check in clang >= 18 to fail on rts/StgCRun.c, failing the GHC build on darwin completely. Later GHC versions don't exhibit this issue since object code is emitted directly since 9.6. The easiest way to resolve the compilation failure seems to backport this change. However, the patch only applies on GHC 9.4 which is done here. The patch may be difficult to backport further, as the changed code was extensively refactored in GHC 9.4. Reference #367686.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions