Bug 12847 - xgi driver won't build on bigendian architecture
Summary: xgi driver won't build on bigendian architecture
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/XGI (show other bugs)
Version: unspecified
Hardware: PowerPC All
: medium blocker
Assignee: Jong Lin
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-18 05:00 UTC by Luca Barbato
Modified: 2014-03-21 18:31 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Make BE_SWAP32 work again (23.44 KB, patch)
2007-10-22 07:10 UTC, Luca Barbato
no flags Details | Splinter Review

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.