[Git][ghc/ghc][master] RTS: Fix compile on powerpc64 ELF v1
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Mon Feb 3 16:46:05 UTC 2025
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
05e5785a by Peter Trommler at 2025-02-03T11:45:17-05:00
RTS: Fix compile on powerpc64 ELF v1
Cabal does not know about the different ABIs for powerpc64 and compiles
StgCRunAsm.S unconditionally. The old make-based build system excluded
this file from the build and it was OK to signal an error when it was
compiled accidentally.
With this patch we compile StgCRunAsm.S to an empty file, which fixes
the build.
Fixes #25700
- - - - -
1 changed file:
- rts/StgCRunAsm.S
Changes:
=====================================
rts/StgCRunAsm.S
=====================================
@@ -69,7 +69,7 @@ StgReturn:
.section .note.GNU-stack,"", at progbits
# else // Not ELF v2
-# error Only ELF v2 supported.
+ // ELF v1 is in StgCrun.c
# endif
#elif defined(powerpc_HOST_ARCH)
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/05e5785a3157c71e327a8e9bdc80fa7082918739
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/05e5785a3157c71e327a8e9bdc80fa7082918739
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20250203/7c1de217/attachment.html>
More information about the ghc-commits
mailing list