any successfull ghc registerised builds on arm?

Simon Marlow marlowsd at
Mon Jan 21 14:33:23 CET 2013

On 19/01/13 07:32, Stephen Paul Weber wrote:
> Somebody claiming to be Stephen Paul Weber wrote:
>> Somebody claiming to be Nathan Hüsken wrote:
>>> Was that an registerised or unregisterised build?
>>> Did anyone succesfully build ghc on an arm system which produces non
>>> crashing executables?
>> Just finally got a BB10 device set up so I can test my cross-compiler
>> on the ARM
>> I'm about to try a configuration with --enable-unregisterised to see
>> if that helps.
> make -r --no-print-directory -f phase=final all
> "inplace/bin/ghc-stage1" -static  -H64m -O0 -fasm    -package-name
> integer-simple- -hide-all-packages -i
> -ilibraries/integer-simple/.
> -ilibraries/integer-simple/dist-install/build
> -ilibraries/integer-simple/dist-install/build/autogen
> -Ilibraries/integer-simple/dist-install/build
> -Ilibraries/integer-simple/dist-install/build/autogen
> -Ilibraries/integer-simple/.    -optP-include
> -optPlibraries/integer-simple/dist-install/build/autogen/cabal_macros.h
> -package ghc-prim-  -package-name integer-simple -Wall
> -XHaskell98 -XCPP -XMagicHash -XBangPatterns -XUnboxedTuples
> -XForeignFunctionInterface -XUnliftedFFITypes -XNoImplicitPrelude -O
> -fasm  -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
> libraries/integer-simple/dist-install/build/GHC/Integer/Type.o
> when making flags consistent: Warning:
>      Compiler unregisterised, so compiling via C
> /tmp/ghc25891_0/ghc25891_0.hc: In function 'c2pA_entry':
> /tmp/ghc25891_0/ghc25891_0.hc:3691:1:
>       warning: this decimal constant is unsigned only in ISO C90
> [enabled by default]
> /tmp/ghc25891_0/ghc25891_0.hc:3691:17:
>       error: expected ')' before numeric constant
> make[1]: ***
> [libraries/integer-simple/dist-install/build/GHC/Integer/Type.o] Error 1
> make: *** [all] Error 2

Strange, I didn't see this on my builds, which I think is the same as 
yours (GHC HEAD, cross-compiling for RPi with --enable-unregisterised).

If you make a ticket with full details, I can try to reproduce.


More information about the Glasgow-haskell-users mailing list