[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

X Strike Force SVN commit: rev 97 - trunk



Author: branden
Date: 2003-05-29 10:57:27 -0500 (Thu, 29 May 2003)
New Revision: 97

Modified:
   trunk/changelog
   trunk/rules
Log:
GCC 3.3 appears to produce bad code for PowerPC at the optimization level
required by Debian Policy (the X server cannot validate XDM-AUTHORIZATION-1
keys); when building on PowerPC, set DefaultGcc2OptimizeOpt to -O instead
of -O2.



Modified: trunk/rules
==============================================================================
--- trunk/rules	2003-05-29 15:54:08 UTC (rev 96)
+++ trunk/rules	2003-05-29 15:57:27 UTC (rev 97)
@@ -99,6 +99,12 @@
  endif
 endif
 
+# *grumble* GCC 3.3 at -O2 is garbage on ppc; XXX: this would potentially
+# override $(DEBUGFLAGS) if it were actually meaningful; see above
+ifeq($(ARCH),powerpc)
+IMAKE_DEFINES+=-DDefaultGcc2OptimizeOpt=-O
+endif
+
 # Read in important variables.
 include debian/scripts/vars
 # Read in architecture-specific variables of importance.

Modified: trunk/changelog
==============================================================================
--- trunk/changelog	2003-05-29 15:54:08 UTC (rev 96)
+++ trunk/changelog	2003-05-29 15:57:27 UTC (rev 97)
@@ -152,6 +152,10 @@
         official package build
       + only define the BuilderEMailAddr Imake variable if we're doing an
         official package build
+      + GCC 3.3 appears to produce bad code for PowerPC at the optimization
+        level required by Debian Policy (the X server cannot validate
+        XDM-AUTHORIZATION-1 keys); when building on PowerPC, set
+        DefaultGcc2OptimizeOpt to -O instead of -O2
     - expand @OFFICIAL_BUILD@ from $(OFFICIAL_BUILD) in maintainer scripts, as
       we do with @SOURCE_VERSION@ from $(SOURCE_VERSION)
     - stop generating and shipping the XFree86 FAQ (see above)
@@ -192,7 +196,7 @@
       xserver-xfree86/config/device/driver from "atimisc", "r128", or "radeon"
       to "ati"
 
- -- Branden Robinson <branden@debian.org>  Mon, 26 May 2003 23:44:49 -0500
+ -- Branden Robinson <branden@debian.org>  Thu, 29 May 2003 10:56:39 -0500
 
 xfree86 (4.2.1-6) unstable; urgency=medium
 



Reply to: