Opened 7 years ago

Closed 2 years ago

#3827 closed bug (worksforme)

Compiling fails on linux-powerpc

Reported by: speleologic Owned by:
Priority: normal Milestone:
Component: Build System Version: 6.12.1
Keywords: Cc: mle+hs@…
Operating System: Linux Architecture: powerpc
Type of failure: Building GHC failed Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description (last modified by igloo)

I get the following error after doing ./configure && make

ghc-stage1: panic! (the 'impossible' happened)
  (GHC version 6.12.1 for powerpc-unknown-linux):
        Error in array index

The command where the failure happens is:

"inplace/bin/ghc-stage1"   -H32m -O    -package-name ghc-prim- -hide-all-packages -i -ilibraries/ghc-prim/. -ilibraries/ghc-prim/dist-install/build -ilibraries/ghc-prim/dist-install/build/autogen -Ilibraries/ghc-prim/dist-install/build -Ilibraries/ghc-prim/dist-install/build/autogen -Ilibraries/ghc-prim/.    -optP-include -optPlibraries/ghc-prim/dist-install/build/autogen/cabal_macros.h -package rts-1.0 -split-objs -package-name ghc-prim -XCPP -XMagicHash -XForeignFunctionInterface -XUnliftedFFITypes -XUnboxedTuples -XEmptyDataDecls -XNoImplicitPrelude -O2 -XGenerics -fno-warn-deprecated-flags     -odir libraries/ghc-prim/dist-install/build -hidir libraries/ghc-prim/dist-install/build -stubdir libraries/ghc-prim/dist-install/build -hisuf hi -osuf  o -hcsuf hc -c libraries/ghc-prim/./GHC/Types.hs -o libraries/ghc-prim/dist-install/build/GHC/Types.o

Change History (5)

comment:1 Changed 7 years ago by igloo

Description: modified (diff)

comment:2 Changed 7 years ago by igloo

Milestone: _|_

It sounds like you're trying to do a registerised build, and the PPC/Linux platform has bitrotted.

We are unlikely to look into this as PPC/Linux is a tier 2 platform, but if someone else wants to look into it feel free to talk to the cvs-ghc list if you get stuck.

comment:3 Changed 7 years ago by igloo

See also #3828

comment:4 Changed 6 years ago by erikd

Cc: mle+hs@… added

comment:5 Changed 2 years ago by thomie

Component: CompilerBuild System
difficulty: Unknown
Resolution: worksforme
Status: newclosed

Closing this 5 year old ticket. Probably a lot has change since then, and #8437 leads me to believe the powerpc build actually worked quite recently.

Note: See TracTickets for help on using tickets.