Summary: | xorg-x11-6.7.99.2 radeon driver fails to build on big-endian systems | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | SpanKY <vapier> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ajax, mips, ppc, sparc |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 60292 | ||
Attachments: | Patch for Bigendian Radeon compile problem (promised in Comment 2) |
Description
SpanKY
2004-08-14 00:22:24 UTC
Remove the following lines from /var/tmp/portage/xorg-x11-6.7.99.2/work/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_render.c (line 387 and 699) and it should compile: #if X_BYTE_ORDER == X_BIG_ENDIAN && defined(ACCEL_CP) unsigned char *RADEONMMIO = info->MMIO; #endif Also on sparc. Adding sparc to CC list & adding a little patch incorporating the effect of Comment #1. See bug 60305 for how I use it. Created attachment 37757 [details, diff] Patch for Bigendian Radeon compile problem (promised in Comment 2) Little patch promised in Comment 2. Gets rid of the double declaration of RADEONMMIO when you are-- #if X_BYTE_ORDER == X_BIG_ENDIAN && defined(ACCEL_CP) reported upstream as http://freedesktop.org/bugzilla/show_bug.cgi?id=1156 proposed patch at https://freedesktop.org/bugzilla/attachment.cgi?id=702&action=view could you test please? Committed upstream. Radeon drivers all build on sparc64 with 6.7.99.903 out of the box. So, no longer a problem on sparc. 6.7.99.903 compiles without error on mips. looks like mergefb isn't working as supposed and X -configure lead to a nice sig11 w/out apparent reason. The build problem is fixed. Fixed for all current versions. |