[GHC] #7918: SrcSpan's associated with expanded quasi-quotes are inconsistent

GHC ghc-devs at haskell.org
Wed Sep 4 12:37:04 CEST 2013


#7918: SrcSpan's associated with expanded quasi-quotes are inconsistent
-----------------------------------------+---------------------------------
        Reporter:  edsko                 |            Owner:
            Type:  bug                   |           Status:  new
        Priority:  high                  |        Milestone:  7.8.1
       Component:  Compiler              |          Version:  7.7
      Resolution:                        |         Keywords:
Operating System:  Unknown/Multiple      |     Architecture:
 Type of failure:  None/Unknown          |  Unknown/Multiple
       Test Case:  quasiquotation/T7918  |       Difficulty:  Unknown
        Blocking:                        |       Blocked By:
                                         |  Related Tickets:
-----------------------------------------+---------------------------------
Changes (by simonmar):

 * owner:  edsko =>
 * status:  closed => new
 * resolution:  fixed =>


Comment:

 The test is failing for me:

 {{{
 =====> T7918(normal) 10 of 13 [0, 0, 0]
 cd . && '/home/simon/code-all/work/ghc-validate/inplace/bin/ghc-stage2'
 -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-
 db -rtsopts -fno-ghci-history -o T7918 T7918.hs  -package ghc
 >T7918.comp.stderr 2>&1
 cd . && ./T7918 "/home/simon/code-all/work/ghc-validate/inplace/lib"
 </dev/null >T7918.run.stdout 2>T7918.run.stderr
 Wrong exit code (expected 0 , actual 1 )
 Stdout:

 Stderr:
 T7918: <command line>: can't load .so/.DLL for: /home/simon/code-all/work
 /ghc-validate/libraries/ghc-prim/dist-install/build/libHSghc-
 prim-0.3.1.0-ghc7.7.20130904.so (/home/simon/code-all/work/ghc-
 validate/libraries/ghc-prim/dist-install/build/libHSghc-
 prim-0.3.1.0-ghc7.7.20130904.so: undefined symbol: stg_forkOnzh)

 *** unexpected failure for T7918(normal)
 }}}

 My guess is that the test itself is linked statically, but the GHC package
 is expecting to be linked dynamically, so it tries to load the shared
 libraries rather than the static ones.

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




More information about the ghc-tickets mailing list