Failed to build usr.bin/clang/clang with gcc 4.9

Craig Rodrigues rodrigc at FreeBSD.org
Sun Mar 29 20:39:11 UTC 2015


Hi,


When building with gcc 4.9, I am getting unresolved symbols at link
time when building usr.bin/clang/clang.  Here is one error message:

/usr/obj/opt2/branches/head/usr.bin/clang/clang/../../../lib/clang/libclangcodegen/libclang
codegen.a(ModuleBuilder.o): In function `(anonymous
namespace)::CodeGeneratorImpl::HandleTranslationUnit(clang::ASTContext&)':
ModuleBuilder.cpp:(.text+0x113): undefined reference to
`clang::CodeGen::CodeGenModule::clear()'

There are many more errors like that in  my full build log here:

https://people.freebsd.org/~rodrigc/gcc/buildworld.2015_03_29.log.txt


Any ideas?

--
Craig


More information about the freebsd-toolchain mailing list