Opened 13 months ago

Closed 13 months ago

Last modified 9 months ago

#15853 closed bug (fixed)

Unregisterised GHC panics when building test cgrun018

Reported by: iliastsi Owned by:
Priority: high Milestone: 8.8.1
Component: Compiler (CodeGen) Version: 8.4.3
Keywords: Cc: juhpetersen
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Compile-time crash or panic Test Case: cgrun018
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

An unregisterised ghc-8.4 on amd64 panics when building test cgrun018.

Compile failed (exit code 1) errors were:
[1 of 1] Compiling Main             ( cgrun018.hs, cgrun018.o )
ghc-stage2: panic! (the 'impossible' happened)
  (GHC version 8.4.4 for x86_64-unknown-linux):
        pprStatics: float
  F32
  F32
  F32
  F32
  F32
  F32
  F32
  F32
  F32
  F32
  F32
  Call stack:
      CallStack (from HasCallStack):
        callStackDoc, called at compiler/utils/Outputable.hs:1150:37 in ghc:Outputable
        pprPanic, called at compiler/cmm/PprC.hs:525:5 in ghc:PprC

We have seen this error while building packages for Debian on 64-bit architectures where GHC is unregisterised (e.g., mips64el, s390x): gloss on mips64el, juicypixels on s390x

Change History (4)

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

In 35a8977/ghc:

UNREG: PprC: Add support for adjacent floats

When two 32-bit floats are adjacent for a 64-bit target, there is no
padding between them to force alignment, so we must combine their bit
representations into a single word.

Reviewers: bgamari, simonmar

Reviewed By: simonmar

Subscribers: rwbarton, carter

GHC Trac Issues: #15853

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

comment:3 Changed 13 months ago by bgamari

Milestone: 8.8.1
Resolution: fixed
Status: newclosed

comment:4 Changed 9 months ago by juhpetersen

Cc: juhpetersen added
Note: See TracTickets for help on using tickets.