|
Re: GHC 6.2.2 and 6.4.1 on IRIX64 both failed, this time with new error: msg#00134lang.haskell.glasgow.bugs
simonmarhaskell: > >-#include LdvProfile.h -#include Profiling.h -#include Apply.h -fvia-C > >-dcmm-lint -c Apply.cmm -o Apply.o > >Cmm lint error: > > in proc stg_ap_0_ret > > in basic block c2 > > in assignment: > > R1 = I32[R1 + 8 + 0]; > > This looks like an inconsistency in bit widths somewhere: GHC thinks the > width of a word is 64, but soemthing else thinks its 32 bits. I suspect > ghc/includes/DerivedConstants.h doesn't agree with > ghc/includes/ghcautoconf.h. Perhaps you're not passing -mabi when > compiling ghc/includes/mkDerivedConstants.h? > Yes, when hacking on irix/mips64, I needed: export LDFLAGS="-L/usr/freeware/lib64 -L/import/pill0/1/dons/lib -mabi=64" export CPPFLAGS="-I/usr/freeware/include -I/import/pill0/1/dons/include" export CFLAGS=-mabi=64 export GHCRTS=-K20m export LD="/usr/bin/ld -64" cat >> mk/build.mk <<END SRC_CC_OPTS+=-mabi=64 SRC_HC_OPTS+=-optc-mabi=64 -opta-mabi=64 -optl-mabi=64 SRC_CC_OPTS+=-L/usr/freeware/lib64 -L/import/pill0/1/dons/lib SRC_HC_OPTS+=-L/usr/freeware/lib64 -L/import/pill0/1/dons/lib END And you'll need to add them to the final compiler's package.conf ldOptions as well. Btw, Andrew, did you try the ghc 6.0.1 Irix/mips64 binary on haskell.org/ghc? -- Don
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [GHC] #608: Make the NCG able to compile the RTS, GHC |
|---|---|
| Next by Date: | arithmetic sequences and the prelude: minor problems?, Laszlo Nemeth |
| Previous by Thread: | Re: GHC 6.2.2 and 6.4.1 on IRIX64 both failed, this time with new error, Simon Marlow |
| Next by Thread: | ASSERTION FAILED: file GC.c, line 1352, Joachim Breitner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |