Bug#956095: ghc panics when building ghc-lib-parser on armhf (raspberry)
Andrew Maier
bugs at atwm.fastmail.net
Tue Apr 7 10:22:51 BST 2020
Package: ghc
Version: 8.8.1+dfsg1+is+8.6.5+dfsg1-3+rpi1
Severity: normal
Dear Maintainer,
* What led up to the situation?
I compiled the ghc-lib-parser packages (as a dependency for another
package using stack and the flags --use-system-ghc)
* What exactly did you do (or not do) that was effective (or
ineffective)?
I have tried to compile with j1 and with --fast (no optimisation) to limit resources. This made no difference.
I tried to build the package on it's own with the arguments:
stack --system-ghc build ghc-lib-parser --fast --keep-going --keep-tmp-files -v
* What was the outcome of this action?
So far I have not been able to compile the package
I get the following output:
2020-04-07 00:04:35.509894: [info] ghc-lib-parser> [143 of 205] Compiling PatSyn
2020-04-07 00:04:39.625117: [info] ghc-lib-parser> [144 of 205] Compiling Literal
2020-04-07 00:05:11.953843: [info] ghc-lib-parser> [145 of 205] Compiling TrieMap
2020-04-07 00:05:16.701428: [info] ghc-lib-parser> [146 of 205] Compiling HsLit
2020-04-07 00:05:17.243414: [warn] ghc-lib-parser> ghc: panic! (the 'impossible' happened)
2020-04-07 00:05:17.243723: [warn] ghc-lib-parser> (GHC version 8.6.5 for arm-unknown-linux):
2020-04-07 00:05:17.243985: [warn] ghc-lib-parser> idInfo 2020-04-07 00:05:17.244208: [warn] ghc-lib-parser> p_a1om
2020-04-07 00:05:17.244405: [warn] ghc-lib-parser> Call stack: 2020-04-07 00:05:17.244607: [warn] ghc-lib-parser> CallStack
(from HasCallStack): 2020-04-07 00:05:17.244827: [warn] ghc-lib-parser> callStackDoc, called at compiler/utils/Outputable.hs:1160:37 in ghc:Outputable
2020-04-07 00:05:17.245074: [warn] ghc-lib-parser> pprPanic, called at compiler/basicTypes/Var.hs:541:34 in ghc:Var
2020-04-07 00:05:17.245449: [warn] ghc-lib-parser>
2020-04-07 00:05:17.245914: [warn] ghc-lib-parser> Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
2020-04-07 00:05:17.246348: [warn] ghc-lib-parser>
2020-04-07 00:05:18.101968: [error]
-- While building package ghc-lib-parser-8.8.0.20190424 using:
/home/andrew/.stack/setup-exe-cache/arm-linux/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5
--builddir=.stack-work/dist/arm-linux/Cabal-2.4.0.1 build
--ghc-options " -fdiagnostics-color=always"
Process exited with code: ExitFailure 1
* What outcome did you expect instead?
Successful compilation.
-- System Information:
Distributor ID: Raspbian
Description: Raspbian GNU/Linux bullseye/sid
Release: testing
Codename: bullseye
Architecture: armv7l
Kernel: Linux 4.19.57-v7l+ (SMP w/4 CPU cores)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages ghc depends on:
ii dpkg 1.19.7
ii gcc 4:9.2.1-3.1+rpi1
ii libatomic1 10-20200324-1+rpi1
ii libbsd-dev 0.10.0-1
ii libc6 2.30-4+rpi1
ii libc6-dev 2.30-4+rpi1
ii libffi-dev 3.3-4
ii libffi7 3.3-4
ii libgmp-dev 2:6.2.0+dfsg-4
ii libgmp10 2:6.2.0+dfsg-4
ii libncurses-dev [libncurses5-dev] 6.2-1
ii libtinfo6 6.2-1
ii llvm-6.0 1:6.0.1-12+rpi1
ghc recommends no packages.
Versions of packages ghc suggests:
pn ghc-doc <none>
pn ghc-prof <none>
pn haskell-doc <none>
ii perl 5.30.0-9
-- no debconf information
More information about the Pkg-haskell-maintainers
mailing list