LLVM 3.2 failure
mainland at apeiron.net
Thu Mar 14 15:29:13 CET 2013
On 03/14/2013 02:15 PM, Jan Stolarek wrote:
>> Hm, you're sure that LLVM 3.2 is in your path when you configure GHC?
> I removed LLVM 3.0 from my system so there's no possibility of
mistaking 3.2 with 3.0. I'm also
> getting lots of compilation warnings about untested LLVM version -
this didn't happen with 3.0.
>> This is HEAD?
> Yes. Commit 56353e3da9d5718dfd25e25ccf61c78b25deefe8
>> Linux x64?
> [killy at xerxes : ~] uname -a
> Linux xerxes.discovery 184.108.40.206-24-desktop #1 SMP PREEMPT 2012-10-18
22:36:08 +0200 x86_64 x86_64
> x86_64 GNU/Linux
>> What is in your build.mk file?
> The relevant parts are:
> BuildFlavour = quick-llvm
> ifeq "$(BuildFlavour)" "quick-llvm"
> SRC_HC_OPTS = -H64m -O0 -fllvm
> GhcStage1HcOpts = -O -fllvm
> GhcStage2HcOpts = -O0 -fllvm
> GhcLibHcOpts = -O -fllvm
> SplitObjs = NO
> HADDOCK_DOCS = NO
> BUILD_DOCBOOK_HTML = NO
> BUILD_DOCBOOK_PS = NO
> BUILD_DOCBOOK_PDF = NO
> As you can see I'm not building the documentation. It's because it
fails to build on my system and
> I don't care much about resolving that.
You don't have the following line?
GhcLibWays = $(if $(filter $(DYNAMIC_BY_DEFAULT),YES),dyn,v)
I ask because I am using a stock build.mk copied from build.mk.sample
with BuildFlavour = quick-llvm, GHC HEAD, and LLVM 3.2, and my stage2
compiler crashes. It would be good to know *exactly* what the contents
of your build.mk are.
What version of GHC are you using to perform the build? Are you using
More information about the ghc-devs