r950 - in glibc-package/trunk/debian: . control.in rules.d sysdeps
Author: gotom
Date: 2005-07-17 05:02:44 +0000 (Sun, 17 Jul 2005)
New Revision: 950
Added:
glibc-package/trunk/debian/sysdeps/powerpc.mk
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/control
glibc-package/trunk/debian/control.in/main
glibc-package/trunk/debian/rules.d/control.mk
Log:
* Add support PowerPC64, based on patches and suggestions by Bastian Blank
<waldi@debian.org> and Jeff Bailey <jbailey@ubuntu.com>:
- debian/control.in/main: Add Build-Depends: gcc-3.4 [powerpc] because
powerpc porting does not support gcc-4.0 currently.
- debian/control: Updated.
- debian/rules.d/control.mk: Add ppc64.
- debian/sysdeps/powerpc.mk: Added to support ppc64 target.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2005-07-17 04:43:37 UTC (rev 949)
+++ glibc-package/trunk/debian/changelog 2005-07-17 05:02:44 UTC (rev 950)
@@ -1,5 +1,7 @@
glibc (2.3.5-2) experimental; urgency=low
+ * Debconf5 release.
+
* GOTO Masanori <gotom@debian.org>
* Merge glibc-2.3.4 branch to the main trunk for etch development.
@@ -89,6 +91,14 @@
<brederlo@informatik.uni-tuebingen.de>.
- debian/sysdeps/depflags.pl: Add conflicts initrd-tools (<< 0.1.79).
+ * Add support PowerPC64, based on patches and suggestions by Bastian Blank
+ <waldi@debian.org> and Jeff Bailey <jbailey@ubuntu.com>:
+ - debian/control.in/main: Add Build-Depends: gcc-3.4 [powerpc] because
+ powerpc porting does not support gcc-4.0 currently.
+ - debian/control: Updated.
+ - debian/rules.d/control.mk: Add ppc64.
+ - debian/sysdeps/powerpc.mk: Added to support ppc64 target.
+
* debian/sysdeps/hppa.mk: Add /usr/hppa64-linux-gnu/include symlinks for
dpkg-architecture changes. Reported by Matthias Klose
<doko@cs.tu-berlin.de>. (Closes: #313404)
Modified: glibc-package/trunk/debian/control
===================================================================
--- glibc-package/trunk/debian/control 2005-07-17 04:43:37 UTC (rev 949)
+++ glibc-package/trunk/debian/control 2005-07-17 05:02:44 UTC (rev 950)
@@ -1,7 +1,7 @@
Source: glibc
Section: libs
Priority: required
-Build-Depends: gettext (>= 0.10.37-1), make (>= 3.80-1), dpkg-dev (>= 1.13.5), debianutils (>= 1.13.1), tar (>= 1.13.11), bzip2, texinfo (>= 4.0), linux-kernel-headers (>= 2.5.999-test7-bk-9) [!hurd-i386], mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20020608-1) [hurd-i386], gnumach-dev [hurd-i386], texi2html, file, gcc-4.0, autoconf, binutils (>= 2.14.90.0.7-5), sed (>= 4.0.5-4), gawk, debhelper (>= 4.1.76)
+Build-Depends: gettext (>= 0.10.37-1), make (>= 3.80-1), dpkg-dev (>= 1.13.5), debianutils (>= 1.13.1), tar (>= 1.13.11), bzip2, texinfo (>= 4.0), linux-kernel-headers (>= 2.5.999-test7-bk-9) [!hurd-i386], mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20020608-1) [hurd-i386], gnumach-dev [hurd-i386], texi2html, file, gcc-4.0 [!powerpc] | gcc-3.4 [powerpc], autoconf, binutils (>= 2.14.90.0.7-5), sed (>= 4.0.5-4), gawk, debhelper (>= 4.1.76)
Build-Depends-Indep: perl, po-debconf
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Uploaders: Ben Collins <bcollins@debian.org>, GOTO Masanori <gotom@debian.org>, Philip Blundell <pb@nexus.co.uk>, Jeff Bailey <jbailey@raspberryginger.com>, Daniel Jacobowitz <dan@debian.org>
@@ -382,6 +382,26 @@
which use the standard C library. This is the 64bit version of the
library, meant for zSeries systems.
+Package: libc6-ppc64
+Architecture: powerpc
+Section: base
+Priority: required
+Depends: libc6 (= ${Source-Version})
+Description: GNU C Library: 64bit Shared libraries for PowerPC64
+ This package includes shared versions of the standard C library and the
+ standard math library, as well as many others. This is the 64bit version
+ of the library, meant for PowerPC64 systems.
+
+Package: libc6-dev-ppc64
+Architecture: powerpc
+Section: libdevel
+Priority: standard
+Depends: libc6-ppc64 (= ${Source-Version}), libc6-dev (= ${Source-Version})
+Description: GNU C Library: 64bit Development Libraries for PowerPC64
+ Contains the symlinks and object files needed to compile and link programs
+ which use the standard C library. This is the 64bit version of the
+ library, meant for PowerPC64 systems.
+
Package: libc6-sparcv9
Architecture: sparc
Section: libs
Modified: glibc-package/trunk/debian/control.in/main
===================================================================
--- glibc-package/trunk/debian/control.in/main 2005-07-17 04:43:37 UTC (rev 949)
+++ glibc-package/trunk/debian/control.in/main 2005-07-17 05:02:44 UTC (rev 950)
@@ -1,7 +1,7 @@
Source: @glibc@
Section: libs
Priority: required
-Build-Depends: gettext (>= 0.10.37-1), make (>= 3.80-1), dpkg-dev (>= 1.13.5), debianutils (>= 1.13.1), tar (>= 1.13.11), bzip2, texinfo (>= 4.0), linux-kernel-headers (>= 2.5.999-test7-bk-9) [!hurd-i386], mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20020608-1) [hurd-i386], gnumach-dev [hurd-i386], texi2html, file, gcc-4.0, autoconf, binutils (>= 2.14.90.0.7-5), sed (>= 4.0.5-4), gawk, debhelper (>= 4.1.76)
+Build-Depends: gettext (>= 0.10.37-1), make (>= 3.80-1), dpkg-dev (>= 1.13.5), debianutils (>= 1.13.1), tar (>= 1.13.11), bzip2, texinfo (>= 4.0), linux-kernel-headers (>= 2.5.999-test7-bk-9) [!hurd-i386], mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20020608-1) [hurd-i386], gnumach-dev [hurd-i386], texi2html, file, gcc-4.0 [!powerpc] | gcc-3.4 [powerpc], autoconf, binutils (>= 2.14.90.0.7-5), sed (>= 4.0.5-4), gawk, debhelper (>= 4.1.76)
Build-Depends-Indep: perl, po-debconf
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Uploaders: Ben Collins <bcollins@debian.org>, GOTO Masanori <gotom@debian.org>, Philip Blundell <pb@nexus.co.uk>, Jeff Bailey <jbailey@raspberryginger.com>, Daniel Jacobowitz <dan@debian.org>
Modified: glibc-package/trunk/debian/rules.d/control.mk
===================================================================
--- glibc-package/trunk/debian/rules.d/control.mk 2005-07-17 04:43:37 UTC (rev 949)
+++ glibc-package/trunk/debian/rules.d/control.mk 2005-07-17 05:02:44 UTC (rev 950)
@@ -1,4 +1,4 @@
-control_deps := $(addprefix debian/control.in/, libc6 libc6.1 libc0.3 libc1 sparc64 s390x opt)
+control_deps := $(addprefix debian/control.in/, libc6 libc6.1 libc0.3 libc1 sparc64 s390x ppc64 opt)
threads_archs := alpha amd64 arm i386 m68k mips mipsel powerpc sparc ia64 hppa s390 sh3 sh4 sh3eb sh4eb freebsd-i386
@@ -24,6 +24,7 @@
cat debian/control.in/libc1 >> $@T
cat debian/control.in/sparc64 >> $@T
cat debian/control.in/s390x >> $@T
+ cat debian/control.in/ppc64 >> $@T
cat debian/control.in/opt >> $@T
cat debian/control.in/libnss-dns-udeb >> $@T
cat debian/control.in/libnss-files-udeb >> $@T
Added: glibc-package/trunk/debian/sysdeps/powerpc.mk
===================================================================
--- glibc-package/trunk/debian/sysdeps/powerpc.mk 2005-07-17 04:43:37 UTC (rev 949)
+++ glibc-package/trunk/debian/sysdeps/powerpc.mk 2005-07-17 05:02:44 UTC (rev 950)
@@ -0,0 +1,22 @@
+# work around to build ppc32/ppc64, gcc-4.0 is not ready.
+CC = gcc-3.4
+BUILD_CC = gcc-3.4
+
+# nptl is dropped because we just don't have enough time to test currently.
+GLIBC_PASSES += ppc64 #nptl
+DEB_ARCH_REGULAR_PACKAGES += libc6-ppc64 libc6-dev-ppc64
+
+# nptl/ppc64 extra_cfalgs needs -g2 because of gcc-3.4 bug.
+ifeq ($(BUILD_CC_VERSION),3.4)
+ libc_extra_cflags += -g2
+endif
+
+ppc64_MIN_KERNEL_SUPPORTED = 2.6.0
+ppc64_configure_target = powerpc64-linux
+ppc64_CC = $(CC) -m64
+ppc64_add-ons = nptl $(add-ons)
+libc6-ppc64_shlib_dep = libc6-ppc64 (>= $(shlib_dep_ver))
+# remove -g1 because of gcc-3.4 problem. it should be enabled again.
+ppc64_extra_cflags = -O3 #-g1
+ppc64_LIBDIR = 64
+ppc64_extra_config_options := $(extra_config_options) --with-tls --with-__thread --disable-profile
Reply to: