HSghc-prim-0.3.1.0.o: unknown symbol 'memcpy'

2014-04-19 Thread M Farkas-Dyck
I just built stock ghc 7.8.1 against musl on Linux x86_64. I get this: $ ghci GHCi, version 7.8.1: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... ghc: /lib/ghc-7.8.1/ghc-prim-0.3.1.0/HSghc-prim-0.3.1.0.o: unknown symbol `memcpy' ghc: unable to load package `ghc-p

Re: HSghc-prim-0.3.1.0.o: unknown symbol 'memcpy'

2014-04-19 Thread Roman Cheplyaka
* M Farkas-Dyck [2014-04-19 12:18:31-0500] > I just built stock ghc 7.8.1 against musl on Linux x86_64. I get this: > > $ ghci > GHCi, version 7.8.1: http://www.haskell.org/ghc/ :? for help > Loading package ghc-prim ... linking ... ghc: > /lib/ghc-7.8.1/ghc-prim-0.3.1.0/HSghc-prim-0.3.1.0.o: un

Re: HSghc-prim-0.3.1.0.o: unknown symbol 'memcpy'

2014-04-19 Thread M Farkas-Dyck
Further information: musl 1.0.0 Ghc as a compiler works, but ghci and runghc fail. ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Re: HSghc-prim-0.3.1.0.o: unknown symbol 'memcpy'

2014-04-19 Thread M Farkas-Dyck
On 19/04/2014, Roman Cheplyaka wrote: > Don't know if it helps, but I think ghci loads the dynamic library, not the > static one. I straced both the broken ghci on aforesaid system and a working ghci on a glibc system and it loads bare .o files. ___ Gl

Re: HSghc-prim-0.3.1.0.o: unknown symbol 'memcpy'

2014-04-19 Thread Roman Cheplyaka
* M Farkas-Dyck [2014-04-19 12:55:23-0500] > On 19/04/2014, Roman Cheplyaka wrote: > > Don't know if it helps, but I think ghci loads the dynamic library, not the > > static one. > > I straced both the broken ghci on aforesaid system and a working ghci > on a glibc system and it loads bare .o f