Failed to load interface for `Prelude'
naur at post11.tele.dk
Sat Apr 7 06:27:47 EDT 2007
I'm afraid that this is outside my direct experience. However, looking at
that google was kind enough to find for me, some assembler code generation
error seems indicated. I can see that you use -O2, but not whether -fasm or
-fvia-C (if any) is used. As I recall, the default selection between -fasm
and -fvia-C at some point depended on the -O level, but also has changed
recently. I would therefore suggest that you experiment with -O2 versus -O0
and -fasm versus -fvia-C to see if some combination will not carry you
1. It would probably be useful to give us the exact version of ghc that you
are using and also the version you are building. (Sorry if you reported it
and I missed it, but I cannot find it right now.)
2. The report that you give contains what seems to be fragments of command
lines. It would be useful to have the complete command lines.
3. In #1195, igloo reports that he has included some code to provide
additional information in case of ignored errors (which seems involved here).
Some additional context that surrounds the first error report would therefore
also be useful, I guess.
On Thursday 05 April 2007 21:46, Joel Reymont wrote:
> I think this is the reason. What's my next step?
> This is Mac OSX 10.4.9 Intel.
> == make all -r -f Makefile; in /Users/joelr/work/haskell/ghc/
> ----../../compiler/ghc-inplace -H32m -O2 -fglasgow-exts -cpp -
> Iinclude -"#include" HsBase.h -funbox-strict-fields -package-name
> base-2.0 -fgenerics -split-objs -c GHC/Err.lhs-boot -o GHC/Err.o-
> boot -ohi GHC/Err.hi-boot../../compiler/ghc-inplace -H32m -O2 -
> fglasgow-exts -cpp -Iinclude -"#include" HsBase.h -funbox-strict-
> fields -package-name base-2.0 -fgenerics -split-objs -c GHC/
> PrimopWrappers.hs -o GHC/PrimopWrappers.o -ohi GHC/
> PrimopWrappers.higcc -O -c System/CPUTime_hsc.c -o System/
> CPUTime_hsc.ogcc -O -c System/Time_hsc.c -o System/Time_hsc.o../../
> compiler/ghc-inplace -H32m -O2 -fglasgow-exts -cpp -Iinclude
> -"#include" HsBase.h -funbox-strict-fields -package-name base-2.0 -
> fgenerics -split-objs -c GHC/Base.lhs -o GHC/Base.o -ohi GHC/
> Base.hi/tmp/ghc4826_0/ghc4826_0.split__178.s:unknown:missing indirect
> symbols for section (__TEXT,__symbol_stub)make: *** [GHC/
> PrimopWrappers.o] Error 1make: ***
More information about the Glasgow-haskell-users