GHC/Float.lhs on Mac OS X 10.4 can not always be compiled with -split-objs
compiling vith -fasm fails:
../../compiler/ghc-inplace -O -fasm -fglasgow-exts -cpp -Iinclude -"#include" HsBase.h -funbox-strict-fields -package-name base-2.1.1 -fgenerics -split-objs -c GHC/Float.lhs -o GHC/Float.o -ohi GHC/Float.hi
/tmp/ghc12017_0/ghc12017_0.split__38.s:unknown:missing indirect symbols for section (__TEXT,__symbol_stub)
it succeeds with -fvia-C
../../compiler/ghc-inplace -O -fvia-C -fglasgow-exts -cpp -Iinclude -"#include" HsBase.h -funbox-strict-fields -package-name base-2.1.1 -fgenerics -split-objs -c GHC/Float.lhs -o GHC/Float.o -ohi GHC/Float.hi
it succeeds in all cases without -split-objs.
The above failure caused the first
Failed to load interface for Prelude'` error reported in #1437
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.6.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |