Re: I can't build HEAD
Thank you Matt for being strict This kind of issue have bitten me in the past e.g. - https://gitlab.haskell.org/ghc/ghc/-/issues/22450 - https://gitlab.haskell.org/ghc/ghc/-/issues/22245 So I really welcome the change in policy - Oleg On 10.7.2023 11.55, Matthew Pickering wrote: The ticket which tracks bumping the bootstrap compiler to 9.4 is https://gitlab.haskell.org/ghc/ghc/-/issues/23195 We should bump all the images and update the configure check *before* merging changes which require a newer bootstrap compiler. I imagine this problem has been introduced by https://gitlab.haskell.org/ghc/ghc/-/merge_requests/10827 so I will revert that commit for now until the relevant other parts have been updated. Cheers, Matt On Sun, Jul 9, 2023 at 9:53 PM Simon Peyton Jones wrote: Upgrade your bootstrap compiler to >= 9.4. We have now bumped HEAD's version to 9.8, which means that 9.4 is the earliest possible bootstrap compiler (which `text` now takes advantage of, as you see here). I have Aha. I'll do that. You have to admit, the error message is not helpful :-). A suggestion for the future: when bumping the minimum bootstrap compiler, it would be possible (in the same commit) to fix configure to complain about too-early versions? Anyway I'm now building with 9.6, and doubtless that will be fine. Thanks. Simon On Sun, 9 Jul 2023 at 18:49, Ben Gamari wrote: Simon Peyton Jones writes: in a clean HEAD build, including "git submodule update", I get this. Can anyone help? Upgrade your bootstrap compiler to >= 9.4. We have now bumped HEAD's version to 9.8, which means that 9.4 is the earliest possible bootstrap compiler (which `text` now takes advantage of, as you see here). I have a patch bumping the `configure` check stewing in my 9.8 preparation branch. Cheers, - Ben ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Re: I can't build HEAD
The ticket which tracks bumping the bootstrap compiler to 9.4 is https://gitlab.haskell.org/ghc/ghc/-/issues/23195 We should bump all the images and update the configure check *before* merging changes which require a newer bootstrap compiler. I imagine this problem has been introduced by https://gitlab.haskell.org/ghc/ghc/-/merge_requests/10827 so I will revert that commit for now until the relevant other parts have been updated. Cheers, Matt On Sun, Jul 9, 2023 at 9:53 PM Simon Peyton Jones wrote: >> >> Upgrade your bootstrap compiler to >= 9.4. We have now bumped HEAD's >> version to 9.8, which means that 9.4 is the earliest possible bootstrap >> compiler (which `text` now takes advantage of, as you see here). I have > > > Aha. I'll do that. > > You have to admit, the error message is not helpful :-). A suggestion for > the future: when bumping the minimum bootstrap compiler, it would be possible > (in the same commit) to fix configure to complain about too-early versions? > > Anyway I'm now building with 9.6, and doubtless that will be fine. Thanks. > > Simon > > > > On Sun, 9 Jul 2023 at 18:49, Ben Gamari wrote: >> >> Simon Peyton Jones writes: >> >> > in a clean HEAD build, including "git submodule update", I get this. >> > >> > Can anyone help? >> > >> Upgrade your bootstrap compiler to >= 9.4. We have now bumped HEAD's >> version to 9.8, which means that 9.4 is the earliest possible bootstrap >> compiler (which `text` now takes advantage of, as you see here). I have >> a patch bumping the `configure` check stewing in my 9.8 preparation >> branch. >> >> Cheers, >> >> - Ben > > ___ > ghc-devs mailing list > ghc-devs@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Re: I can't build HEAD
> > Upgrade your bootstrap compiler to >= 9.4. We have now bumped HEAD's > version to 9.8, which means that 9.4 is the earliest possible bootstrap > compiler (which `text` now takes advantage of, as you see here). I have > Aha. I'll do that. You have to admit, the error message is not helpful :-). A suggestion for the future: when bumping the minimum bootstrap compiler, it would be possible (in the same commit) to fix configure to complain about too-early versions? Anyway I'm now building with 9.6, and doubtless that will be fine. Thanks. Simon On Sun, 9 Jul 2023 at 18:49, Ben Gamari wrote: > Simon Peyton Jones writes: > > > in a clean HEAD build, including "git submodule update", I get this. > > > > Can anyone help? > > > Upgrade your bootstrap compiler to >= 9.4. We have now bumped HEAD's > version to 9.8, which means that 9.4 is the earliest possible bootstrap > compiler (which `text` now takes advantage of, as you see here). I have > a patch bumping the `configure` check stewing in my 9.8 preparation > branch. > > Cheers, > > - Ben > ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Re: I can't build HEAD
Simon Peyton Jones writes: > in a clean HEAD build, including "git submodule update", I get this. > > Can anyone help? > Upgrade your bootstrap compiler to >= 9.4. We have now bumped HEAD's version to 9.8, which means that 9.4 is the earliest possible bootstrap compiler (which `text` now takes advantage of, as you see here). I have a patch bumping the `configure` check stewing in my 9.8 preparation branch. Cheers, - Ben ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Re: I can't build HEAD
Spam detection software, running on the system "mail.haskell.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: On Sun, Jul 09, 2023 at 05:49:38PM +0100, Simon Peyton Jones wrote: > in a clean HEAD build, including "git submodule update", I get this. > > Can anyone help? Did you run "cabal update"? What is your boot compiler version? [...] Content analysis details: (5.8 points, 5.0 required) pts rule name description -- -- -0.0 SPF_PASS SPF: sender matches SPF record 5.0 UNWANTED_LANGUAGE_BODY BODY: Message written in an undesired language 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4970] --- Begin Message --- On Sun, Jul 09, 2023 at 05:49:38PM +0100, Simon Peyton Jones wrote: > in a clean HEAD build, including "git submodule update", I get this. > > Can anyone help? Did you run "cabal update"? What is your boot compiler version? > # cabal-configure (for _build/stage0/libraries/text/setup-config) > | Run GhcPkg Recache (Stage0 InTreeLibs): none => none > hadrian: Encountered missing or private dependencies: > data-array-byte >=0.1 && <0.2 So far, it looks like HEAD is building for me (still running and got past building "text"): /\ | Successfully built library 'text' (Stage0 InTreeLibs, way v). | | Library: /home/viktor/dev/ghc/_build/stage0/libraries/text/build/libHStext-2.0.2-inplace.a | | Library synopsis: An efficient packed Unicode text type. | \/ ... many lines and some time later ... /--\ | Successfully built library 'text' (Stage1, way p). | | Library: /home/viktor/dev/ghc/_build/stage1/libraries/text/build/libHStext-2.0.2-inplace_p.a | | Library synopsis: An efficient packed Unicode text type. | \--/ * Source tree clean * Boot compiler GHC 9.6.1 * Cabal 3.10.1.0 + cabal update Build script (FreeBSD): BOOTPREFIX=$HOME/.local/ghc-9.6 BOOTGHC=$BOOTPREFIX/bin/ghc PREFIX=$HOME/.local/ghc-master BDIR=$HOME/dev/ghc/_build git submodule sync git submodule update ./boot GHC=$BOOTGHC \ CLANG=/usr/local/bin/clang15 \ LLC=/usr/local/bin/llc15 \ OPT=/usr/local/bin/opt15 \ AR=/usr/local/bin/ar fp_prog_ar=$AR bash ./configure \ --prefix=$PREFIX \ --enable-large-address-space \ --with-gmp-includes=/usr/local/include \ --with-gmp-libraries=/usr/local/lib \ --with-hs-cpp=/usr/bin/cc GHC=$BOOTGHC \ hadrian/build -j9 -o"${BDIR}" --docs=no-sphinx binary-dist-dir -- Viktor. --- End Message --- ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
I can't build HEAD
in a clean HEAD build, including "git submodule update", I get this. Can anyone help? Simon | Run Ar Pack (Stage0 InTreeLibs): _build/stage0/libraries/ghc-heap/build/cmm/cbits/HeapPrim.o (and 15 more) => _build/stage0/libraries/ghc-heap/build/libHSghc-heap-9.9-inplace.a ar: creating _build/stage0/libraries/ghc-heap/build/libHSghc-heap-9.9-inplace.a /-\ | Successfully built library 'ghc-heap' (Stage0 InTreeLibs, way v). | | Library: _build/stage0/libraries/ghc-heap/build/libHSghc-heap-9.9-inplace.a | | Library synopsis: Functions for walking GHC's heap. | \-/ ]0;Running for 2m35s [2621/2966], predicted 47s (77%) ]0;Running for 2m40s [2621/2966], predicted 47s (77%) ]0;Running for 2m45s [2621/2966], predicted 47s (77%) | Run Ghc CompileHs (Stage0 InTreeLibs): libraries/containers/containers/src/Data/Sequence/Internal/Sorting.hs => _build/stage0/libraries/containers/containers/build/Data/Sequence/Internal/Sorting.o | Run GhcPkg Unregister (Stage0 GlobalLibs): process => none | Run GhcPkg Update (Stage0 InTreeLibs): _build/stage0/libraries/exceptions/inplace-pkg-config => none | Copy package 'exceptions' # cabal-copy (for _build/stage0/lib/package.conf.d/exceptions-0.10.7-inplace.conf) # cabal-configure (for _build/stage0/libraries/text/setup-config) | Run GhcPkg Recache (Stage0 InTreeLibs): none => none hadrian: Encountered missing or private dependencies: data-array-byte >=0.1 && <0.2 ]0;Finished in 2m47s ExitFailure 1 Build failed. make: *** [/home/simonpj/code/Makefile-spj:10: all] Error 1 simonpj@CDW-8FABODHF0V5:~/code/HEAD$ ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs