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

r1379 - in glibc-package/trunk/debian: . control.in sysdeps



Author: aurel32
Date: 2006-04-10 04:48:00 +0000 (Mon, 10 Apr 2006)
New Revision: 1379

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/control
   glibc-package/trunk/debian/control.in/opt
   glibc-package/trunk/debian/sysdeps/i386.mk
Log:
  * Build a libc6-xen flavour on i386.



Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2006-04-10 04:41:03 UTC (rev 1378)
+++ glibc-package/trunk/debian/changelog	2006-04-10 04:48:00 UTC (rev 1379)
@@ -1,6 +1,7 @@
 glibc (2.3.6-7) UNRELEASED; urgency=low
 
-  * 
+  [ Aurelien Jarno ]
+  * Build a libc6-xen flavour on i386.
 
  -- Aurelien Jarno <aurel32@debian.org>  Mon, 10 Apr 2006 06:40:33 +0200
 

Modified: glibc-package/trunk/debian/control
===================================================================
--- glibc-package/trunk/debian/control	2006-04-10 04:41:03 UTC (rev 1378)
+++ glibc-package/trunk/debian/control	2006-04-10 04:48:00 UTC (rev 1379)
@@ -552,6 +552,20 @@
  Most notably, IBM's JDK. If you experience problems with such
  applications, you will need to remove this package.
 
+Package: libc6-xen
+Architecture: i386
+Conflicts: libc6-i686
+Section: libs
+Priority: extra
+Pre-Depends: libc6 (= ${Source-Version})
+Description: GNU C Library: Shared libraries [Xen version]
+ Contains the standard libraries that are used by nearly all programs on
+ the system. This package includes shared versions of the standard C
+ library and the standard math library, as well as many others.
+ .
+ This set of libraries are optimized for the Xen hypervisor, and will be
+ selected instead when running under Xen.
+
 Package: libc0.1-i686
 Architecture: kfreebsd-i386
 Section: libs

Modified: glibc-package/trunk/debian/control.in/opt
===================================================================
--- glibc-package/trunk/debian/control.in/opt	2006-04-10 04:41:03 UTC (rev 1378)
+++ glibc-package/trunk/debian/control.in/opt	2006-04-10 04:48:00 UTC (rev 1379)
@@ -56,6 +56,20 @@
  Most notably, IBM's JDK. If you experience problems with such
  applications, you will need to remove this package.
 
+Package: libc6-xen
+Architecture: i386
+Conflicts: libc6-i686
+Section: libs
+Priority: extra
+Pre-Depends: @libc@ (= ${Source-Version})
+Description: GNU C Library: Shared libraries [Xen version]
+ Contains the standard libraries that are used by nearly all programs on
+ the system. This package includes shared versions of the standard C
+ library and the standard math library, as well as many others.
+ .
+ This set of libraries are optimized for the Xen hypervisor, and will be
+ selected instead when running under Xen.
+
 Package: libc0.1-i686
 Architecture: kfreebsd-i386
 Section: libs

Modified: glibc-package/trunk/debian/sysdeps/i386.mk
===================================================================
--- glibc-package/trunk/debian/sysdeps/i386.mk	2006-04-10 04:41:03 UTC (rev 1378)
+++ glibc-package/trunk/debian/sysdeps/i386.mk	2006-04-10 04:48:00 UTC (rev 1379)
@@ -1,5 +1,5 @@
-GLIBC_PASSES += nptl i686
-DEB_ARCH_REGULAR_PACKAGES += libc6-i686
+GLIBC_PASSES += nptl i686 xen
+DEB_ARCH_REGULAR_PACKAGES += libc6-i686 libc6-xen
 
 # Starting with libc6 2.3.6-6 TLS support is enabled
 libc6_shlib_dep = libc6 (>= 2.3.6-6)
@@ -24,6 +24,17 @@
 i686_MIN_KERNEL_SUPPORTED = 2.6.0
 i686_extra_config_options = $(extra_config_options) --disable-profile
 
+# We use -mno-tls-direct-seg-refs to not wrap-around segments, as it
+# greatly reduce the speed when running under the Xen hypervisor.
+xen_add-ons = nptl $(add-ons)
+xen_configure_target=i686-linux
+en_configure_build=i686-linux
+xen_extra_cflags = -march=i686 -mtune=i686 -g1 -O3 -mno-tls-direct-seg-refs
+xen_rtlddir = /lib
+xen_slibdir = /lib/tls/i686/cmov
+xen_MIN_KERNEL_SUPPORTED = 2.6.0
+xen_extra_config_options = $(extra_config_options) --disable-profile
+
 # build 64-bit (amd64) alternative library
 GLIBC_PASSES += amd64
 DEB_ARCH_REGULAR_PACKAGES += libc6-amd64 libc6-dev-amd64



Reply to: