[GHC] #8421: ghc build failure with template haskell on ghc head

#8421: ghc build failure with template haskell on ghc head ----------------------------------+---------------------------------------- Reporter: schell | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.7 Keywords: | Operating System: MacOS X Architecture: x86_64 (amd64) | Type of failure: Building GHC failed Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ----------------------------------+---------------------------------------- It seems that it failed while building template haskell with this output: {{{ "inplace/bin/ghc-stage1" -hisuf hi -osuf o -hcsuf hc -static -H32m -O -package-name ghc-7.7.20131008 -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/../rts/dist/build -Icompiler/stage2 -optP- DGHCI -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 template-haskell-2.9.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 -optc-DTHREADED_RTS -DGHCI_TABLES_NEXT_TO_CODE -DSTAGE=2 -O2 -no-user-package-db -rtsopts -odir compiler/stage2/build -hidir compiler/stage2/build -stubdir compiler/stage2/build -dynamic-too -c compiler/typecheck/TcSplice.lhs -o compiler/stage2/build/TcSplice.o -dyno compiler/stage2/build/TcSplice.dyn_o compiler/typecheck/TcSplice.lhs:1068:3: ‛qAddTopDecls’ is not a (visible) method of class ‛TH.Quasi’ compiler/typecheck/TcSplice.lhs:1099:3: ‛qAddModFinalizer’ is not a (visible) method of class ‛TH.Quasi’ compiler/typecheck/TcSplice.lhs:1103:3: ‛qGetQ’ is not a (visible) method of class ‛TH.Quasi’ compiler/typecheck/TcSplice.lhs:1109:3: ‛qPutQ’ is not a (visible) method of class ‛TH.Quasi’ make[1]: *** [compiler/stage2/build/TcSplice.o] Error 1 make: *** [all] Error 2 }}} Here is my gcc -v: {{{ schell@localhost:~/C/ghc:master$ gcc -v Using built-in specs. Target: i686-apple-darwin11 Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/src/configure --disable- checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program- prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with- slibdir=/usr/lib --build=i686-apple-darwin11 --enable- llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/dst- llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx- include-dir=/usr/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) }}} I'm on Mac OS X 10.8.5. Before fast forwarding to HEAD I was encountering #8276 though I don't know if this build got further or less far :(. I'm attaching what I hope is the ghc fingerprint I got using ./utils/fingerprint/fingerprint.py create -o fingerprint.log... -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8421 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8421: ghc build failure with template haskell on ghc head ----------------------------------------+---------------------------------- Reporter: schell | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.7 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: Building GHC failed | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ----------------------------------------+---------------------------------- Comment (by parcs): Judging by the fingerprint, your `libraries/template-haskell` is not up- to-date. Did you forget to run `./sync-all pull`? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8421#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8421: ghc build failure with template haskell on ghc head ----------------------------------------+---------------------------------- Reporter: schell | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.7 Resolution: invalid | Keywords: Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: Building GHC failed | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ----------------------------------------+---------------------------------- Changes (by simonpj): * status: new => closed * resolution: => invalid Comment: I think it's 99% likely that parcs is right, so I'll close this. Re-open if wrong. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8421#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8421: ghc build failure with template haskell on ghc head ----------------------------------------+---------------------------------- Reporter: schell | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.7 Resolution: invalid | Keywords: Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: Building GHC failed | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ----------------------------------------+---------------------------------- Comment (by schell): Yes, that was the problem. After syncing it built successfully. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8421#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC