[GHC] #7011: 32bit GHC 7.4.2 cannot compile integer-gmp on OS X 10.8

GHC ghc-devs at haskell.org
Fri Jan 3 17:22:25 UTC 2014


#7011: 32bit GHC 7.4.2 cannot compile integer-gmp on OS X 10.8
--------------------------------------+---------------------------------
        Reporter:  chak               |            Owner:
            Type:  bug                |           Status:  new
        Priority:  high               |        Milestone:  7.8.1
       Component:  libraries (other)  |          Version:  7.5
      Resolution:                     |         Keywords:  Mountain Lion
Operating System:  MacOS X            |     Architecture:  x86
 Type of failure:  None/Unknown       |       Difficulty:  Unknown
       Test Case:                     |       Blocked By:
        Blocking:                     |  Related Tickets:
--------------------------------------+---------------------------------
Changes (by George):

 * status:  infoneeded => new


Comment:

 build of GHC head fails on Mavericks with gcc 4.8:

 ...
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/libgmp.a(mp_clz_tab.o) has no symbols
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/libgmp.a(obprintf.o) has no symbols
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/libgmp.a(obvprintf.o) has no symbols
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/libgmp.a(obprntffuns.o) has no symbols
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/libgmp.a(repl-vsnprintf.o) has no symbols
 libtool: link: ranlib .libs/libgmp.a
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/libgmp.a(mp_clz_tab.o) has no symbols
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/libgmp.a(obprintf.o) has no symbols
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/libgmp.a(obvprintf.o) has no symbols
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/libgmp.a(obprntffuns.o) has no symbols
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/libgmp.a(repl-vsnprintf.o) has no symbols
 libtool: link: rm -fr .libs/libgmp.lax
 libtool: link: ( cd ".libs" && rm -f "libgmp.la" && cp -p "../libgmp.la"
 "libgmp.la" )
 cp libraries/integer-gmp/gmp/gmpbuild/gmp.h libraries/integer-gmp/gmp/
 cp libraries/integer-gmp/gmp/gmpbuild/.libs/libgmp.a libraries/integer-
 gmp/gmp/
 inplace/bin/mkdirhier libraries/integer-gmp/gmp/objs
 cd libraries/integer-gmp/gmp/objs && /usr/bin/ar x ../libgmp.a
 ranlib libraries/integer-gmp/gmp/libgmp.a
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: libraries/integer-gmp/gmp/libgmp.a(mp_clz_tab.o) has no symbols
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: libraries/integer-gmp/gmp/libgmp.a(obprintf.o) has no symbols
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: libraries/integer-gmp/gmp/libgmp.a(obvprintf.o) has no symbols
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: libraries/integer-gmp/gmp/libgmp.a(obprntffuns.o) has no symbols
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: libraries/integer-gmp/gmp/libgmp.a(repl-vsnprintf.o) has no symbols
 make: *** [all] Error 2

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


More information about the ghc-tickets mailing list