[GHC] #9856: Test suite regressions due to integer-gmp2

GHC ghc-devs at haskell.org
Wed Dec 3 08:30:55 UTC 2014


#9856: Test suite regressions due to integer-gmp2
-------------------------------------+-------------------------------------
       Reporter:  nomeata            |                   Owner:
           Type:  bug                |                  Status:  new
       Priority:  normal             |               Milestone:
      Component:  Compiler           |                 Version:  7.9
       Keywords:                     |        Operating System:
   Architecture:  Unknown/Multiple   |  Unknown/Multiple
     Difficulty:  Unknown            |         Type of failure:
     Blocked By:                     |  None/Unknown
Related Tickets:                     |               Test Case:  prof-doc-
                                     |  fib linker_unload
                                     |                Blocking:
                                     |  Differential Revisions:  Phab:D82
-------------------------------------+-------------------------------------
 According to my performance builders, changeset:c774b28/ghc (Phab:D82)
 caused prof-doc-fib and linker_unload to fail on both performance builders
 (Ubuntu 13.10 and Ubuntu 14.04):

 {{{
 Wrong exit code (expected 0 , actual 2 )
 Stdout:

 Stderr:
 linker_unload: /home/nomeata/logs/ghc-tmp-REV/libraries/integer-gmp2/dist-
 install/build/libHSinteg_21cuTlnn00eFNd4GMrxOMi.a: unknown symbol
 `__gmpn_rshift'
 linker_unload: resolveObjs failed
 make[3]: *** [linker_unload] Error 1

 *** unexpected failure for linker_unload(normal)
 }}}
 and
 {{{
 Actual prof output differs from expected:
 --- ./profiling/should_run/prof-doc-fib.prof.sample     2014-12-01
 15:30:19.000000000 +0100
 +++ ./profiling/should_run/prof-doc-fib.prof    2014-12-01
 15:56:08.000000000 +0100
 @@ -1,9 +1,9 @@
 -       Thu Oct 27 09:29 2011 Time and Allocation Profiling Report
 (Final)
 +       Mon Dec  1 15:56 2014 Time and Allocation Profiling Report
 (Final)

 -          fib +RTS -p -RTS
 +          prof-doc-fib +RTS -hc -p -RTS

 -       total time  =        0.76 secs   (38 ticks @ 20 ms)
 -       total alloc = 247,940,020 bytes  (excludes profiling overheads)
 +       total time  =        0.14 secs   (135 ticks @ 1000 us, 1
 processor)
 +       total alloc = 107,829,304 bytes  (excludes profiling overheads)

  COST CENTRE MODULE  %time %alloc

 @@ -13,13 +13,16 @@
                                                        individual
 inherited
  COST CENTRE MODULE                  no.     entries  %time %alloc   %time
 %alloc

 -MAIN        MAIN                    102           0    0.0    0.0   100.0
 100.0
 - CAF        Main                    203           0    0.0    0.0   100.0
 100.0
 -  main      Main                    204           1    0.0    0.0   100.0
 100.0
 -   main.g   Main                    207           1    0.0    0.0     0.0
 0.1
 -    fib     Main                    208        1973    0.0    0.1     0.0
 0.1
 -   main.f   Main                    205           1    0.0    0.0   100.0
 99.9
 -    fib     Main                    206     2692537  100.0   99.9   100.0
 99.9
 - CAF        GHC.Conc.Signal         201           0    0.0    0.0     0.0
 0.0
 - CAF        GHC.IO.Encoding.Iconv   191           0    0.0    0.0     0.0
 0.0
 - CAF        GHC.IO.Handle.FD        183           0    0.0    0.0     0.0
 0.0
 +MAIN        MAIN                     45           0    0.0    0.0   100.0
 100.0
 + main       Main                     91           0    0.0    0.0     0.0
 0.0
 + CAF        Main                     89           0    0.0    0.0   100.0
 100.0
 +  main      Main                     90           1    0.0    0.0   100.0
 100.0
 +   main.f   Main                     94           1    0.0    0.0   100.0
 99.9
 +    fib     Main                     95     2692537  100.0   99.9   100.0
 99.9
 +   main.g   Main                     92           1    0.0    0.0     0.0
 0.1
 +    fib     Main                     93        1973    0.0    0.1     0.0
 0.1
 + CAF        GHC.IO.Handle.Text       86           0    0.0    0.0     0.0
 0.0
 + CAF        GHC.IO.Handle.FD         82           0    0.0    0.0     0.0
 0.0
 + CAF        GHC.Conc.Signal          78           0    0.0    0.0     0.0
 0.0
 + CAF        GHC.IO.Encoding          76           0    0.0    0.0     0.0
 0.0
 + CAF        GHC.IO.Encoding.Iconv    75           0    0.0    0.0     0.0
 0.0
 *** unexpected failure for prof-doc-fib(profasm)
 }}}

 The former is also observed by SPJ. The latter actually looks less like a
 regression, and more an improvement – maybe Herbert simply did not run a
 profiled version when updating test results?

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


More information about the ghc-tickets mailing list