Opened 11 years ago

Closed 6 years ago

#813 closed bug (fixed)

-optc-O2 used by default in GhcRtsHcOpts while building 6.5, leading make to fail

Reported by: guest Owned by:
Priority: normal Milestone:
Component: Compiler Version: 6.5
Keywords: Cc: michal.terepeta@…
Operating System: Linux Architecture: powerpc
Type of failure: None/Unknown Test Case: N/A
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


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
        mfcr 12
make[1]: *** [PrimOps.o] Error 255
make: *** [stage1] Error 1

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

-- Isaac Dupree

Change History (4)

comment:1 Changed 11 years ago by simonpj

Milestone: _|_

Seems platform specific. We don't have a powerpc/linux platform. Can anyone else help?

comment:2 Changed 11 years ago by igloo

Test Case: N/A

comment:3 Changed 7 years ago by michalt

Cc: michal.terepeta@… added
Status: newinfoneeded
Type of failure: None/Unknown

This is probably not reproducible with current GHC, but it would be nice if someone on powerpc could actually confirm that.

comment:4 Changed 6 years ago by igloo

Resolution: fixed
Status: infoneededclosed

No response, so let's assume it's fixed.

Note: See TracTickets for help on using tickets.