[GHC] #11521: Test failures for the `profasm` way when BUILD_PROF_LIBS=YES
GHC
ghc-devs at haskell.org
Sun Jan 31 15:37:06 UTC 2016
#11521: Test failures for the `profasm` way when BUILD_PROF_LIBS=YES
-------------------------------------+-------------------------------------
Reporter: thomie | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Test Suite | Version: 7.11
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
When running `validate --slow`, which also builds libraries the profiling
way now (see #11496), a lot of tests are failing for test ways `profasm`
and `profthreaded`.
To reproduce, set `BUILD_PROF_LIBS=YES` in `mk/build.mk` and run `make` in
toplevel directory. Then run:
`make test CLEANUP=1 WAY=profasm TEST="T2552 cgrun045 T5626 cgrun051
cgrun016 cgrun059 T2120 T11193 T9078 overflow3 overflow2 overflow1 T10728
T7919 T11049 T5550 conc021 SplicesUsed T5654b-O1 T5654b-O0 T2552 Rules1
T3220 T7837 ColInference3 hpc_fork ffi008 fptrfail01 TH_spliceViewPat
overloadedrecfldsrun04 overloadedlabelsrun04 arr004 arr007 arr008 arr003
assert T8089 readFloat stm060 T5628 tough T7411 qq007 qq008 qq009"`
(some of the above tests might be failing for other reasons, but most
should be about this issue)
Here is an example failure:
{{{
--- ./codeGen/should_run/cgrun045.stderr.normalised 2016-01-31
16:34:03.831816885 +0100
+++ ./codeGen/should_run/cgrun045.run.stderr.normalised 2016-01-31
16:34:03.831816885 +0100
@@ -1,3 +1,6 @@
cgrun045: hello world!
CallStack (from HasCallStack):
error, called at cgrun045.hs:<line>:<column> in <package-id>:Main
\ No newline at end of file
+CallStack (from -prof):
+ Main.main (cgrun045.hs:6:1-52)
+ Main.CAF (<entire-module>)
\ No newline at end of file
*** unexpected failure for cgrun045(profasm)
}}}
Is this expected behavior? The double callstacks look a little weird to
me.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11521>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list