[GHC] #3438: Unregisterised build broken

GHC trac at galois.com
Tue Aug 18 09:38:16 EDT 2009


#3438: Unregisterised build broken
-------------------------------+--------------------------------------------
  Reporter:  simonmar          |          Owner:                  
      Type:  bug               |         Status:  new             
  Priority:  high              |      Milestone:  6.12.1          
 Component:  Runtime System    |        Version:  6.11            
  Severity:  normal            |       Keywords:                  
Difficulty:  Unknown           |       Testcase:                  
        Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
-------------------------------+--------------------------------------------
 The unregisterised nightly build is failing thusly:

 {{{
 "/home/simonmar/fp/bin/x86_64-unknown-linux/ghc" -optc-O -optc-DNO_REGS
 -optc-DUSE_MINIINTERPRETER -optc-D__GLASGOW_HASKELL__=611 -optc-
 Icompiler/stage1 -optc-Icompiler/../libraries/base/cbits -optc-
 Icompiler/../libraries/base/include -optc-Icompiler/. -optc-
 Icompiler/parser -optc-Icompiler/utils -optc-DOMIT_NATIVE_CODEGEN -optc-
 isystem/home/simonmar/fp/lib/x86_64-unknown-
 linux/ghc-6.10.2/bytestring-0.9.1.4/include -optc-
 isystem/home/simonmar/fp/lib/x86_64-unknown-
 linux/ghc-6.10.2/process-1.0.1.1/include -optc-
 isystem/home/simonmar/fp/lib/x86_64-unknown-
 linux/ghc-6.10.2/directory-1.0.0.3/include -optc-
 isystem/home/simonmar/fp/lib/x86_64-unknown-
 linux/ghc-6.10.2/unix-2.3.2.0/include -optc-
 isystem/home/simonmar/fp/lib/x86_64-unknown-linux/ghc-6.10.2/old-
 time-1.0.0.2/include -optc-isystem/home/simonmar/fp/lib/x86_64-unknown-
 linux/ghc-6.10.2/base-4.1.0.0/include -optc-
 isystem/home/simonmar/fp/lib/x86_64-unknown-linux/ghc-6.10.2/include
 -H32m -O  -package-conf libraries/bootstrapping.conf  -package-name
 ghc-6.11 -hide-all-packages -i -icompiler/basicTypes -icompiler/cmm
 -icompiler/codeGen -icompiler/coreSyn -icompiler/cprAnalysis
 -icompiler/deSugar -icompiler/ghci -icompiler/hsSyn -icompiler/iface
 -icompiler/main -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-
 DOMIT_NATIVE_CODEGEN -optP-include
 -optPcompiler/stage1/build/autogen/cabal_macros.h -package Cabal-1.7.3
 -package array-0.2.0.0 -package base-4.1.0.0 -package bytestring-0.9.1.4
 -package containers-0.2.0.1 -package directory-1.0.0.3 -package
 filepath-1.1.0.2 -package hpc-0.5.0.3 -package old-time-1.0.0.2 -package
 process-1.0.1.1 -package unix-2.3.2.0  -DOMIT_NATIVE_CODEGEN -#include
 cutils.h -DSTAGE=1 -Wall -fno-warn-name-shadowing -fno-warn-orphans -XCPP
 -XMagicHash -XUnboxedTuples -XPatternGuards -XForeignFunctionInterface
 -XEmptyDataDecls -XTypeSynonymInstances -XMultiParamTypeClasses
 -XFlexibleInstances -XRank2Types -XScopedTypeVariables
 -XDeriveDataTypeable -XRelaxedPolyRec     -c compiler/parser/cutils.c -o
 compiler/stage1/build/parser/cutils.o
 <command-line>: warning: "__GLASGOW_HASKELL__" redefined
 <command-line>: warning: this is the location of the previous definition
 compiler/parser/cutils.c: In function 'enableTimingStats':

 compiler/parser/cutils.c:45:0:
      error: 'RtsFlags' undeclared (first use in this function)

 compiler/parser/cutils.c:45:0:
      error: (Each undeclared identifier is reported only once

 compiler/parser/cutils.c:45:0:
      error: for each function it appears in.)

 compiler/parser/cutils.c:45:0:
      error: 'ONELINE_GC_STATS' undeclared (first use in this function)
 compiler/parser/cutils.c: In function 'setHeapSize':

 compiler/parser/cutils.c:51:0:
      error: 'RtsFlags' undeclared (first use in this function)
 }}}

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


More information about the Glasgow-haskell-bugs mailing list