Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#8421 closed bug (invalid)

ghc build failure with template haskell on ghc head

Reported by: schell Owned by:
Priority: normal Milestone:
Component: Compiler Version: 7.7
Keywords: Cc:
Operating System: MacOS X Architecture: x86_64 (amd64)
Type of failure: Building GHC failed Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


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- -package base- -package bin-package-db- -package bytestring- -package containers- -package directory- -package filepath- -package hoopl- -package hpc- -package process- -package template-haskell- -package time-1.4.1 -package transformers- -package unix- -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

    ‛qAddTopDecls’ is not a (visible) method of class ‛TH.Quasi’

    ‛qAddModFinalizer’ is not a (visible) method of class ‛TH.Quasi’

    ‛qGetQ’ is not a (visible) method of class ‛TH.Quasi’

    ‛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/ --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/ create -o fingerprint.log...

Attachments (1)

fingerprint.log (2.1 KB) - added by schell 6 years ago.
./utils/fingerprint/ create -o fingerprint.log

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by schell

Attachment: fingerprint.log added

./utils/fingerprint/ create -o fingerprint.log

comment:1 Changed 6 years ago by parcs

Judging by the fingerprint, your libraries/template-haskell is not up-to-date. Did you forget to run ./sync-all pull?

comment:2 Changed 6 years ago by simonpj

Resolution: invalid
Status: newclosed

I think it's 99% likely that parcs is right, so I'll close this. Re-open if wrong.

comment:3 Changed 6 years ago by schell

Yes, that was the problem. After syncing it built successfully.

Note: See TracTickets for help on using tickets.