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:

Description

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

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.