Opened 6 years ago

Closed 6 years ago

#8365 closed bug (fixed)

stage2 build fails on Solaris (SmartOS)

Reported by: oddsignals Owned by:
Priority: high Milestone: 7.8.1
Component: Runtime System Version: 7.7
Keywords: Cc: leon.p.smith@…, simonmar
Operating System: Solaris Architecture: x86
Type of failure: Building GHC failed Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


I'm getting some missing symbols building on 32-bit SmartOS.


$ 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- -package base- -package bytestring- -package directory- -package filepath- -package ghc-7.7.20130926 -package haskeline- -package process- -package transformers- -package unix- -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

Change History (2)

comment:1 Changed 6 years ago by lpsmith

Cc: leon.p.smith@… simonmar added

comment:2 Changed 6 years ago by kgardas

Resolution: fixed
Status: newclosed

I believe this is fixed by b9b94ec82d9125da47c619c69e626120b3e60457 and so should be closed now. If not, please reopen.

Note: See TracTickets for help on using tickets.