[GHC] #2197: GHCi doesn't work when built with way=p

GHC trac at galois.com
Mon Apr 13 13:43:24 EDT 2009


#2197: GHCi doesn't work when built with way=p
---------------------------------+------------------------------------------
    Reporter:  SamB              |        Owner:  simonmar   
        Type:  bug               |       Status:  new        
    Priority:  low               |    Milestone:  6.10 branch
   Component:  GHCi              |      Version:  6.9        
    Severity:  normal            |   Resolution:             
    Keywords:                    |   Difficulty:  Unknown    
    Testcase:                    |           Os:  Linux      
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Old description:

> I don't really mind so much that Cabal etc. don't support building GHCi
> profiling libs (it would be easy enough to do by hand), but the fact that
> GHCi tries to load the un-profiling GHCi libs is a bit annoying... it
> doesn't work too well...
>
> naesten at hydrogen:~/hacking/haskell/ghc-hashedrepo% ./compiler/stage2/ghc-
> inplace_p --interactive
> GHCi, version 6.9.20080305: http://www.haskell.org/ghc/  :? for help
> ghc_p-6.9.20080305: /home/naesten/hacking/haskell/ghc-
> hashedrepo/libraries/ghc-prim/dist/build/HSghc-prim-0.1.o: unknown symbol
> `traceCcszh_fast'
> Loading package ghc-prim ... linking ... ghc_p-6.9.20080305: unable to
> load package `ghc-prim'

New description:

 I don't really mind so much that Cabal etc. don't support building GHCi
 profiling libs (it would be easy enough to do by hand), but the fact that
 GHCi tries to load the un-profiling GHCi libs is a bit annoying... it
 doesn't work too well...
 {{{
 naesten at hydrogen:~/hacking/haskell/ghc-hashedrepo% ./compiler/stage2/ghc-
 inplace_p --interactive
 GHCi, version 6.9.20080305: http://www.haskell.org/ghc/  :? for help
 ghc_p-6.9.20080305: /home/naesten/hacking/haskell/ghc-hashedrepo/libraries
 /ghc-prim/dist/build/HSghc-prim-0.1.o: unknown symbol `traceCcszh_fast'
 Loading package ghc-prim ... linking ... ghc_p-6.9.20080305: unable to
 load package `ghc-prim'
 }}}

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


More information about the Glasgow-haskell-bugs mailing list