|
Re: trying to get a registerised alpha build: msg#00003lang.haskell.glasgow.bugs
Duncan Coutts wrote: On Fri, 2006-03-31 at 11:43 +0100, Simon Marlow wrote: I think the culprit is this bit of code in ghc/codeGen/SMRep.lhs: tablesNextToCode :: Bool #if defined(ia64_TARGET_ARCH) || defined(powerpc64_TARGET_ARCH) tablesNextToCode = False #else tablesNextToCode = not opt_Unregisterised #endif This is the compiler's idea of TABLES_NEXT_TO_CODE, which doesn't match the RTS's idea from RtsConfig.h. I suggest you just tweak this directly - the right way is probably to have another build system variable eg. $(GhcTablesNextToCode), but that's tricky to get right, and not generally useful (but by all means go ahead if you want). Also, I'm worried about the generation of ghc/includes/DerivedConstants.h, because this code in ghc/includes/Makefile says this: ifeq "$(GhcUnregisterised)" "YES" SRC_CC_OPTS += -DNO_REGS -DUSE_MINIINTERPRETER endif So if you want USE_MINIINTERPRETER without GhcUnregisterised, it better be in SRC_CC_OPTS here. Cheers, Simon
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: trying to get a registerised alpha build, Chris Parrott |
|---|---|
| Next by Date: | Re: [GHC] #738: ghc can't load files with selinux Enforcing, GHC |
| Previous by Thread: | Re: trying to get a registerised alpha build, Chris Parrott |
| Next by Thread: | ghci bug on initialization, Jan van Eijck |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |