#7072: GHC interpreter does not find stat64 symbol on Linux
-------------------------------+--------------------------------------------
    Reporter:  snoyberg        |       Owner:            
        Type:  bug             |      Status:  new       
    Priority:  normal          |   Milestone:  7.8.1     
   Component:  GHCi            |     Version:  7.4.2     
    Keywords:                  |          Os:  Linux     
Architecture:  x86_64 (amd64)  |     Failure:  GHCi crash
  Difficulty:  Unknown         |    Testcase:            
   Blockedby:  3658            |    Blocking:            
     Related:                  |  
-------------------------------+--------------------------------------------
Changes (by igloo):

  * difficulty:  => Unknown
  * milestone:  => 7.8.1


Comment:

 Thanks for the report. I get this:
 {{{
 ghc --make Setup
 ./Setup configure
 ./Setup build
 ./Setup register --inplace
 cd exe
 ghci main.hs
 GHCi, version 7.7.20121020: http://www.haskell.org/ghc/  :? for help
 Loading package ghc-prim ... linking ... done.
 Loading package integer-gmp ... linking ... done.
 Loading package base ... linking ... done.
 [1 of 1] Compiling Main             ( main.hs, interpreted )
 Ok, modules loaded: Main.
 *Main> main
 Loading package stat-test-0.1.0.0 ... linking ... <interactive>:
 /home/ian/work/ghc/tmp/7072/stat-test-0.1.0.0/dist/build/libHSstat-
 test-0.1.0.0.a: unknown symbol `stat'
 ghc-stage2: unable to load package `stat-test-0.1.0.0'
 *Main>
 }}}
 but with dynamic-by-default:
 {{{
 *Main> main
 Loading package stat-test-0.1.0.0 ... linking ... done.
 About to stat-test.c
 Done
 *Main>
 }}}
 so this will be fixed when we move to dynamic-by-default.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to