Summary: | SCons build error with clang | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Other | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | blocker | ||
Priority: | medium | CC: | jfonseca |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Vinson Lee
2012-05-09 23:49:13 UTC
The error points to llvm, specifically /usr/lib/llvm-3.0/lib/libLLVMX86CodeGen.a, not being compiled with clang. Can you check that? OG. The Make build using clang successfully builds the llvmpipe unit tests so the problem appears to be with SCons only. Perhaps linking should be done with clang++ instead of with clang? (In reply to comment #2) > Perhaps linking should be done with clang++ instead of with clang? I suspect so. Is $CXX set to clang++? (In reply to comment #3) > I suspect so. Is $CXX set to clang++? Yes, $CXX is set to clang++. SCons build with clang also fails at the same place on Mac OS X. commit 4f109ca4e8ca2c1f0a60b52fa79dd907777e8bee Author: Vinson Lee <vlee@freedesktop.org> Date: Tue Jul 24 23:02:18 2012 -0700 scons: Fix build with clang. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com> |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.