r1915 - in glibc-package/branches/glibc-2.5/debian: . control.in sysdeps
Author: aurel32
Date: 2007-02-02 20:42:28 +0100 (Fri, 02 Feb 2007)
New Revision: 1915
Modified:
glibc-package/branches/glibc-2.5/debian/changelog
glibc-package/branches/glibc-2.5/debian/control.in/main
glibc-package/branches/glibc-2.5/debian/sysdeps/hppa.mk
Log:
* Build depends on gcc-4.2 on hppa to enable TLS on hppa. Closes: #397813.
Modified: glibc-package/branches/glibc-2.5/debian/changelog
===================================================================
--- glibc-package/branches/glibc-2.5/debian/changelog 2007-02-02 19:25:29 UTC (rev 1914)
+++ glibc-package/branches/glibc-2.5/debian/changelog 2007-02-02 19:42:28 UTC (rev 1915)
@@ -63,8 +63,9 @@
with linuxthreads) from the libc-alpha mailing list.
* debian/powerpc/cvs-tls-debug.diff: new patch (fix for debugging
thread-local variables on powerpc) from CVS.
- * Build depends on binutils (>= 2.17.50) to enable --hash-style linking
- (closes: bug#405738). This also enables TLS on hppa. Closes: #397813.
+ * Build depends on binutils (>= 2.17.50) to enable --hash-style linking.
+ Closes: #405738.
+ * Build depends on gcc-4.2 on hppa to enable TLS on hppa. Closes: #397813.
* debian/any/patches/local-linuxthreads-semaphore_h.diff: new patch (fix
/usr/include/semaphore.h with linuxthreads).
* sysdeps/sparc.mk: install 64-bit headers (actually gnu/stubs-64.h)
Modified: glibc-package/branches/glibc-2.5/debian/control.in/main
===================================================================
--- glibc-package/branches/glibc-2.5/debian/control.in/main 2007-02-02 19:25:29 UTC (rev 1914)
+++ glibc-package/branches/glibc-2.5/debian/control.in/main 2007-02-02 19:42:28 UTC (rev 1915)
@@ -5,7 +5,7 @@
linux-kernel-headers (>= 2.6.13+0rc3-2) [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64],
mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20020608-1) [hurd-i386], gnumach-dev [hurd-i386],
kfreebsd-kernel-headers [kfreebsd-i386 kfreebsd-amd64],
- gcc-4.1, binutils (>= 2.17.50),
+ gcc-4.1 [!hppa], gcc-4.2 [hppa], binutils (>= 2.17.50),
autoconf, sed (>= 4.0.5-4), gawk, debhelper (>= 5.0),
libc6-dev-amd64 [i386], libc6-dev-ppc64 [powerpc], libc6-dev-i386 [amd64], libc6-dev-powerpc [ppc64], libc6-dev-sparc64 [sparc], libc6-dev-s390x [s390], libc0.1-dev-i386 [kfreebsd-amd64],
lib32ssp0 [amd64 kfreebsd-amd64 ppc64], lib64ssp0 [i386 powerpc sparc s390],
Modified: glibc-package/branches/glibc-2.5/debian/sysdeps/hppa.mk
===================================================================
--- glibc-package/branches/glibc-2.5/debian/sysdeps/hppa.mk 2007-02-02 19:25:29 UTC (rev 1914)
+++ glibc-package/branches/glibc-2.5/debian/sysdeps/hppa.mk 2007-02-02 19:42:28 UTC (rev 1915)
@@ -5,6 +5,10 @@
libc_add-ons = ports linuxthreads $(add-ons)
libc_extra_config_options = $(extra_config_options) --disable-sanity-checks
+# Build with gcc-4.2 to get TLS support
+CC = gcc-4.2
+BUILD_CC = gcc-4.2
+
# hppa64 needs symlink /usr/hppa64-linux/include to /usr/include
# (See: Bug#239020) In future we may drop this file with supporting hppa64.
Reply to: