Red Hat Bugzilla – Bug 432428
mesa dri/sis drivers fail to build on ia64
Last modified: 2008-02-12 10:40:27 EST
Description of problem:
When building mesa on ia64 the sis dri drivers fail to build:
In file included from sis6326_state.c:29:
sis_context.h:407:2: error: #error platform needs WMB
make: *** [sis6326_state.o] Error 1
here is the bit of code from sis_context.h:
#if defined(__i386__) || defined(__amd64__)
#define MMIO_WMB() __asm __volatile("" : : : "memory")
#error platform needs WMB
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Created attachment 294614 [details]
wmb patch for ia64
This patch should do the right thing for ia64.
With this the mesa package now builds cleanly.
built as mesa 7.1-0.10.fc9. Thanks!