Bug 12847

Summary: xgi driver won't build on bigendian architecture
Product: xorg Reporter: Luca Barbato <lu_zero>
Component: Driver/XGIAssignee: Jong Lin <jong_lin>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: blocker    
Priority: medium    
Version: unspecified   
Hardware: PowerPC   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Make BE_SWAP32 work again none

Description Luca Barbato 2007-10-18 05:00:17 UTC
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/drm -I/usr/include/X11/dri -g -O2 -MT xgi_accel.lo -MD -MP -MF .deps/xgi_accel.Tpo -c xgi_accel.c  -fPIC -DPIC -o .libs/xgi_accel.o
xgi_accel.c: In function 'BE_SWAP32':
xgi_accel.c:88: error: 'CurrentColorDepth' undeclared (first use in this function)
xgi_accel.c:88: error: (Each undeclared identifier is reported only once
xgi_accel.c:88: error: for each function it appears in.)
make[2]: *** [xgi_accel.lo] Error 1
make[2]: Leaving directory `/usr/src/xf86-video-xgi/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/xf86-video-xgi'
make: *** [all] Error 2

commit breaking it

http://cgit.freedesktop.org/xorg/driver/xf86-video-xgi/diff/?id=b03d7713bb2fcb7ab1da527aeb6111f7f36c11b7
Comment 1 Luca Barbato 2007-10-22 07:10:16 UTC
Created attachment 12151 [details] [review]
Make BE_SWAP32 work again

Here is a patch more or less addressing the issue
Comment 2 Daniel Stone 2009-08-31 17:53:46 UTC
i'd like the xgi guys to fix this.  bumping out to 7.6, but as the driver is effectively unmaintained, i'm not expecting much ...
Comment 3 Alan Coopersmith 2010-06-18 08:21:50 UTC
We got a xgi maintainer, which seems like it should help, but xgi won't
build on any architecture now.

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.