#4068: GHC 6.12.2 on Mac OS X from GHC-6.12.2-i386.pkg fails with "Undefined
symbols: "_iconv_close", referenced from: _hs_iconv_close in
libHSbase-4.2.0.1.a(iconv.o) ..."
----------------------------+-----------------------------------------------
Reporter: thorkilnaur | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.12.2 | Keywords:
Os: MacOS X | Testcase:
Architecture: x86 | Failure: Other
----------------------------+-----------------------------------------------
Comment(by thorkilnaur):
Building a fresh GHC 6.12.2 from
http://haskell.org/ghc/dist/6.12.2/ghc-6.12.2-src.tar.bz2, found:
{{{
$ nm /Users/thorkilnaur/tn/GHC/unpack/ghc-6.12.2/libraries/base/dist-
install/build/libHSbase-4.2.0.1.a 2>&1 | grep iconv
...
/Users/thorkilnaur/tn/GHC/unpack/ghc-6.12.2/libraries/base/dist-
install/build/libHSbase-4.2.0.1.a(iconv.o):
00000010 T _hs_iconv
00000020 T _hs_iconv_close
00000000 T _hs_iconv_open
U _libiconv
U _libiconv_close
U _libiconv_open
$
}}}
As opposed to the result for the GHC 6.12.2 from
http://haskell.org/ghc/dist/6.12.2/GHC-6.12.2-i386.pkg:
{{{
$ nm
/Library/Frameworks/GHC.framework/Versions/612/usr/lib/ghc-6.12.2/base-4.2.0.1/libHSbase-4.2.0.1.a
2>&1 | grep iconv
...
/Library/Frameworks/GHC.framework/Versions/612/usr/lib/ghc-6.12.2/base-4.2.0.1/libHSbase-4.2.0.1.a(iconv.o):
00000010 T _hs_iconv
00000020 T _hs_iconv_close
00000000 T _hs_iconv_open
U _iconv
U _iconv_close
U _iconv_open
$
}}}
Using the freshly built version of the library, the problem disappears.
Best regards
Thorkil
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4068#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs