trouble building ghc-7.4 on Fedora 18 (devel) ARM

Jens Petersen juhp at community.haskell.org
Fri Apr 27 04:04:10 CEST 2012


Thanks Joachim, Jani and Karel,

Very helpful :)

I managed to get access to a Fedora armv7hl box,
and running "ghc -v" there on an offending file I saw the argument to llc was:

llc -O3 -relocation-model=static /tmp/ghc3749_0/ghc3749_0.bc -o
/tmp/ghc3749_0/ghc3749_0.lm_s -mattr=+v7,+vfp3

which is not the expected one:  -mattr=+v7,+vfp3,+d16 [-float-abi=hard].
ie the patched line is not the one getting applied...

(It seems to me it would be better to fix llvm though?  Maybe it is
already upstream??)

Anyway sorry <blush/> it seems the reason for the above is that I
forget to run aclocal! :-(

Not sure if +d16 is actually essential on Fedora though guess it doesn't hurt.

Karel, I will try to test your patch later.

Thanks
Jens



More information about the Glasgow-haskell-users mailing list