Summary: | x86/common_x86.c:348:14: error: use of undeclared identifier 'bit_SSE4_1' | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | blocker | ||
Priority: | medium | CC: | mattst88 |
Version: | git | Keywords: | regression |
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Vinson Lee
2014-05-23 01:51:47 UTC
Great. Clang's macro is named wrong. (In reply to comment #1) > Great. Clang's macro is named wrong. Yep, it appear so. I took the liberty of pushing a simple fix: commit 94dbc16dc4c1b7685a9dab89a39e8fea844194df Author: José Fonseca <jfonseca@vmware.com> Date: Fri May 23 11:36:58 2014 +0100 mesa/x86: Fix build with clang 3.4. It defines bit_SSE41 instead of bit_SSE4_1. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=79095 Trivial. (In reply to comment #2) > (In reply to comment #1) > > Great. Clang's macro is named wrong. > > Yep, it appear so. > > I took the liberty of pushing a simple fix: > > > commit 94dbc16dc4c1b7685a9dab89a39e8fea844194df > Author: José Fonseca <jfonseca@vmware.com> > Date: Fri May 23 11:36:58 2014 +0100 > > mesa/x86: Fix build with clang 3.4. > > It defines bit_SSE41 instead of bit_SSE4_1. > > Fixes https://bugs.freedesktop.org/show_bug.cgi?id=79095 > > Trivial. Thanks. I'm trying to get a patch accepted by clang to fix the macro name. Build are still broken with clang <= 3.3. commit f0748b50146ed3cda77c625efea67b1b032e7737 Author: Vinson Lee <vlee@freedesktop.org> Date: Sun May 25 21:32:49 2014 -0700 mesa/x86: Fix build with clang <= 3.3. clang <= 3.3 cpuid.h does not define contants for feature bits. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79095 Signed-off-by: Vinson Lee <vlee@freedesktop.org> |
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.