[GHC] #15040: DTrace enabled GHC does not work as a bootstrap compiler on FreeBSD

GHC ghc-devs at haskell.org
Mon Apr 16 07:34:36 UTC 2018


#15040: DTrace enabled GHC does not work as a bootstrap compiler on FreeBSD
-------------------------------------+-------------------------------------
           Reporter:  raichoo        |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.4.2
          Component:  Build System   |           Version:  8.4.1
           Keywords:  dtrace         |  Operating System:  FreeBSD
       Architecture:                 |   Type of failure:  Building GHC
  Unknown/Multiple                   |  failed
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 GHC 8.4.1 enables DTrace probes on FreeBSD. This currently causes issues
 with the using such compilers as a bootstrap compiler for building GHC
 itself due to the way linking of the RTS is handled. I didn't encounter
 any issues regarding daily use on FreeBSD but suspect it might cause
 problems with user defined hooks.

 Current workaround is to build a version of GHC with DTrace disabled and
 use that as a bootstrap compiler.

 A patch has been merged into HEAD. I've already tested it in combination
 with 8.4.2-rc1 and it worked fine.

 https://phabricator.haskell.org/rGHC4b831c27926d643b0b6fad82c1e946d05cde8645

 I have an idea on how to fix this but haven't had the time to put that
 plan into action.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15040>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list