#15854 closed bug (fixed)

PPC: Panic in native code generator

Reported by: trommler Owned by: trommler
Priority: normal Milestone: 8.8.1
Component: Compiler Version: 8.7
Keywords: Cc: admock, slyfox
Operating System: Unknown/Multiple Architecture: powerpc64
Type of failure: Building GHC failed Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s): Phab:D5300
Wiki Page:

Description

Head fails on powerpc64le:

ghc-stage1: panic! (the 'impossible' happened)
  (GHC version 8.7.20181103 for powerpc64le-unknown-linux):
        PPC.CodeGen.getRegister: no match

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

libraries/ghc-prim/ghc.mk:4: recipe for target 'libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.o' failed

I think I know what is going on and will work on a fix.

Change History (7)

comment:1 Changed 15 months ago by trommler

Owner: set to trommler

comment:2 Changed 14 months ago by trommler

Differential Rev(s): Phab:5300
Status: newpatch

comment:3 Changed 14 months ago by potato44

Differential Rev(s): Phab:5300Phab:D5300

comment:4 Changed 14 months ago by admock

Cc: admock added

comment:5 Changed 14 months ago by slyfox

Cc: slyfox added

comment:6 Changed 13 months ago by Ben Gamari <ben@…>

In 9e763af/ghc:

PPC NCG: Implement MachOps for smaller sizes

Generate code for MachOps with smaller than wordsize data.
Refactor conversion MachOps.

Fixes #15854

Test Plan: validate (I validated on powerpc64le and x86_64 Linux)

Reviewers: bgamari, hvr, erikd, simonmar

Subscribers: rwbarton, carter

GHC Trac Issues: #15854

Differential Revision: https://phabricator.haskell.org/D5300

comment:7 Changed 13 months ago by bgamari

Resolution: fixed
Status: patchclosed
Note: See TracTickets for help on using tickets.