`ghc` in `pkg` is incapable of bootstrapping
Gleb Popov
6yearold at gmail.com
Sun Jun 3 07:25:03 UTC 2018
On Sun, Jun 3, 2018 at 2:55 AM, raichoo via freebsd-haskell <
freebsd-haskell at freebsd.org> wrote:
> Hi,
>
> I've posted on this list a couple of weeks ago. GHC 8.4.1+ has enabled
> dtrace probes on
> FreeBSD, sadly this caused an issue with GHC's ability to function as a
> bootstrap compiler to
> build GHC. 8.4.2 added a flag to disable dtrace support and link the RTS in
> a way that
> does not tamper with the bootstrap ability of the compiler.
>
> I'd recommand to ship GHC built with --disable-dtrace for the moment. That
> does not seem to
> be the case with the GHC that is currently being shipped via `pkg` so
> people trying
> to bootstrap their own compiler might run into unpleasant surprises.
>
Is that so? We build GHC with --enable-dtrace=0 on FreeBSD 10 and 11. And
the current bootstrap version is already 8.4.2.
> I've just now submitted a patch to GHC project that fixes this issue and
> it'll hopefully be
> available as soon as possible.
>
> Kind regards,
> raichoo
> _______________________________________________
> freebsd-haskell at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-haskell
> To unsubscribe, send any mail to "freebsd-haskell-unsubscribe at freebsd.org"
>
More information about the freebsd-haskell
mailing list