[GHC] #1538: GHC/Float.lhs on Mac OS X 10.4 can not always be
compiled with -split-objs
GHC
trac at galois.com
Mon Jul 16 05:34:53 EDT 2007
#1538: GHC/Float.lhs on Mac OS X 10.4 can not always be compiled with -split-objs
---------------------------------------+------------------------------------
Reporter: Christian.Maeder at dfki.de | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.8
Component: Compiler | Version: 6.6.1
Severity: normal | Keywords:
Difficulty: Unknown | Os: MacOS X
Testcase: | Architecture: x86
---------------------------------------+------------------------------------
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
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1538>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
-------------- next part --------------
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs at haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
More information about the Glasgow-haskell-bugs
mailing list