build failure on IA64 linux
|Reported by:||kgardas||Owned by:|
|Type of failure:||Building GHC failed||Difficulty:|
|Test Case:||Blocked By:|
while attempting to build ghc-6.12.3 on i64-unknown-linux-gnu platform I've got to this failure:
"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 -ilibraries/ghc-prim/dist-install/build/autogen -Ilibraries/ghc-prim/dist-install/build -Ilibraries/ghc-prim/dist-install/build/autogen -Ilibraries/ghc-prim/. -optP-include -optPlibraries/ghc-prim/dist-install/build/autogen/cabal_macros.h -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 libraries/ghc-prim/dist-install/build/GHC/Generics.o /tmp/ghc20067_0/ghc20067_0.hc: In function ‘__stginit_ghczmprim_GHCziGenerics’: /tmp/ghc20067_0/ghc20067_0.hc:331:0: warning: function called through a non-compatible type /tmp/ghc20067_0/ghc20067_0.hc:331:0: note: if this code is reached, the program will abort Unmangled TAILCALL tokens remain after mangling at /home/kgardas/src/ghc-6.12.3/inplace/lib/ghc-asm line 1607, <INASM> line 1719. make: *** [libraries/ghc-prim/dist-install/build/GHC/Generics.o] Error 255 make: *** [all] Error 2
the platform provides ghc 6.8.2 and gcc 4.3.2 so I'm not able to use ghc 7.0.2 yet if I understand it correctly.
My guess is that the mangler for IA64 is broken, however I'm not able to find any wiki page which would explain what it should do to ghc novice.