Bug 432428 - mesa dri/sis drivers fail to build on ia64
Summary: mesa dri/sis drivers fail to build on ia64
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mesa
Version: rawhide
Hardware: ia64
OS: Linux
high
high
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: fedora-ia64
TreeView+ depends on / blocked
 
Reported: 2008-02-11 23:37 UTC by Doug Chapman
Modified: 2008-02-12 15:40 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-12 15:40:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
wmb patch for ia64 (584 bytes, patch)
2008-02-12 01:45 UTC, Doug Chapman
no flags Details | Diff

Description Doug Chapman 2008-02-11 23:37:10 UTC
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")
#else
#error platform needs WMB
#endif



Version-Release number of selected component (if applicable):
mesa-7.1-0.8.fc9.src.rpm

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Doug Chapman 2008-02-12 01:45:34 UTC
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.

Comment 2 Adam Jackson 2008-02-12 15:40:27 UTC
built as mesa 7.1-0.10.fc9.  Thanks!


Note You need to log in before you can comment on or make changes to this bug.