[Glibc-bsd-commits] r1493 - in trunk/kfreebsd-6/debian: . arch/i386

Robert Millan rmh at costa.debian.org
Wed Apr 26 10:08:08 UTC 2006


Author: rmh
Date: 2006-04-26 10:08:02 +0000 (Wed, 26 Apr 2006)
New Revision: 1493

Modified:
   trunk/kfreebsd-6/debian/arch/i386/486.config
   trunk/kfreebsd-6/debian/arch/i386/586-smp.config
   trunk/kfreebsd-6/debian/arch/i386/586.config
   trunk/kfreebsd-6/debian/changelog
Log:
  * Build 486 and 586* flavors with -Os.  This saves 400 KB, out of
    which 240 KB are in kernel.gz.  Rationale:
    - 486 tiny flavor is needed for d-i.
    - On old hardware, your amount of memory if likely to be utter crap.  So
    this is preferable to -O2 no matter the benchmarks.

Modified: trunk/kfreebsd-6/debian/arch/i386/486.config
===================================================================
--- trunk/kfreebsd-6/debian/arch/i386/486.config	2006-04-26 06:50:10 UTC (rev 1492)
+++ trunk/kfreebsd-6/debian/arch/i386/486.config	2006-04-26 10:08:02 UTC (rev 1493)
@@ -4,5 +4,5 @@
 cpu		I486_CPU
 cpu		I586_CPU
 cpu		I686_CPU
-makeoptions	COPTFLAGS="-O2 -frename-registers -pipe -march=i486"
+makeoptions	COPTFLAGS="-Os -frename-registers -pipe -march=i486"
 ident		Debian-i486

Modified: trunk/kfreebsd-6/debian/arch/i386/586-smp.config
===================================================================
--- trunk/kfreebsd-6/debian/arch/i386/586-smp.config	2006-04-26 06:50:10 UTC (rev 1492)
+++ trunk/kfreebsd-6/debian/arch/i386/586-smp.config	2006-04-26 10:08:02 UTC (rev 1493)
@@ -2,7 +2,7 @@
 
 include		GENERIC
 cpu		I586_CPU
-makeoptions	COPTFLAGS="-O2 -frename-registers -pipe -march=i586"
+makeoptions	COPTFLAGS="-Os -frename-registers -pipe -march=i586"
 ident		Debian-i586-SMP
 
 options		SMP		# Symmetric MultiProcessor Kernel

Modified: trunk/kfreebsd-6/debian/arch/i386/586.config
===================================================================
--- trunk/kfreebsd-6/debian/arch/i386/586.config	2006-04-26 06:50:10 UTC (rev 1492)
+++ trunk/kfreebsd-6/debian/arch/i386/586.config	2006-04-26 10:08:02 UTC (rev 1493)
@@ -2,5 +2,5 @@
 
 include		GENERIC
 cpu		I586_CPU
-makeoptions	COPTFLAGS="-O2 -frename-registers -pipe -march=i586"
+makeoptions	COPTFLAGS="-Os -frename-registers -pipe -march=i586"
 ident		Debian-i586

Modified: trunk/kfreebsd-6/debian/changelog
===================================================================
--- trunk/kfreebsd-6/debian/changelog	2006-04-26 06:50:10 UTC (rev 1492)
+++ trunk/kfreebsd-6/debian/changelog	2006-04-26 10:08:02 UTC (rev 1493)
@@ -54,6 +54,11 @@
   * Disable build of modules that are already part of the kernel image.
     This gives the .deb a size loss of ~1600 KB (~4 MB once installed).
     - patches/009_disable_duped_modules.diff
+  * Build 486 and 586* flavors with -Os.  This saves 400 KB, out of
+    which 240 KB are in kernel.gz.  Rationale:
+    - 486 tiny flavor is needed for d-i.
+    - On old hardware, your amount of memory if likely to be utter crap.  So
+    this is preferable to -O2 no matter the benchmarks.
 
   [ Aurelien Jarno ]
   * Fix a remote denial of service in NFS server (FreeBSD-SA-06:10.nfs /
@@ -63,7 +68,7 @@
   * Fix an FPU information disclosure on AMD processors (FreeBSD-SA-06:14.fpu /
     CVE-2006-1056).
 
- -- Robert Millan <rmh at aybabtu.com>  Tue, 25 Apr 2006 22:44:45 +0200
+ -- Robert Millan <rmh at aybabtu.com>  Wed, 26 Apr 2006 12:06:11 +0200
 
 kfreebsd-5 (5.3-6) unstable; urgency=low
 




More information about the Glibc-bsd-commits mailing list