Bug#933968: ghc: FTBFS on hppa - virtual memory exhausted: Cannot allocate memory
John David Anglin
dave.anglin at bell.net
Mon Aug 5 16:35:14 BST 2019
Source: ghc
Version: 8.6.5+dfsg1-3
Severity: normal
Dear Maintainer,
As the log was too big to upload, here is build problem on hppa:
"inplace/bin/ghc-stage1" -hisuf p_hi -osuf p_o -hcsuf p_hc -static -prof -event
log -H32m -O -lffi -optl-pthread -Wall -Iincludes -Iincludes/dist -Iincludes/
dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -this-unit-id
ghc-8.6.5 -hide-all-packages -i -icompiler/backpack -icompiler/basicTypes -icom
piler/cmm -icompiler/codeGen -icompiler/coreSyn -icompiler/deSugar -icompiler/gh
ci -icompiler/hsSyn -icompiler/iface -icompiler/llvmGen -icompiler/main -icompil
er/nativeGen -icompiler/parser -icompiler/prelude -icompiler/profiling -icompile
r/rename -icompiler/simplCore -icompiler/simplStg -icompiler/specialise -icompil
er/stgSyn -icompiler/stranal -icompiler/typecheck -icompiler/types -icompiler/ut
ils -icompiler/stage2/build -Icompiler/stage2/build -icompiler/stage2/build/./au
togen -Icompiler/stage2/build/./autogen -Icompiler/. -Icompiler/parser -Icompile
r/utils -Icompiler/../rts/dist/build -Icompiler/stage2 -Icompiler/stage2/build/.
-Icompiler/stage2/build/parser -Icompiler/stage2/build/utils -Icompiler/stage2/build/../rts/dist/build -Icompiler/stage2/build/stage2 -optP-DGHCI -optP-include -optPcompiler/stage2/build/./autogen/cabal_macros.h -package-id array-0.5.3.0 -package-id base-4.12.0.0 -package-id binary-0.8.6.0 -package-id bytestring-0.10.8.2 -package-id containers-0.6.0.1 -package-id deepseq-1.4.4.0 -package-id directory-1.3.3.0 -package-id filepath-1.4.2.1 -package-id ghc-boot-8.6.5 -package-id ghc-boot-th-8.6.5 -package-id ghc-heap-8.6.5 -package-id ghci-8.6.5 -package-id hpc-0.6.0.3 -package-id process-1.6.5.0 -package-id template-haskell-2.14.0.0 -package-id terminfo-0.4.1.2 -package-id time-1.8.0.2 -package-id transformers-0.5.6.2 -package-id unix-2.7.2.2 -Wall -Wno-name-shadowing -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -Wnoncanonical-monoid-instances -this-unit-id ghc -XHaskell2010 -XNoImplicitPrelude -DNO_REGS -DNOSMP -optc-DNOSMP -optc-DTHREADED_RTS -DSTAGE=2 -Rghc-timing -Wcpp-undef -no-user-package-db -rtsopts -Wnoncanonical-monad-instances -odir compiler/stage2/build -hidir compiler/stage2/build -stubdir compiler/stage2/build -c compiler/codeGen/StgCmmMonad.hs -o compiler/stage2/build/StgCmmMonad.p_o -dyno compiler/stage2/build/StgCmmMonad.dyn_o
virtual memory exhausted: Cannot allocate memory
`hppa-linux-gnu-gcc' failed in phase `C Compiler'. (Exit code: 1)
<<ghc: 881555064 bytes, 1652 GCs, 152057841/383696608 avg/max bytes residency (35 samples), 972M in use, 0.006 INIT (0.010 elapsed), 999.626 MUT (1765.270 elapsed), 215.414 GC (216.681 elapsed) :ghc>>
make[3]: *** [compiler/ghc.mk:447: compiler/stage2/build/HsInstances.p_o] Error 1
Regards,
Dave Anglin
-- System Information:
Debian Release: bullseye/sid
APT prefers buildd-unstable
APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hppa (parisc64)
Kernel: Linux 5.2.5+ (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-- no debconf information
More information about the Pkg-haskell-maintainers
mailing list