Bug 432428

Summary: mesa dri/sis drivers fail to build on ia64
Product: [Fedora] Fedora Reporter: Doug Chapman <dchapman>
Component: mesaAssignee: Adam Jackson <ajax>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: ia64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-12 15:40:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 163350    
Attachments:
Description Flags
wmb patch for ia64 none

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!