logo       

Re: GHC 6.2.2 and 6.4.1 on IRIX64 both failed, this time with new error: msg#00124

lang.haskell.glasgow.bugs

Subject: Re: GHC 6.2.2 and 6.4.1 on IRIX64 both failed, this time with new error

Andrew Jones wrote:
This is the failed 6.4.1 build, but when using 3.4.6 instead of 3.4.0,
both 6.2.2 and 6.4.1 fail this way.

root@godot#gcc --version
gcc (GCC) 3.4.6

root@godot#uname -aR
IRIX64 godot 6.5 6.5.29f 01090133 IP27

root@godot#ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.2



==fptools== gmake all -wr;
in /disk2/src/ghc-6.4.1/ghc/rts
------------------------------------------------------------------------
../../ghc/compiler/ghc-inplace "-L/usr/freeware/lib64" -O2 -static -I.
-#include Prelude.h -#include Rts.h -#include RtsFlags.h -#include
RtsUtils.h -#include StgRun.h -#include Schedule.h -#include Printer.h
-#include Sanity.h -#include STM.h -#include Storage.h -#include
SchedAPI.h -#include Timer.h -#include Itimer.h -#include ProfHeap.h
-#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?

Cheers,
Simon


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise