[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [creduce-bugs] can't build



Should work now.

- Yang

On 07/17/2014 10:20 AM, John Regehr wrote:
Also, I can't build our llvm-svn-compatible branch using g++ and linking against LLVM 212963 (from a few days ago), see below.

Building using clang++ 212963 gives a different error.

John



g++ -DHAVE_CONFIG_H -I. -I../../clang_delta -I.. -DGIT_VERSION=\"fe4ad52\" -I"/home/regehr/z/compiler-install/llvm-r212963-install/include/clang" -I/home/regehr/z/compiler-install/llvm-r212963-install/include -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3 -fomit-frame-pointer -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fPIC -Woverloaded-virtual -ffunction-sections -fdata-sections -Wcast-qual -fno-rtti -fno-exceptions -g -O3 -fno-strict-aliasing -Wall -Wextra -Wno-long-long -Wno-unused-parameter -MT clang_delta-TransformationManager.o -MD -MP -MF .deps/clang_delta-TransformationManager.Tpo -c -o clang_delta-TransformationManager.o `test -f 'TransformationManager.cpp' || echo '../../clang_delta/'`TransformationManager.cpp ../../clang_delta/TransformationManager.cpp: In member function ‘bool TransformationManager::initializeCompilerInstance(std::string&)’: ../../clang_delta/TransformationManager.cpp:115:45: error: no matching function for call to ‘clang::TargetInfo::CreateTargetInfo(clang::DiagnosticsEngine&, clang::TargetOptions*)’
                                  &TargetOpts);
                                             ^
../../clang_delta/TransformationManager.cpp:115:45: note: candidate is:
In file included from ../../clang_delta/TransformationManager.cpp:20:0:
/home/regehr/z/compiler-install/llvm-r212963-install/include/clang/Basic/TargetInfo.h:98:3: note: static clang::TargetInfo* clang::TargetInfo::CreateTargetInfo(clang::DiagnosticsEngine&, const std::shared_ptr<clang::TargetOptions>&)
   CreateTargetInfo(DiagnosticsEngine &Diags,
   ^
/home/regehr/z/compiler-install/llvm-r212963-install/include/clang/Basic/TargetInfo.h:98:3: note: no known conversion for argument 2 from ‘clang::TargetOptions*’ to ‘const std::shared_ptr<clang::TargetOptions>&’
make[2]: *** [clang_delta-TransformationManager.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/clang_delta-Transformation.Tpo .deps/clang_delta-Transformation.Po mv -f .deps/clang_delta-TemplateNonTypeArgToInt.Tpo .deps/clang_delta-TemplateNonTypeArgToInt.Po mv -f .deps/clang_delta-TemplateArgToInt.Tpo .deps/clang_delta-TemplateArgToInt.Po
make[2]: Leaving directory `/home/regehr/creduce/build2/clang_delta'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/regehr/creduce/build2'
make: *** [all] Error 2