[GHC] #12236: Windows profiling: T11627b segfaults for WAY=prof_hc_hb

#12236: Windows profiling: T11627b segfaults for WAY=prof_hc_hb ----------------------------------------+--------------------------------- Reporter: thomie | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Profiling | Version: 7.10.3 Keywords: | Operating System: Windows Architecture: Unknown/Multiple | Type of failure: None/Unknown Test Case: | Blocked By: Blocking: | Related Tickets: #11627 Differential Rev(s): | Wiki Page: ----------------------------------------+--------------------------------- Reproducible with 7.10.3, 8.0.1 and today's HEAD ( afa6e8309e8e7a069abcf7879791d53cdf22f00a). The test was added by @jme in #11627. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12236 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12236: Windows profiling: T11627b segfaults for WAY=prof_hc_hb
---------------------------------+----------------------------------------
Reporter: thomie | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Profiling | Version: 7.10.3
Resolution: | Keywords:
Operating System: Windows | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #11627 | Differential Rev(s):
Wiki Page: |
---------------------------------+----------------------------------------
Comment (by Thomas Miedema

#12236: Windows profiling: T11627b segfaults for WAY=prof_hc_hb ---------------------------------+---------------------------------------- Reporter: thomie | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Profiling | Version: 7.10.3 Resolution: | Keywords: Operating System: Windows | Architecture: Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #11627 | Differential Rev(s): Wiki Page: | ---------------------------------+---------------------------------------- Comment (by Phyx-): I don't get a segfault, I get: {{{ $ cat T11627b.comp.stderr [1 of 1] Compiling Main ( T11627b.hs, T11627b.o ) T11627b.hs:1:1: error: Failed to load interface for ‘Prelude’ Perhaps you haven't installed the profiling libraries for package ‘base-4.9.0.0’? Use -v to see a list of the files searched for. T11627b.hs:9:1: error: Failed to load interface for ‘GHC.Types’ Perhaps you haven't installed the profiling libraries for package ‘ghc-prim-0.5.0.0’? Use -v to see a list of the files searched for. T11627b.hs:10:1: error: Failed to load interface for ‘System.Mem’ Perhaps you haven't installed the profiling libraries for package ‘base-4.9.0.0’? Use -v to see a list of the files searched for. }}} on a normal devel2 build. Do I need a different kind for prof? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12236#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12236: Windows profiling: T11627b segfaults for WAY=prof_hc_hb ---------------------------------+---------------------------------------- Reporter: thomie | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Profiling | Version: 7.10.3 Resolution: | Keywords: Operating System: Windows | Architecture: Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #11627 | Differential Rev(s): Wiki Page: | ---------------------------------+---------------------------------------- Comment (by thomie): You need the profiling libraries. Make sure `BUILD_PROF_LIBS=YES`, for example by setting it in `mk/build.mk`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12236#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC