As awaited - no update with graphics/dri without problems: (FreeBSD-10.2-p3) Same error with clang37 and gcc48.
It is a linker error, how to handle ?
(Test it in the moment with poudriere: "Building 77 packages using 4 builders will be approx. two hours")
Code:
copying selected object files to avoid basename conflicts...
gmake[5]: Leaving directory '/usr/ports/graphics/dri/work/mesa-10.6.6/src/gallium/state_trackers/clover'
Making all in targets/opencl
gmake[5]: Entering directory '/usr/ports/graphics/dri/work/mesa-10.6.6/src/gallium/targets/opencl'
CXXLD libMesaOpenCL.la
/usr/local/llvm36/lib/libclangFrontendTool.a(ExecuteCompilerInvocation.o): In function `clang::ExecuteCompilerInvocation(clang::CompilerInstance*)':
ExecuteCompilerInvocation.cpp:(.text._ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0x3f1): undefined reference to `clang::ento::printCheckerHelp(llvm::raw_ostream&, llvm::ArrayRef<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >)'
ExecuteCompilerInvocation.cpp:(.text._ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0x610): undefined reference to `vtable for clang::HTMLPrintAction'
ExecuteCompilerInvocation.cpp:(.text._ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0x6a9): undefined reference to `clang::FixItAction::FixItAction()'
ExecuteCompilerInvocation.cpp:(.text._ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0x9ef): undefined reference to `vtable for clang::RewriteIncludesAction'
ExecuteCompilerInvocation.cpp:(.text._ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0xa29): undefined reference to `vtable for clang::RewriteMacrosAction'
ExecuteCompilerInvocation.cpp:(.text._ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0xa63): undefined reference to `vtable for clang::RewriteObjCAction'
ExecuteCompilerInvocation.cpp:(.text._ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0xa9d): undefined reference to `vtable for clang::RewriteTestAction'
ExecuteCompilerInvocation.cpp:(.text._ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0xad7): undefined reference to `vtable for clang::ento::AnalysisAction'
ExecuteCompilerInvocation.cpp:(.text._ZN5clang25ExecuteCompilerInvocationEPNübernimmt caravan herstellerS_16CompilerInstanceE+0xb28): undefined reference to `vtable for clang::arcmt::MigrateSourceAction'
ExecuteCompilerInvocation.cpp:(.text._ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0xb38): undefined reference to `clang::arcmt::FileRemapper::FileRemapper()'
ExecuteCompilerInvocation.cpp:(.text._ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0xbeb): undefined reference to `vtable for clang::FixItRecompile'
ExecuteCompilerInvocation.cpp:(.text._ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0xc47): undefined reference to `clang::arcmt::ModifyAction::ModifyAction(clang::FrontendAction*)'
ExecuteCompilerInvocation.cpp:(.text._ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0xc96): undefined reference to `clang::arcmt::CheckAction::CheckAction(clang::FrontendAction*)'übernimmt caravan hersteller
ExecuteCompilerInvocation.cpp:(.text._ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0xcf4): undefined reference to `clang::arcmt::MigrateAction::MigrateAction(clang::FrontendAction*, llvm::StringRef, llvm::StringRef, bool)'
ExecuteCompilerInvocation.cpp:(.text._ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0xd50): undefined reference to `clang::arcmt::ObjCMigrateAction::ObjCMigrateAction(clang::FrontendAction*, llvm::StringRef, unsigned int)'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:675: recipe for target 'libMesaOpenCL.la' failed
gmake[5]: *** [libMesaOpenCL.la] Error 1
gmake[5]: Leaving directory '/usr/ports/graphics/dri/work/mesa-10.6.6/src/gallium/targets/opencl'
Makefile:575: recipe for target 'all-recursive' failed
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory '/usr/ports/graphics/dri/work/mesa-10.6.6/src/gallium'
Makefile:678: recipe for target 'all-recursive' failed
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory '/usr/ports/graphics/dri/work/mesa-10.6.6/src'
Makefile:613: recipe for target 'all-recursive' failed
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory '/usr/ports/graphics/dri/work/mesa-10.6.6'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/graphics/dri
*** Error code 1
Stop.
make: stopped in /usr/ports/graphics/dri
It is a linker error, how to handle ?
(Test it in the moment with poudriere: "Building 77 packages using 4 builders will be approx. two hours")