[GHC] #13824: ghc 8.2 does not build for me on ppc64le
GHC
ghc-devs at haskell.org
Tue Jun 13 19:16:15 UTC 2017
#13824: ghc 8.2 does not build for me on ppc64le
----------------------------------------+---------------------------------
Reporter: msuchanek | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.2.1-rc2
Resolution: | Keywords:
Operating System: Linux | Architecture: powerpc64
Type of failure: Building GHC failed | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
----------------------------------------+---------------------------------
@@ -0,0 +1,1 @@
+ {{{
@@ -10,0 +11,1 @@
+ }}}
New description:
{{{
[ 5732s] ghc-stage1: panic! (the 'impossible' happened)
[ 5732s] (GHC version 8.2.0.20170613 for powerpc64le-unknown-linux):
[ 5732s] dwarfReturnRegNo: Unsupported platform!
[ 5732s] CallStack (from HasCallStack):
[ 5732s] error, called at compiler/nativeGen/Dwarf/Constants.hs:225:19
in ghc:Dwarf.Constants
[ 5732s]
[ 5732s] Please report this as a GHC bug:
http://www.haskell.org/ghc/reportabug
}}}
--
Comment (by bgamari):
Thanks for your report.
It looks like you are building with `-g3`, which isn't supported on
PowerPC. Is this present in `mk/build.mk`?
There are a few ways we could deal with this:
1. Fail on unsupported platforms as we do now, perhaps with a nicer error
message
2. Silently ignore the flag
3. Warn and ignore the flag
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13824#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list