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

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

raichoo via ghc-devs
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.
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 ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

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
raichoo via ghc-devs
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.
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 ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
participants (2)
-
Ben Gamari
-
raichoo