
#8205: the 'impossible' happened : expectJust block_order ----------------------------------------+---------------------------------- Reporter: erikd | Owner: jstolarek Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.7 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC failed | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: ----------------------------------------+---------------------------------- Comment (by erikd): Pulled HEAD and tested this on powerpc64-linux. No longer getting the originally reported but now get the following: {{{ "inplace/bin/ghc-stage1" -hisuf hi -osuf o -hcsuf hc -static -H32m -O -Werror -Wall -H64m -O0 -package-name base-4.7.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -ilibraries/base/dist- install/build/autogen -Ilibraries/base/dist-install/build -Ilibraries/base/dist- install/build/autogen -Ilibraries/base/include -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/autogen/cabal_macros.h -package ghc-prim-0.3.1.0 -package integer-gmp-0.5.1.0 -package rts-1.0 -package-name base -XHaskell98 -XCPP -O2 -O -dcore-lint -fno-warn-deprecated-flags -no-user-package-db -rtsopts -odir libraries/base/dist-install/build -hidir libraries/base/dist- install/build -stubdir libraries/base/dist-install/build -c libraries/base/./Text/Printf.hs -o libraries/base/dist-install/build/Text/Printf.o In file included from /home/erikd/PPC64/ghc-ppc64/includes/Stg.h:232:0: 0, from /tmp/ghc9517_0/ghc9517_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 /tmp/ghc9517_0/ghc9517_2.hc: In function 'ghczm7zi7zi20130912_Platform_zdWPlatform_slow': /tmp/ghc9517_0/ghc9517_2.hc:16:1: error: 'MainCapability' undeclared (first use in this function) }}} followed by well over 100 complaints about `MainCapability`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8205#comment:22 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler