Opened 7 years ago

Closed 7 years ago

#4872 closed bug (wontfix)

build failure on IA64 linux

Reported by: kgardas Owned by:
Priority: normal Milestone:
Component: Compiler Version: 6.12.3
Keywords: Cc:
Operating System: Linux Architecture: ia64
Type of failure: Building GHC failed Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


Hello, 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- -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’:

     warning: function called through a non-compatible type

     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[1]: *** [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.

Change History (1)

comment:1 Changed 7 years ago by igloo

Resolution: wontfix
Status: newclosed

Registerised -fvia-c is deprecated and will be removed in future (#3232). If you want registerised IA64 support then you'll need to make a native code generator for it. If you're interested in working on that, it's probably best to ask on the cvs-ghc list for advice on where to start.

Note: See TracTickets for help on using tickets.