Opened 8 years ago

Closed 3 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 Difficulty: Unknown
Test Case: N/A Blocked By:
Blocking: Related Tickets:

Description

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

Change History (4)

comment:1 Changed 8 years ago by simonpj

  • Milestone set to _|_

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

comment:2 Changed 8 years ago by igloo

  • Test Case set to N/A

comment:3 Changed 3 years ago by michalt

  • Cc michal.terepeta@… added
  • Status changed from new to infoneeded
  • Type of failure set to 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 3 years ago by igloo

  • Resolution set to fixed
  • Status changed from infoneeded to closed

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

Note: See TracTickets for help on using tickets.