[GHC] #8820: 7.8 RC1 unregisterised fails selfbootstrap on 64 bit Linux
GHC
ghc-devs at haskell.org
Mon Feb 24 19:06:06 UTC 2014
#8820: 7.8 RC1 unregisterised fails selfbootstrap on 64 bit Linux
----------------------------------+----------------------------------------
Reporter: trommler | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.8.1-rc1
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: Building GHC failed
Unknown/Multiple | Test Case:
Difficulty: Unknown | Blocking:
Blocked By: |
Related Tickets: #8819 |
----------------------------------+----------------------------------------
Selfbootstrap of an unregisterised ghc fails on 64 bit PowerPC and AMD but
not on 32 bit (PowerPC or Intel):
{{{
[10021s] "inplace/bin/ghc-stage1" -static -H32m -O -optc-mminimal-toc
-optc-fno-builtin -Iincludes -Iincludes/dist -Iincludes/dist-
derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts
-Irts/dist/build -DCOMPILING_RTS -package-name rts -optc-DNOSMP -dcmm-lint
-i -irts -irts/dist/build -irts/dist/build/autogen -Irts/dist/build
-Irts/dist/build/autogen -O2 -c rts/StgStartup.cmm -o
rts/dist/build/StgStartup.o
[10021s] ghc-stage1: panic! (the 'impossible' happened)
[10021s] (GHC version 7.8.0.20140220 for powerpc64-unknown-linux):
[10021s] no ppt
[10021s] ct ct: _cj::P64 = P64[(old + 16)];
[10021s] _ck::P64 = R1;
[10021s] goto cl;
[10021s]
[10021s] Please report this as a GHC bug:
http://www.haskell.org/ghc/reportabug
}}}
I disabled gcc's built in functions through {{{-fno-builtin}}} which got
rid of a load of warnings (incompatible types for the built-ins) but still
fails as shown above.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8820>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list