Opened 6 years ago

Closed 6 years ago

#6169 closed bug (invalid)

Error when building GHC 7.4.2 on Raspberry Pi (ARM)

Reported by: djhworld Owned by:
Priority: normal Milestone:
Component: Build System Version: 7.4.2
Keywords: Cc:
Operating System: Linux Architecture: arm
Type of failure: Building GHC failed Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


Hi there,

I'm trying to build GHC 7.4.2 from source on my Raspberry Pi but I keep on getting this area when during the build process

[15 of 67] Compiling Distribution.Version ( libraries/Cabal/Cabal/Distribution/Version.hs, bootstrapping/Distribution/Version.o )
/tmp/ghc509_0/ghc509_0.hc: In function ‘s4BF_ret’:

     internal compiler error: in cond_exec_process_insns, at ifcvt.c:326
Please submit a full bug report,
with preprocessed source if appropriate.
See <> for instructions.
distcc[540] ERROR: compile (null) on localhost failed
make[1]: *** [utils/ghc-cabal/dist/build/tmp/ghc-cabal] Error 1
make: *** [all] Error 2

I've tried googling for the error but to not much avail.

My environment: -

  • GHC-6.12.3
  • GCC-4.7.0

Change History (1)

comment:1 Changed 6 years ago by igloo

difficulty: Unknown
Resolution: invalid
Status: newclosed

This looks like an internal compiler error in gcc. If you run GHC with "-v -keep-tmp-files" then you can see what command it's running, and what the input file looks like. That should allow you to file a bug on gcc.

Note: See TracTickets for help on using tickets.