segfault

Kazu Yamamoto (=?iso-2022-jp?B?GyRCOzNLXE9CSScbKEI=?=) kazu at iij.ad.jp
Sun Oct 27 02:24:07 UTC 2013


Hi,

With the commits of today, I can build GHC head on 32bit Linux, 64bit
Linux, FreeBSD, and OS X (Mavericks).

Thanks.

--Kazu

> On Sat, Oct 26, 2013 at 10:06:23PM +0900, Kazu Yamamoto wrote:
>> "inplace/bin/ghc-stage2" -hisuf hi -osuf  o -hcsuf hc -static  -H32m -O    -package-name random-1.0.1.1 -hide-all-packages -i -ilibraries/random/. -ilibraries/random/dist-install/build -ilibraries/random/dist-install/build/autogen -Ilibraries/random/dist-install/build -Ilibraries/random/dist-install/build/autogen -Ilibraries/random/.    -optP-include -optPlibraries/random/dist-install/build/autogen/cabal_macros.h -package base-4.7.0.0 -package time-1.4.1 -O2 -XHaskell98 -XCPP -O2  -no-user-package-db -rtsopts      -odir libraries/random/dist-install/build -hidir libraries/random/dist-install/build -stubdir libraries/random/dist-install/build  -dynamic-too -c libraries/random/./System/Random.hs -o libraries/random/dist-install/build/System/Random.o -dyno libraries/random/dist-install/build/System/Random.dyn_o
>> Segmentation fault
> 
> I get a similar issue on Linux x86_64:
> 
> "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/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 Cabal-1.18.1.1 -package array-0.5.0.0 -package base-4.7.0.0 -package containers-0.5.3.1 -package deepseq-1.3.0.2 -package directory-1.2.0.2 -package filepath-1.3.0.2 -package ghc-7.7.20131026 -package xhtml-3000.2.1 -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/src/Haddock/Backends/Hoogle.hs -o utils/haddock/dist/build/Haddock/Backends/Hoogle.dyn_o 
> Segmentation fault (core dumped)
> make[1]: *** [utils/haddock/dist/build/Haddock/Backends/Hoogle.dyn_o] Error 139
> make: *** [all] Error 2


More information about the ghc-devs mailing list