[GHC] #8365: stage2 build fails on Solaris (SmartOS)

GHC ghc-devs at haskell.org
Thu Sep 26 22:29:49 CEST 2013


#8365: stage2 build fails on Solaris (SmartOS)
----------------------------------+----------------------------------------
       Reporter:  oddsignals      |             Owner:
           Type:  bug             |            Status:  new
       Priority:  high            |         Milestone:  7.8.1
      Component:  Runtime System  |           Version:  7.7
       Keywords:                  |  Operating System:  Solaris
   Architecture:  x86             |   Type of failure:  Building GHC failed
     Difficulty:  Unknown         |         Test Case:
     Blocked By:                  |          Blocking:
Related Tickets:                  |
----------------------------------+----------------------------------------
 I'm getting some missing symbols building on 32-bit SmartOS.

 'quick' flavour build, DYNAMIC_BY_DEFAULT = NO, DYNAMIC_GHC_PROGRAMS = NO.

 {{{
 $ uname -a
 SunOS pkgx86 5.11 joyent_20130919T215407Z i86pc i386 i86pc Solaris
 }}}

 {{{
 "inplace/bin/ghc-stage1" -o ghc/stage2/build/tmp/ghc-stage2 -hisuf hi
 -osuf  o -hcsuf hc -static  -H64m -O0 -fasm    -hide-all-packages -i
 -ighc/. -ighc/stage2/build -ighc/stage2/build/autogen -Ighc/stage2/build
 -Ighc/stage2/build/autogen    -optP-DGHCI -optP-include
 -optPghc/stage2/build/autogen/cabal_macros.h -package array-0.4.0.2
 -package base-4.7.0.0 -package bytestring-0.10.3.0 -package
 directory-1.2.0.1 -package filepath-1.3.0.2 -package ghc-7.7.20130926
 -package haskeline-0.7.0.4 -package process-1.2.0.0 -package
 transformers-0.3.0.0 -package unix-2.7.0.0 -Wall -fno-warn-name-shadowing
 -XHaskell98 -XCPP -XPatternGuards -XNondecreasingIndentation
 -XForeignFunctionInterface -XUnboxedTuples -XFlexibleInstances -XMagicHash
 -O0 -fasm -threaded -no-user-package-db -rtsopts      -odir
 ghc/stage2/build -hidir ghc/stage2/build -stubdir ghc/stage2/build
 ghc/stage2/build/Main.o ghc/stage2/build/InteractiveUI.o
 ghc/stage2/build/GhciMonad.o ghc/stage2/build/GhciTags.o
 ghc/stage2/build/hschooks.o

 <no location info>:
     Warning: Couldn't figure out linker information!
              Make sure you're using GNU ld, GNU gold or the built in OS X
 linker, etc.
 Undefined                       first referenced
  symbol                             in file
 base_GHCziConcziIO_ensureIOManagerIsRunning_closure
 /opt/src/ghc/rts/dist/build/libHSrts_thr.a(RtsStartup.thr_o)
 base_GHCziConcziIO_ioManagerCapabilitiesChanged_closure
 /opt/src/ghc/rts/dist/build/libHSrts_thr.a(RtsStartup.thr_o)
 base_GHCziPack_unpackCString_closure
 /opt/src/ghc/rts/dist/build/libHSrts_thr.a(RtsAPI.thr_o)
 ld: fatal: symbol referencing errors. No output written to
 ghc/stage2/build/tmp/ghc-stage2
 collect2: error: ld returned 1 exit status
 make[1]: *** [ghc/stage2/build/tmp/ghc-stage2] Error 1
 make: *** [all] Error 2
 }}}

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



More information about the ghc-tickets mailing list