./configure doesn't check that apparently at least GHC-9.0 is required too bootstrap
Please select a template from the list above.
- Show closed items
Relates to
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Oleg Grenrus added needs triage label
added needs triage label
- Author Developer
Might be issue in
bytestring
though:| Run Ghc CompileHs (Stage0 InTreeLibs): libraries/containers/containers/src/Prelude.hs => _build_hetero-prim-eq/stage0/libraries/containers/containers/build/Prelude.o Command line: /opt/ghc/8.10.7/bin/ghc -Wall -Wcompat -hisuf hi -osuf o -hcsuf hc -static -hide-all-packages -no-user-package-db '-package-env -' '-package-db _build_hetero-prim-eq/stage0/inplace/package.conf.d' '-this-unit-id bytestring-0.11.3.1' '-package-id base-4.14.3.0' '-package-id deepseq-1.4.4.0' '-package-id ghc-prim-0.6.1' '-package-id template-haskell-2.19.0.0' -i -i/code/ghc/_build_hetero-prim-eq/stage0/libraries/bytestring/build -i/code/ghc/_build_hetero-prim-eq/stage0/libraries/bytestring/build/autogen -i/code/ghc/libraries/bytestring -I_build_hetero-prim-eq/stage0/libraries/bytestring/build -I_build_hetero-prim-eq/stage0/libraries/bytestring/build/include -Ilibraries/bytestring/include -I/opt/ghc/8.10.7/lib/ghc-8.10.7/base-4.14.3.0/include -I/opt/ghc/8.10.7/lib/ghc-8.10.7/integer-gmp-1.0.3.0/include -I/opt/ghc/8.10.7/lib/ghc-8.10.7/include -optP-include -optP_build_hetero-prim-eq/stage0/libraries/bytestring/build/autogen/cabal_macros.h -outputdir _build_hetero-prim-eq/stage0/libraries/bytestring/build -fdiagnostics-color=always -optc-Wno-error=inline -optP-Wno-nonportable-include-path -c libraries/bytestring/Data/ByteString/Internal.hs -o _build_hetero-prim-eq/stage0/libraries/bytestring/build/Data/ByteString/Internal.o -O -H32m -Wall -fwarn-tabs -O2 -fmax-simplifier-iterations=10 -fdicts-cheap -fspec-constr-count=6 -XHaskell2010 -fno-warn-deprecated-flags ===> Command failed with error code: 1 libraries/bytestring/Data/ByteString/Internal.hs:277:23: error: • Couldn't match type ‘m’ with ‘TH.Q’ ‘m’ is a rigid type variable bound by the type signature for: TH.lift :: forall (m :: * -> *). TH.Quote m => ByteString -> m TH.Exp at libraries/bytestring/Data/ByteString/Internal.hs:277:3-6 Expected type: m TH.Exp Actual type: TH.Q TH.Exp
EDIT: the code in
bytestring
is#if MIN_VERSION_template_haskell(2,16,0) lift (BS ptr len) = [| unsafePackLenLiteral |] `TH.appE` TH.litE (TH.integerL (fromIntegral len)) `TH.appE` TH.litE (TH.BytesPrimL $ TH.Bytes ptr 0 (fromIntegral len))
And that is not entirely correct CPP as what TH-splices return is GHC dependent, but OTOH
template-haskell
and GHC versions are tied everywhere else than when bootstrapping GHC, so I won't blamebytestring
. Easier to require more recent GHC for bootstrap.Edited by Oleg Grenrus - sheaf assigned to @mpickering
assigned to @mpickering
- sheaf added Pnormal Tbug configure script labels and removed needs triage label
added Pnormal Tbug configure script labels and removed needs triage label
- sheaf marked #22262 (closed) as a duplicate of this issue
marked #22262 (closed) as a duplicate of this issue
- sheaf marked this issue as related to #22262 (closed)
marked this issue as related to #22262 (closed)
- Ben Gamari mentioned in commit 94584671
mentioned in commit 94584671
- Matthew Pickering mentioned in merge request !9154 (closed)
mentioned in merge request !9154 (closed)
- Ben Gamari mentioned in commit 60f6ec99
mentioned in commit 60f6ec99
- Ben Gamari closed with commit f60244d7
closed with commit f60244d7
- Ben Gamari mentioned in commit f60244d7
mentioned in commit f60244d7
- Oleg Grenrus mentioned in issue #22450 (closed)
mentioned in issue #22450 (closed)