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

Bug#632863: marked as done (eglibc: add support for arch powerpcspe )



Your message dated Tue, 26 Jul 2011 01:47:44 +0000
with message-id <E1QlWkK-0000hE-Ek@franck.debian.org>
and subject line Bug#632863: fixed in eglibc 2.13-11
has caused the Debian Bug report #632863,
regarding eglibc: add support for arch powerpcspe 
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
632863: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632863
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: eglibc
Version: 2.13-10
Severity: minor
Tags: sid, patch

The attached patch makes eglibc 2.13 work on architecture powerpcspe (an
unofficial port hosted on www.debian-ports.org, [1]).

It adds two patches in debian/patches/powerpcspe that fix some
floating-point related issues (powerpcspe uses a different FPU than
powerpc).  There should not be any effects on non-powerpcspe builds.

cheers,

David

[1] http://wiki.debian.org/PowerPCSPEPort
-- 
GnuPG public key: http://dvdkhlng.users.sourceforge.net/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40

diff -u eglibc-2.13/debian/changelog eglibc-2.13/debian/changelog
--- eglibc-2.13/debian/changelog
+++ eglibc-2.13/debian/changelog
@@ -1,3 +1,12 @@
+eglibc (2.13-10+powerpcspe1) unstable; urgency=low
+
+  * forward-port powerpcspe-specific changes form 2.11.1-2+powerpcspe1
+  * dropped 0002-replace-eieio-with-mbar-on-__SPE__.patch since that
+    should nowadays be handled by GNU 'as'
+  * added local-no-fma.patch to fix new compile problem on powerpcspe
+
+ -- David Kuehling <dvdkhlng@gmx.de>  Wed, 06 Jul 2011 16:36:54 +0200
+
 eglibc (2.13-10) unstable; urgency=low
 
   * control.in/main: tag libc-bin Essential: yes.
diff -u eglibc-2.13/debian/patches/series eglibc-2.13/debian/patches/series
--- eglibc-2.13/debian/patches/series
+++ eglibc-2.13/debian/patches/series
@@ -171,6 +171,9 @@
 
 powerpc/local-libgcc_eh-ld.so.diff
 
+powerpcspe/submitted-Powerpc-trampline-consider-__NO_FPRS__.patch
+powerpcspe/submitted-no-fma.patch
+
 s390/submitted-nexttowardf.diff
 s390/cvs-iconv-z9-109.diff
 
only in patch2:
unchanged:
--- eglibc-2.13.orig/debian/patches/powerpcspe/submitted-Powerpc-trampline-consider-__NO_FPRS__.patch
+++ eglibc-2.13/debian/patches/powerpcspe/submitted-Powerpc-trampline-consider-__NO_FPRS__.patch
@@ -0,0 +1,48 @@
+From 5f2110f9ce203c42aadc3968ddc487a8c9cc6c83 Mon Sep 17 00:00:00 2001
+From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
+Date: Sat, 15 May 2010 21:51:49 +0200
+Subject: [PATCH] Powerpc/trampline: consider __NO_FPRS__
+
+don't save/restore FPRs on FPR less systems
+
+Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
+---
+ sysdeps/powerpc/powerpc32/dl-trampoline.S |    4 ++++
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+Index: eglibc-2.13/sysdeps/powerpc/powerpc32/dl-trampoline.S
+===================================================================
+--- eglibc-2.13.orig/sysdeps/powerpc/powerpc32/dl-trampoline.S	2006-08-17 03:18:26.000000000 +0200
++++ eglibc-2.13/sysdeps/powerpc/powerpc32/dl-trampoline.S	2011-07-06 16:46:14.000000000 +0200
+@@ -137,6 +137,7 @@
+ 	stw r9,40(r1)
+ 	stw r10,44(r1)
+ 	stw r0,8(r1)
++#ifndef __NO_FPRS__
+  # Save the floating point registers
+ 	stfd fp1,48(r1)
+ 	stfd fp2,56(r1)
+@@ -146,6 +147,7 @@
+ 	stfd fp6,88(r1)
+ 	stfd fp7,96(r1)
+ 	stfd fp8,104(r1)
++#endif
+  # XXX TODO: store vmx registers
+  # Load the extra parameters.
+ 	addi r6,r1,16
+@@ -169,6 +171,7 @@
+ 	lwz r4,20(r1)
+ 	lwz r3,16(r1)
+         lwz r0,12(r1)
++#ifndef __NO_FPRS__
+  # Load the floating point registers.
+ 	lfd fp1,48(r1)
+ 	lfd fp2,56(r1)
+@@ -178,6 +181,7 @@
+ 	lfd fp6,88(r1)
+ 	lfd fp7,96(r1)
+ 	lfd fp8,104(r1)
++#endif
+  # ...unwind the stack frame, and jump to the PLT entry we updated.
+ 	addi r1,r1,320
+ 	bctr
only in patch2:
unchanged:
--- eglibc-2.13.orig/debian/patches/powerpcspe/submitted-no-fma.patch
+++ eglibc-2.13/debian/patches/powerpcspe/submitted-no-fma.patch
@@ -0,0 +1,16 @@
+Override s_fma[f] assembly routines with C-code when compiling for powerpcspe.
+
+Signed-off-by: David Kuehling <dvdkhlng AT gmx DOT de>
+
+Index: eglibc-2.13/ports/sysdeps/powerpc/powerpc32/e500/fpu/s_fma.c
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ eglibc-2.13/ports/sysdeps/powerpc/powerpc32/e500/fpu/s_fma.c	2011-07-06 16:47:39.000000000 +0200
+@@ -0,0 +1 @@
++#include <math/s_fma.c>
+Index: eglibc-2.13/ports/sysdeps/powerpc/powerpc32/e500/fpu/s_fmaf.c
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ eglibc-2.13/ports/sysdeps/powerpc/powerpc32/e500/fpu/s_fmaf.c	2011-07-06 16:47:39.000000000 +0200
+@@ -0,0 +1 @@
++#include <math/s_fmaf.c>

Attachment: pgpFgvd0lWs9L.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: eglibc
Source-Version: 2.13-11

We believe that the bug you reported is fixed in the latest version of
eglibc, which is due to be installed in the Debian FTP archive:

eglibc-source_2.13-11_all.deb
  to main/e/eglibc/eglibc-source_2.13-11_all.deb
eglibc_2.13-11.diff.gz
  to main/e/eglibc/eglibc_2.13-11.diff.gz
eglibc_2.13-11.dsc
  to main/e/eglibc/eglibc_2.13-11.dsc
glibc-doc_2.13-11_all.deb
  to main/e/eglibc/glibc-doc_2.13-11_all.deb
locales_2.13-11_all.deb
  to main/e/eglibc/locales_2.13-11_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 632863@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno <aurel32@debian.org> (supplier of updated eglibc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 26 Jul 2011 03:00:33 +0200
Source: eglibc
Binary: libc-bin libc-dev-bin glibc-doc eglibc-source locales locales-all nscd multiarch-support libc6 libc6-dev libc6-dbg libc6-prof libc6-pic libc6-udeb libc6.1 libc6.1-dev libc6.1-dbg libc6.1-prof libc6.1-pic libc6.1-udeb libc0.3 libc0.3-dev libc0.3-dbg libc0.3-prof libc0.3-pic libc0.3-udeb libc0.1 libc0.1-dev libc0.1-dbg libc0.1-prof libc0.1-pic libc0.1-udeb libc6-i386 libc6-dev-i386 libc6-sparc64 libc6-dev-sparc64 libc6-s390 libc6-dev-s390 libc6-s390x libc6-dev-s390x libc6-amd64 libc6-dev-amd64 libc6-powerpc libc6-dev-powerpc libc6-ppc64 libc6-dev-ppc64 libc6-mipsn32 libc6-dev-mipsn32 libc6-mips64 libc6-dev-mips64 libc0.1-i386 libc0.1-dev-i386 libc6-i686 libc6-xen libc0.1-i686 libc0.3-i686 libc0.3-xen libc6.1-alphaev67 libc6-loongson2f libnss-dns-udeb libnss-files-udeb
Architecture: source all
Version: 2.13-11
Distribution: unstable
Urgency: low
Maintainer: Aurelien Jarno <aurel32@debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
Description: 
 eglibc-source - Embedded GNU C Library: sources
 glibc-doc  - Embedded GNU C Library: Documentation
 libc-bin   - Embedded GNU C Library: Binaries
 libc-dev-bin - Embedded GNU C Library: Development binaries
 libc0.1    - Embedded GNU C Library: Shared libraries
 libc0.1-dbg - Embedded GNU C Library: detached debugging symbols
 libc0.1-dev - Embedded GNU C Library: Development Libraries and Header Files
 libc0.1-dev-i386 - Embedded GNU C Library: 32bit development libraries for AMD64
 libc0.1-i386 - Embedded GNU C Library: 32bit shared libraries for AMD64
 libc0.1-i686 - Embedded GNU C Library: Shared libraries [i686 optimized]
 libc0.1-pic - Embedded GNU C Library: PIC archive library
 libc0.1-prof - Embedded GNU C Library: Profiling Libraries
 libc0.1-udeb - Embedded GNU C Library: Shared libraries - udeb (udeb)
 libc0.3    - Embedded GNU C Library: Shared libraries
 libc0.3-dbg - Embedded GNU C Library: detached debugging symbols
 libc0.3-dev - Embedded GNU C Library: Development Libraries and Header Files
 libc0.3-i686 - Embedded GNU C Library: Shared libraries [i686 optimized]
 libc0.3-pic - Embedded GNU C Library: PIC archive library
 libc0.3-prof - Embedded GNU C Library: Profiling Libraries
 libc0.3-udeb - Embedded GNU C Library: Shared libraries - udeb (udeb)
 libc0.3-xen - Embedded GNU C Library: Shared libraries [Xen version]
 libc6      - Embedded GNU C Library: Shared libraries
 libc6-amd64 - Embedded GNU C Library: 64bit Shared libraries for AMD64
 libc6-dbg  - Embedded GNU C Library: detached debugging symbols
 libc6-dev  - Embedded GNU C Library: Development Libraries and Header Files
 libc6-dev-amd64 - Embedded GNU C Library: 64bit Development Libraries for AMD64
 libc6-dev-i386 - Embedded GNU C Library: 32-bit development libraries for AMD64
 libc6-dev-mips64 - Embedded GNU C Library: 64bit Development Libraries for MIPS64
 libc6-dev-mipsn32 - Embedded GNU C Library: n32 Development Libraries for MIPS64
 libc6-dev-powerpc - Embedded GNU C Library: 32bit powerpc development libraries for p
 libc6-dev-ppc64 - Embedded GNU C Library: 64bit Development Libraries for PowerPC64
 libc6-dev-s390 - Embedded GNU C Library: 32bit Development Libraries for IBM zSeri
 libc6-dev-s390x - Embedded GNU C Library: 64bit Development Libraries for IBM zSeri
 libc6-dev-sparc64 - Embedded GNU C Library: 64bit Development Libraries for UltraSPAR
 libc6-i386 - Embedded GNU C Library: 32-bit shared libraries for AMD64
 libc6-i686 - Embedded GNU C Library: Shared libraries [i686 optimized]
 libc6-loongson2f - Embedded GNU C Library: Shared libraries (Loongson 2F optimized)
 libc6-mips64 - Embedded GNU C Library: 64bit Shared libraries for MIPS64
 libc6-mipsn32 - Embedded GNU C Library: n32 Shared libraries for MIPS64
 libc6-pic  - Embedded GNU C Library: PIC archive library
 libc6-powerpc - Embedded GNU C Library: 32bit powerpc shared libraries for ppc64
 libc6-ppc64 - Embedded GNU C Library: 64bit Shared libraries for PowerPC64
 libc6-prof - Embedded GNU C Library: Profiling Libraries
 libc6-s390 - Embedded GNU C Library: 32bit Shared libraries for IBM zSeries
 libc6-s390x - Embedded GNU C Library: 64bit Shared libraries for IBM zSeries
 libc6-sparc64 - Embedded GNU C Library: 64bit Shared libraries for UltraSPARC
 libc6-udeb - Embedded GNU C Library: Shared libraries - udeb (udeb)
 libc6-xen  - Embedded GNU C Library: Shared libraries [Xen version]
 libc6.1    - Embedded GNU C Library: Shared libraries
 libc6.1-alphaev67 - Embedded GNU C Library: Shared libraries (EV67 optimized)
 libc6.1-dbg - Embedded GNU C Library: detached debugging symbols
 libc6.1-dev - Embedded GNU C Library: Development Libraries and Header Files
 libc6.1-pic - Embedded GNU C Library: PIC archive library
 libc6.1-prof - Embedded GNU C Library: Profiling Libraries
 libc6.1-udeb - Embedded GNU C Library: Shared libraries - udeb (udeb)
 libnss-dns-udeb - Embedded GNU C Library: NSS helper for DNS - udeb (udeb)
 libnss-files-udeb - Embedded GNU C Library: NSS helper for files - udeb (udeb)
 locales    - Embedded GNU C Library: National Language (locale) data [support]
 locales-all - Embedded GNU C Library: Precompiled locale data
 multiarch-support - Transitional package to ensure multiarch compatibility
 nscd       - Embedded GNU C Library: Name Service Cache Daemon
Closes: 535504 593571 602291 629819 630695 632176 632863 633370 634152 634508
Changes: 
 eglibc (2.13-11) unstable; urgency=low
 .
   [ Aurelien Jarno ]
   * control.in/main: fix nscd description.  Closes: #633370.
   * Update patches/svn-updates to revision 14511 to fix build on
     powerpcspe. Add corresponding symbols file and expected testsuite
     results.  Closes: #632863.
   * Add patches/localedata/locale-os_RU.diff from upstream to add Ossetian
     locale.  Closes: #634508.
   * kfreebsd/local-sysdeps.diff, update to revision 3618 (from glibc-bsd).
     - fixes LD_PRELOAD with a kfreebsd-9 kernel. Closes: #630695.
     - fixes tst-atime when build in a noatime filesystem.  Closes: #634152.
     - uses upstream RFTSIGZMB for exit signal selection when available.
   * Disable multiarch support on amd64, kfreebsd-amd64, ppc64, sparc64 until
     we fix the /lib64 -> /lib symlink issue. Closes: #632176.
   * Re-enable patches/any/cvs-resolv-different-nameserver.diff. Add
     patches/any/submitted-resolv-assert.diff to fix assertion triggered by the
     previous patch.  Closes: #535504, #602291.
   * Add support for s390x.
   * Fix debhelper.in/libc.NEWS with the right option to pass to gcc. Closes:
     #629819.
   * Add any/submitted-resolv-init.diff to fix issue with the resolver when
     RES_ROTATE is enabled.  Closes: #593571.
 .
   [ Jeremie Koenig ]
   * Add debian/libc0.3.symbols.hurd-i386.
 .
   [ Steve Langasek ]
   * Try again to make libc6-dev multiarch-same.
Checksums-Sha1: 
 7ca2c5e56aec47ece16f562c7bb0f1228e3ea229 2609 eglibc_2.13-11.dsc
 6e51df82346144ec87e29722cd3736e269ac5d66 859810 eglibc_2.13-11.diff.gz
 c06310c2b467a133d44602446bd8f3838413838c 1885418 glibc-doc_2.13-11_all.deb
 c508f912391fe001c5f2a33b2dbfb15d925cc611 12116096 eglibc-source_2.13-11_all.deb
 2100a318dda23eb2a2d9be23f6619e335356c086 4814222 locales_2.13-11_all.deb
Checksums-Sha256: 
 bf619be2e64b99a589d00dbe0875615034e5021967258f23b094224d6e8b7c23 2609 eglibc_2.13-11.dsc
 ee0b68c71c4a2920954c2a3dd561e6cc56d5f2a39cbe1335d151d0ae8c7fc53b 859810 eglibc_2.13-11.diff.gz
 526099ae5a759c68782ef888f9179c5358ed43d5d396e570094b250c1e3fe265 1885418 glibc-doc_2.13-11_all.deb
 f339bd4969aced165ec75bd62e1fa1a25cfa890d675c298986912449894dde4b 12116096 eglibc-source_2.13-11_all.deb
 6eda7145217bbe0b1aa4b09bc988a9a724072afd0bf88c964bdd3e3875032bd1 4814222 locales_2.13-11_all.deb
Files: 
 aa806e07bdb875eac8380d4608e5f11d 2609 libs required eglibc_2.13-11.dsc
 ee83eb4e30366a3b98a633b32a7056d4 859810 libs required eglibc_2.13-11.diff.gz
 071cde634dc0cf9d03a6e4014b900c45 1885418 doc optional glibc-doc_2.13-11_all.deb
 9afbbf1f6cb59cc071432df1e8f3b791 12116096 devel optional eglibc-source_2.13-11_all.deb
 7fa6b271847e8d77e1b953678c8b723a 4814222 localization standard locales_2.13-11_all.deb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iD8DBQFOLhqsw3ao2vG823MRAuBRAJwK8WUBvM+4FnKHMhOdAYgSFzza6wCeIHfb
zmi2lkiP6vdDEpn0vOcIF90=
=qCQC
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: