Skip to content

Build failure on Solaris/SPARC due to misaligned data access (bus error)

Building of GHC 7.10.1 fails on Solaris/SPARC platform with:

"inplace/bin/ghc-stage2" -hisuf dyn_hi -osuf  dyn_o -hcsuf dyn_hc -fPIC -dynamic  -H32m -O    -hide-all-packages -i -iutils/haddock/driver -iutils/haddock/haddock-api/src -iutils/haddock/haddock-library/vendor/attoparsec-0.12.1.1 -iutils/haddock/haddock-library/src -iutils/haddock/dist/build -iutils/haddock/dist/build/autogen -Iutils/haddock/dist/build -Iutils/haddock/dist/build/autogen    -optP-DIN_GHC_TREE -optP-include -optPutils/haddock/dist/build/autogen/cabal_macros.h -package-key Cabal_HWT8QvVfJLn2ubvobpycJY -package-key array_FaHmcBFfuRM8kmZLEY8D5S -package-key base_I5BErHzyOm07EBNpKBEeUv -package-key bytes_6vj5EoliHgNHISHCVCb069 -package-key conta_47ajk3tbda43DFWyeF3oHQ -package-key deeps_FpR4obOZALU1lutWnrBldi -package-key direc_3TcTyYedch32o1zTH2MR00 -package-key filep_5HhyRonfEZoDO205Wm9E4h -package-key ghc_IS8uiRKDTo1CRjcMAZsBb8 -package-key trans_ALYlebOVzVI4kxbFX5SGhm -package-key xhtml_0mVDYvYGgNUBWShvlDofr1 -funbox-strict-fields -Wall -fwarn-tabs -O2 -XHaskell2010  -no-user-package-db -rtsopts      -odir utils/haddock/dist/build -hidir utils/haddock/dist/build -stubdir utils/haddock/dist/build   -c utils/haddock/haddock-library/vendor/attoparsec-0.12.1.1/Data/Attoparsec/Number.hs -o utils/haddock/dist/build/Data/Attoparsec/Number.dyn_o
gmake[1]: *** [utils/haddock/dist/build/Data/Attoparsec/Number.dyn_o] Bus Error (core dumped)
gmake: *** [all] Error 2
Trac metadata
Trac field Value
Version 7.10.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information