How to compile unregisterised build?
marlowsd at gmail.com
Tue Jan 4 15:14:55 CET 2011
On 31/12/2010 19:53, Karel Gardas wrote:
> before going to fill some bugreports about broken unregisterised builds
> I'd like to be sure I understand the topic and know well how to
> configure it.
> So, I do have three platforms with Linux OS:
> - mips64: gcc 4.3.2 + ghc 6.8.2 (debian)
> - ARMv7: gcc 4.4.1 + ghc 6.10.4 (Ubuntu)
> - IA64: gcc 4.3.2 + ghc 6.8.2 (debian)
> on all three, I attempted to build 6.12.3 unregisterised by:
> cat > mk/build.mk
> On all three platforms this failed with:
> "inplace/bin/ghc-stage1" -H32m -O -package-name ghc-prim-0.2.0.0
> -hide-all-packages -i -ilibraries/ghc-prim/.
> -Ilibraries/ghc-prim/dist-install/build/autogen -Ilibraries/ghc-prim/.
> -package rts-1.0 -package-name ghc-prim -XCPP -XMagicHash
> -XForeignFunctionInterface -XUnliftedFFITypes -XUnboxedTuples
> -XEmptyDataDecls -XNoImplicitPrelude -O2 -XGenerics
> -fno-warn-deprecated-flags -odir
> libraries/ghc-prim/dist-install/build -hidir
> libraries/ghc-prim/dist-install/build -stubdir
> libraries/ghc-prim/dist-install/build -hisuf hi -osuf o -hcsuf hc -c
> libraries/ghc-prim/./GHC/Generics.hs -o
> In file included from /home/kgardas/src/ghc-6.12.3/includes/Stg.h:230,
> from /tmp/ghc14979_0/ghc14979_0.hc:3:0:
> /tmp/ghc14979_0/ghc14979_0.hc: In function
> warning: implicit declaration of function ‘JMP_’
> ghc-stage1: could not execute:
> make: *** [libraries/ghc-prim/dist-install/build/GHC/Generics.o] Error 1
> make: *** [all] Error 2
That ought to work, I think. We had an unregisterised nightly builder
until fairly recently - that's something we should resurrect. In the
meantime I'll try an unregisterised build manually and see if I can
reproduce the problem.
More information about the Glasgow-haskell-users