DTrace patch for FreeBSD breaks ability to function as a bootstrap compiler under FreeBSD

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

DTrace patch for FreeBSD breaks ability to function as a bootstrap compiler under FreeBSD

GHC - devs mailing list
Hi,

Last year I've provided a patch that enables DTrace probes under FreeBSD, sadly as it turns
out this currently breaks the ability of GHC 8.4.1 to function as a bootstrap compiler under
FreeBSD. I've provided a patch that adds a flag to the build system so one can turn off DTrace
in case one needs to build a bootstrap compiler.

https://phabricator.haskell.org/D4575

This should probably also contain some heads up in the documentation, otherwise someone might
end up with a compiler that's not suitable for bootstrapping. Not sure on how this is being handled.

I have an idea on how to fix the actual issue but for the time being this might be a suitable workaround.
Maybe we can still get this into 8.4.2? I've already notified the FreeBSD ports maintainers regarding this
issue.

Sorry for the inconvenience.

Kind regards,
raichoo

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

Re: DTrace patch for FreeBSD breaks ability to function as a bootstrap compiler under FreeBSD

Ben Gamari-3
raichoo via ghc-devs <[hidden email]> writes:

> Hi,
>
> Last year I've provided a patch that enables DTrace probes under
> FreeBSD, sadly as it turns out this currently breaks the ability of
> GHC 8.4.1 to function as a bootstrap compiler under FreeBSD. I've
> provided a patch that adds a flag to the build system so one can turn
> off DTrace in case one needs to build a bootstrap compiler.
>
> https://phabricator.haskell.org/D4575
>
Thanks for the patch. Do you think you could open a ticket for this to
make sure we don't lose track of it?

> This should probably also contain some heads up in the documentation,
> otherwise someone might end up with a compiler that's not suitable for
> bootstrapping. Not sure on how this is being handled.
>
> I have an idea on how to fix the actual issue but for the time being
> this might be a suitable workaround. Maybe we can still get this into
> 8.4.2? I've already notified the FreeBSD ports maintainers regarding
> this issue.

Yes, I can push this to 8.4.2.

Thanks for the heads-up!
>
> Sorry for the inconvenience.
>
> Kind regards,
> raichoo
> _______________________________________________
> ghc-devs mailing list
> [hidden email]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

signature.asc (497 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: DTrace patch for FreeBSD breaks ability to function as a bootstrap compiler under FreeBSD

GHC - devs mailing list
Darn, just saw your message, sorry. I'll file a ticket once I can reach trac again.

On Sat, Apr 7, 2018 at 7:00 PM, Ben Gamari <[hidden email]> wrote:
raichoo via ghc-devs <[hidden email]> writes:

> Hi,
>
> Last year I've provided a patch that enables DTrace probes under
> FreeBSD, sadly as it turns out this currently breaks the ability of
> GHC 8.4.1 to function as a bootstrap compiler under FreeBSD. I've
> provided a patch that adds a flag to the build system so one can turn
> off DTrace in case one needs to build a bootstrap compiler.
>
> https://phabricator.haskell.org/D4575
>
Thanks for the patch. Do you think you could open a ticket for this to
make sure we don't lose track of it?

> This should probably also contain some heads up in the documentation,
> otherwise someone might end up with a compiler that's not suitable for
> bootstrapping. Not sure on how this is being handled.
>
> I have an idea on how to fix the actual issue but for the time being
> this might be a suitable workaround. Maybe we can still get this into
> 8.4.2? I've already notified the FreeBSD ports maintainers regarding
> this issue.

Yes, I can push this to 8.4.2.

Thanks for the heads-up!
>
> Sorry for the inconvenience.
>
> Kind regards,
> raichoo
> _______________________________________________
> ghc-devs mailing list
> [hidden email]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs