#3242: ghci: can't load .so/.DLL for: m (addDLL: could not load DLL) ---------------------------+------------------------------------------------ Reporter: jeffz1 | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.4.3 Component: GHCi | Version: 7.4.1 Resolution: | Keywords: Os: Windows | Architecture: x86 Failure: None/Unknown | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: ---------------------------+------------------------------------------------
Comment(by nus): The reference to an undefined symbol `_copysignf` is a result of a foreign import in `IEEE.hs`: {{{ $ nm ieee754-0.7.3/ghc-7.4.2/HSieee754-0.7.3.o |grep copysignf U _copysignf [..snip...] }}} {{{ ieee754-0.7.3/Numeric/IEEE.hs: [...snip...] foreign import ccall unsafe "copysignf" [...snip...] }}} {{{ $ cabal build [...snip...] Building ieee754-0.7.3... [...snip...] compile: input file .\Numeric\IEEE.hs [...snip...] *** Stg2Stg: *** CodeGen: *** CodeOutput: *** Assembler: "C:\mnt\data1\ghc32b\lib/../mingw/bin/gcc.exe" "-fno-stack-protector" "-Wl ,--hash-size=31" "-Wl,--reduce-memory-overheads" "-I.\Numeric" "-Idist\build" "-Idist\build\autogen" "-Idist\build" "-c" "C:\Users\adm\AppData\Local\Temp\ghc3328_0\ghc3328_0.s" "-o" "dist\build\Numeric\IEEE.o" [...snip...] }}} {{{ $ grep _copysignf /tmp/ghc3588_0/ghc3588_0.s call _copysignf call _copysignf }}} {{{ $ nm dist/build/Numeric/IEEE.o |grep copysignf U _copysignf 00000078 D _ieee754zm0zi7zi3_NumericziIEEE_czucopysignf_closure 00001038 T _ieee754zm0zi7zi3_NumericziIEEE_czucopysignf_info }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3242#comment:21> 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