r1530 - in glibc-package/trunk/debian: . sysdeps

2006-05-26 Thread Aurelien Jarno
Author: aurel32
Date: 2006-05-26 17:00:54 + (Fri, 26 May 2006)
New Revision: 1530

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/sysdeps/powerpc.mk
   glibc-package/trunk/debian/sysdeps/sparc.mk
Log:
Also build the udeb package with -Os on sparc and powerpc.



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2006-05-25 23:11:51 UTC (rev 
1529)
+++ glibc-package/trunk/debian/changelog2006-05-26 17:00:54 UTC (rev 
1530)
@@ -21,7 +21,7 @@
   * debian/sysdeps/kfreebsd.mk: build the udeb package with -Os on
 kfreebsd-i386 and kfreebsd-amd64.
   * debian/sysdeps/*.mk: build the udeb with -Os on amd64, i386, mips and 
-mipsel.
+mipsel, powerpc and sparc.
   * debian/sysdeps/arm.mk: set udeb_MIN_KERNEL_SUPPORTED to 2.4.1, as the
 arm build daemons are still running a 2.4 kernel.
   * patches/kfreebsd/local-sysdeps.diff: update to revision 1577 (from

Modified: glibc-package/trunk/debian/sysdeps/powerpc.mk
===
--- glibc-package/trunk/debian/sysdeps/powerpc.mk   2006-05-25 23:11:51 UTC 
(rev 1529)
+++ glibc-package/trunk/debian/sysdeps/powerpc.mk   2006-05-26 17:00:54 UTC 
(rev 1530)
@@ -1,8 +1,13 @@
-GLIBC_PASSES += ppc64 nptl
-DEB_ARCH_REGULAR_PACKAGES += libc6-ppc64 libc6-dev-ppc64
-
+# udeb Config
 udeb_MIN_KERNEL_SUPPORTED = 2.4.1
+udeb_extra_cflags = -Os
 
+# NPTL Config
+GLIBC_PASSES += nptl
+
+# build 64-bit (ppc64) alternative library
+GLIBC_PASSES += ppc64
+DEB_ARCH_REGULAR_PACKAGES += libc6-ppc64 libc6-dev-ppc64
 ppc64_MIN_KERNEL_SUPPORTED = 2.6.0
 ppc64_configure_target = powerpc64-linux
 ppc64_CC = $(CC) -m64

Modified: glibc-package/trunk/debian/sysdeps/sparc.mk
===
--- glibc-package/trunk/debian/sysdeps/sparc.mk 2006-05-25 23:11:51 UTC (rev 
1529)
+++ glibc-package/trunk/debian/sysdeps/sparc.mk 2006-05-26 17:00:54 UTC (rev 
1530)
@@ -1,6 +1,9 @@
-GLIBC_PASSES += sparcv9 sparcv9b sparc64
-DEB_ARCH_REGULAR_PACKAGES += libc6-sparc64 libc6-sparcv9 libc6-sparcv9b 
libc6-dev-sparc64
- 
+# udeb Config
+udeb_extra_cflags = -Os
+
+# build 64-bit (sparc64) alternative library
+GLIBC_PASSES += sparc64
+DEB_ARCH_REGULAR_PACKAGES += libc6-sparc64 libc6-dev-sparc64
 sparc64_MIN_KERNEL_SUPPORTED = 2.4.18
 sparc64_configure_target=sparc64-linux
 sparc64_CC = $(BUILD_CC) -m64
@@ -10,7 +13,10 @@
 libc6-sparc64_shlib_dep = libc6-sparc64 (= $(shlib_dep_ver))
 sparc64_slibdir = /lib64
 sparc64_libdir = /usr/lib64
- 
+
+# build a sparcv9 optimized library
+GLIBC_PASSES += sparcv9
+DEB_ARCH_REGULAR_PACKAGES += libc6-sparcv9 
 sparcv9_MIN_KERNEL_SUPPORTED = 2.4.18
 sparcv9_configure_target=sparcv9-linux
 sparcv9_extra_cflags = -g1 -O3
@@ -19,6 +25,9 @@
 sparcv9_rtlddir = /lib
 sparcv9_slibdir = /lib/v9
 
+# build a sparcv9b optimized library
+GLIBC_PASSES += sparcv9b
+DEB_ARCH_REGULAR_PACKAGES += libc6-sparcv9b
 sparcv9b_MIN_KERNEL_SUPPORTED = 2.4.18
 sparcv9b_configure_target=sparcv9b-linux
 sparcv9b_extra_cflags = -mtune=ultrasparc3 -g1 -O3


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: r1530 - in glibc-package/trunk/debian: . sysdeps

2006-05-26 Thread Aurelien Jarno

Aurelien Jarno wrote:

Author: aurel32
Date: 2006-05-26 17:00:54 + (Fri, 26 May 2006)
New Revision: 1530

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/sysdeps/powerpc.mk
   glibc-package/trunk/debian/sysdeps/sparc.mk
Log:
Also build the udeb package with -Os on sparc and powerpc.



FYI, I am currently building the glibc with -Os on arm and hppa.

It would be nice if somebody could do the same on s390, m68k, alpha and 
ia64. To check the new udeb, I am first comparing the test logs for new 
errors and installing it on a system (with dpkg -x udeb /) and rebooting it.


--
  .''`.  Aurelien Jarno | GPG: 1024D/F1BCDB73
 : :' :  Debian developer   | Electrical Engineer
 `. `'   [EMAIL PROTECTED] | [EMAIL PROTECTED]
   `-people.debian.org/~aurel32 | www.aurel32.net


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]