Opened 7 years ago

Closed 7 years ago

#5460 closed bug (fixed)

Build failure on powerpc-linux

Reported by: erikd Owned by: simonmar
Priority: normal Milestone:
Component: Compiler Version: 7.2.1
Keywords: Cc:
Operating System: Linux Architecture: powerpc
Type of failure: Building GHC failed Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


"/usr/bin/ghc"   -H64m -O0 -fasm  -package-conf libraries/bootstrapping.conf  -package-name ghc-7.3 -hide-all-packages -i -icompiler/basicTypes -icompiler/cmm -icompiler/codeGen -icompiler/coreSyn -icompiler/deSugar -icompiler/ghci -icompiler/hsSyn -icompiler/iface -icompiler/llvmGen -icompiler/main -icompiler/nativeGen -icompiler/parser -icompiler/prelude -icompiler/profiling -icompiler/rename -icompiler/simplCore -icompiler/simplStg -icompiler/specialise -icompiler/stgSyn -icompiler/stranal -icompiler/typecheck -icompiler/types -icompiler/utils -icompiler/vectorise -icompiler/stage1/build -icompiler/stage1/build/autogen -Icompiler/stage1/build -Icompiler/stage1/build/autogen -Icompiler/stage1 -Icompiler/../libraries/base/cbits -Icompiler/../libraries/base/include -Icompiler/. -Icompiler/parser -Icompiler/utils    -optP-include -optPcompiler/stage1/build/autogen/cabal_macros.h -package Cabal-1.11.2 -package array- -package base- -package bin-package-db- -package bytestring- -package containers- -package directory- -package filepath- -package hoopl- -package hpc- -package old-time- -package process- -package unix-  -Wall -fno-warn-name-shadowing -fno-warn-orphans -XHaskell98 -XCPP -XMagicHash -XUnboxedTuples -XPatternGuards -XForeignFunctionInterface -XEmptyDataDecls -XTypeSynonymInstances -XMultiParamTypeClasses -XFlexibleInstances -XRank2Types -XScopedTypeVariables -XDeriveDataTypeable -DSTAGE=1 -Rghc-timing -O0 -fasm -DDEBUG -debug -no-user-package-conf -rtsopts     -odir compiler/stage1/build -hidir compiler/stage1/build -stubdir compiler/stage1/build -hisuf hi -osuf  o -hcsuf hc -c compiler/nativeGen/X86/Regs.hs -o compiler/stage1/build/X86/Regs.o

compiler/nativeGen/X86/Regs.hs:211:62: Not in scope: `wORD_SIZE'

compiler/nativeGen/X86/Regs.hs:213:62: Not in scope: `wORD_SIZE'

Attachments (1)

0001-Add-missing-import-fixes-5460.patch (741 bytes) - added by erikd 7 years ago.
Fix for this bug

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by erikd

Fix for this bug

comment:1 Changed 7 years ago by erikd

Status: newpatch

comment:2 Changed 7 years ago by simonmar

Owner: set to simonmar

comment:3 Changed 7 years ago by erikd@…

commit fedb6a991c5acfa6988ee5e28db15f1d259b78da

Author: Erik de Castro Lopo <>
Date:   Mon Sep 5 20:24:51 2011 +1000

    Add missing import (fixes #5460).

 compiler/nativeGen/X86/Regs.hs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

comment:4 Changed 7 years ago by simonmar

Resolution: fixed
Status: patchclosed
Note: See TracTickets for help on using tickets.