 
            #8935: Obscure linker bug leads to crash in GHCi
-------------------------------------+------------------------------------
        Reporter:  simonmar          |            Owner:  simonmar
            Type:  bug               |           Status:  new
        Priority:  high              |        Milestone:  7.8.3
       Component:  Runtime System    |          Version:  7.8.1-rc2
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  GHCi crash        |       Difficulty:  Rocket Science
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------
Comment (by trommler):
 Validating on x86_64 Linux:
 {{{
 Unexpected failures:
    codeGen/should_run  cgrun051 [bad exit code] (normal)
    ffi/should_compile  cc004 [stderr mismatch] (normal)
    ffi/should_run      T2276_ghci [bad stdout or stderr] (ghci)
    ghci/scripts        T8696 [bad stderr] (ghci)
    perf/compiler       T3064 [stat not good enough] (normal)
    perf/compiler       T6048 [stat not good enough] (optasm)
 }}}
 So two dynamic linking related test failures: T2276_ghci and T8696.
 T2276_ghci:
 {{{
 =====> T2276_ghci(ghci) 3154 of 3962 [0, 0, 0]
 cd ./ffi/should_run && $MAKE -s --no-print-directory T2276_ghci_setup
 T2276_ghci_c.c:4:1:
      warning: ‘stdcall’ attribute ignored [-Wattributes]
      {
      ^
 cd ./ffi/should_run && '/local/home/peter/ghc-validate/inplace/bin/ghc-
 stage2' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-
 package-db -rtsopts -fno-ghci-history T2276_ghci.hs --interactive -v0
 -ignore-dot-ghci +RTS -I0.1 -RTS -fobject-code T2276_ghci_c.o