LLVM build not working?

Stephen Paul Weber singpolyma at singpolyma.net
Thu Jan 24 02:23:59 CET 2013

I just tried my LLVM unregistered build again against HEAD (for QNX ARM) and 
got this:

make -r --no-print-directory -f ghc.mk phase=final all
"inplace/bin/ghc-stage1" -static  -H64m -O0 -fllvm    -package-name 
integer-simple- -hide-all-packages -i -ilibraries/integer-simple/.  
-Ilibraries/integer-simple/.    -optP-include 
-package ghc-prim-  -package-name integer-simple -Wall -XHaskell98 
-XCPP -XMagicHash -XBangPatterns -XUnboxedTuples -XForeignFunctionInterface 
-XUnliftedFFITypes -XNoImplicitPrelude -O -fllvm  -no-user-package-db 
-rtsopts      -odir libraries/integer-simple/dist-install/build -hidir 
libraries/integer-simple/dist-install/build -stubdir 
libraries/integer-simple/dist-install/build -hisuf hi -osuf  o -hcsuf hc -c 
libraries/integer-simple/./GHC/Integer/Type.hs -o 

when making flags consistent: Warning:
     Compiler unregisterised, so compiling via C
/tmp/ghc30896_0/ghc30896_0.hc: In function 'c2pA_entry':

      warning: this decimal constant is unsigned only in ISO C90 [enabled by 

      error: expected ')' before numeric constant
make[1]: *** 
[libraries/integer-simple/dist-install/build/GHC/Integer/Type.o] Error 1
make: *** [all] Error 2

You can clearly see that `-fllvm` *is* being passed, and I double-checked 
and I do have the quick-llvm build type selected... but it's trying via C?  

Stephen Paul Weber, @singpolyma
See <http://singpolyma.net> for how I prefer to be contacted
edition right joseph

More information about the ghc-devs mailing list