[GHC] #1437: Build failures on Mac OS X 10.5
GHC
trac at galois.com
Thu Jun 28 10:52:55 EDT 2007
#1437: Build failures on Mac OS X 10.5
------------------------------+---------------------------------------------
Reporter: maeder at tzi.de | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.8
Component: Compiler | Version: 6.6.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: MacOS X | Testcase:
Architecture: x86 |
------------------------------+---------------------------------------------
Comment (by maeder at tzi.de):
When I try to build a distribution with the following `mk/build.mk`
{{{
BIN_DIST=1
Project=Ghc
SRC_HC_OPTS = -O -fasm -keep-s-files -keep-raw-s-files
GhcStage1HcOpts = -O -fasm -keep-s-files -keep-raw-s-files
GhcStage2HcOpts = -O -fasm -keep-s-files -keep-raw-s-files
GhcLibHcOpts = -O -fasm -keep-s-files -keep-raw-s-files
}}}
Making fails with:
{{{
make -C compiler stage=2
../compiler/stage1/ghc-inplace -O -fasm -keep-s-files -keep-raw-s-files
-istage
2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn
-istage2/prelude
-istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn
-istage
2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn
-istage2/si
mplStg -istage2/codeGen -istage2/main -istage2/profiling
-istage2/parser -i
stage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm
-istage2/
nativeGen -istage2/ghci -Istage2 -DGHCI -DBREAKPOINT -package template-
haskell
-threaded -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser
-package u
nix -package Cabal -package regex-compat -ignore-package lang -recomp
-Rghc-timi
ng -O -fasm -keep-s-files -keep-raw-s-files -H16M '-#include "cutils.h"'
-packag
e-name ghc-6.6.1 -fgenerics -c basicTypes/OccName.lhs-boot -o
stage2/basic
Types/OccName.o-boot -ohi stage2/basicTypes/OccName.hi-boot
basicTypes/OccName.lhs-boot:1:0:
Failed to load interface for `Prelude':
Use -v to see a list of the files searched for.
<<ghc: 18007308 bytes, 4 GCs, 97412/97412 avg/max bytes residency (1
samples), 1
6M in use, 0.00 INIT (0.00 elapsed), 0.02 MUT (0.06 elapsed), 0.01 GC
(0.02 elap
sed) :ghc>>
make[2]: *** [stage2/basicTypes/OccName.o-boot] Error 1
make[1]: *** [stage2] Error 2
make: *** [bootstrap2] Error 2
}}}
What goes wrong here? It works if `GhcLibHcOpts` is not set (it then
starts compiling the library with the stage1 compiler)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1437>
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