logo       

[GHC] #813: -optc-O2 used by default in GhcRtsHcOpts while building 6.5, le: msg#00018

lang.haskell.glasgow.bugs

Subject: [GHC] #813: -optc-O2 used by default in GhcRtsHcOpts while building 6.5, leading make to fail

#813: -optc-O2 used by default in GhcRtsHcOpts while building 6.5, leading make
to fail
-------------------------+--------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.5
Severity: normal | Keywords:
Os: Linux | Difficulty: Unknown
Architecture: powerpc |
-------------------------+--------------------------------------------------
GHC-6.4.2 initial compiler

gcc (GCC) 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.8)

making ghc-6.5-20060703 snapshot

download, unpack, configure with custom --prefix, and `make`
eventually errors with:
{{{
../compiler/ghc-inplace -H16m -O -optc-O2 -static -I. -#include
HCIncludes.h -dcmm-lint -#include posix/Itimer.h -c PrimOps.cmm -o
PrimOps.o
Prologue junk?: .globl retryzh_fast
.type retryzh_fast, @function
retryzh_fast:
mfcr 12
make[1]: *** [PrimOps.o] Error 255
make: *** [stage1] Error 1
}}}

Adding `GhcRtsHcOpts=-optc-O1` to mk/build.mk resolved this error upon
running `make` again.

-- Isaac Dupree

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/813>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise