Magellan Linux

Annotation of /trunk/xorg-old/patches-6.9.0-r1/0495_all_6.8.0-sunffb-imake.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 167 - (hide annotations) (download)
Tue May 8 20:58:51 2007 UTC (17 years, 1 month ago) by niro
File size: 1216 byte(s)
-import

1 niro 167 http://bugs.gentoo.org/show_bug.cgi?id=61063
2    
3     Ferris McCormick:
4     Currently, when sunffb builds, it goes through a lot of effort to make sure
5     that it does not build a 64-bit version when it shouldn't. This results in a
6     CFLAGS combination '-mcpu=ultrasparc -mv8' which is semantically incoherent
7     with gcc. (Maybe, OK with sun compiler?)
8    
9     It then goes on to ensure that the assembly code will run on ultrasparc, and
10     when everything is put together, it forces the driver NOT to be typed V8+.
11    
12     Consequently, if you build xorg-x11 for ultrasparc, the ONLY part of it which
13     will load on your SS20 is the sunffb driver, and that would be a Bad Idea(tm).
14    
15     This little experimental Imake change disables all that for SparcLinux.
16    
17     --- xc.orig/programs/Xserver/hw/xfree86/drivers/sunffb/Imakefile- 2004-06-16 09:44:00.000000000 +0000
18     +++ xc/programs/Xserver/hw/xfree86/drivers/sunffb/Imakefile 2004-10-27 20:27:01.000000000 +0000
19     @@ -19,7 +19,7 @@
20     VISOPTIONS = -DUSE_VIS
21     ASVISOPTION = AsVISOption
22     GCCVISOPTION = -Wa,$(ASVISOPTION)
23     -#if AsOutputArchSize == 32
24     +#if AsOutputArchSize == 32 && !defined(LinuxArchitecture)
25     #define FFBCObjectRule(name) @@\
26     name.o: name.c @@\
27     ObjectCompile(-mv8 -mtune=ultrasparc \