[Bug 1121620] ghc-haskell-src-exts fails to build on s390
bugzilla at redhat.com
bugzilla at redhat.com
Wed Dec 10 05:23:28 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1121620
Jens Petersen <petersen at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #5 from Jens Petersen <petersen at redhat.com> ---
Okay sorry for the long pause.
I tried building with 1GB heap with the change below
but it still fails in the same way.
[ 1 of 22] Compiling Language.Haskell.Exts.Annotated.Syntax (
src/Language/Haskell/Exts/Annotated/Syntax.hs,
dist/build/Language/Haskell/Exts/Annotated/Syntax.p_o )
virtual memory exhausted: Cannot allocate memory
```
--- a/ghc-haskell-src-exts.spec
+++ b/ghc-haskell-src-exts.spec
@@ -65,6 +65,10 @@ files.
%build
+# s390 has max process size of 2GB
+%ifarch s390
+cabal_configure_extra_options="--ghc-option=+RTS --ghc-option=-M1000m
--ghc-option=-RTS"
+%endif
%ghc_lib_build
```
I guess the problem is that it actually needs more VM (not less).
So unless I am mistaken the only solution is to exclude s390 for now.
cf https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=654786#8 for a different
package
How long do you plan to continue to support Fedora s390 btw?
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=ZGkIATmJsI&a=cc_unsubscribe
More information about the haskell-devel
mailing list