Opened 4 years ago

Last modified 3 years ago

#3827 new bug

Compiling fails on linux-powerpc

Reported by: speleologic Owned by:
Priority: normal Milestone:
Component: Compiler Version: 6.12.1
Keywords: Cc: mle+hs@…
Operating System: Linux Architecture: powerpc
Type of failure: Building GHC failed Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

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-0.2.0.0 -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 (4)

comment:1 Changed 4 years ago by igloo

  • Description modified (diff)

comment:2 Changed 4 years ago by igloo

  • Milestone set to _|_

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 4 years ago by igloo

See also #3828

comment:4 Changed 3 years ago by erikd

  • Cc mle+hs@… added
Note: See TracTickets for help on using tickets.