[GHC] #8301: error BaseReg must be in a register for THREADED_RTS

GHC ghc-devs at haskell.org
Sun Sep 15 00:42:55 CEST 2013


#8301: error BaseReg must be in a register for THREADED_RTS
-----------------------------+----------------------------------------
       Reporter:  erikd      |             Owner:
           Type:  bug        |            Status:  new
       Priority:  normal     |         Milestone:
      Component:  Compiler   |           Version:  7.7
       Keywords:             |  Operating System:  Linux
   Architecture:  powerpc64  |   Type of failure:  Building GHC failed
     Difficulty:  Unknown    |         Test Case:
     Blocked By:             |          Blocking:
Related Tickets:             |
-----------------------------+----------------------------------------
 Compiling git HEAD on powerpc64-linux. This was working as recently as two
 weeks ago. Now getting:

 {{{
 "inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static
   -H32m -O -Werror -Wall -H64m -O0    -package-name ghc-7.7.20130914
   -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/stage2/build
 -icompiler/stage2/build/autogen
   -Icompiler/stage2/build -Icompiler/stage2/build/autogen -Icompiler/.
   -Icompiler/parser -Icompiler/utils -Icompiler/stage2    -optP-include
   -optPcompiler/stage2/build/autogen/cabal_macros.h -package Cabal-1.18.1
   -package array-0.4.0.2 -package base-4.7.0.0
   -package bin-package-db-0.0.0.0 -package bytestring-0.10.3.0
   -package containers-0.5.3.1 -package directory-1.2.0.1
   -package filepath-1.3.0.2 -package hoopl-3.10.0.0 -package hpc-0.6.0.1
   -package process-1.2.0.0 -package time-1.4.1 -package
 transformers-0.3.0.0
   -package unix-2.7.0.0 -Wall -fno-warn-name-shadowing -XHaskell98 -XCPP
   -XMagicHash -XUnboxedTuples -XPatternGuards -XForeignFunctionInterface
   -XEmptyDataDecls -XTypeSynonymInstances -XMultiParamTypeClasses
   -XFlexibleInstances -XRankNTypes -XScopedTypeVariables
   -XDeriveDataTypeable -XBangPatterns -XNondecreasingIndentation -DNO_REGS
   -optc-DTHREADED_RTS -DSTAGE=2 -O2 -fwarn-tabs -fno-warn-amp  -O
   -dcore-lint  -no-user-package-db -rtsopts -odir compiler/stage2/build
   -hidir compiler/stage2/build -stubdir compiler/stage2/build
   -c compiler/utils/Platform.hs -o compiler/stage2/build/Platform.o

 In file included from /home/erikd/PPC64/ghc-ppc64/includes/Stg.h:232:0:
     0,
                      from /tmp/ghc10950_0/ghc10950_2.hc:3:

 /home/erikd/PPC64/ghc-ppc64/includes/stg/Regs.h:359:2:
      error: #error BaseReg must be in a register for THREADED_RTS

 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8301>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list