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

Bug#427990: marked as done (glibc: PIE executables core dumps on hppa)



Your message dated Wed, 13 Jun 2007 09:47:05 +0000
with message-id <E1HyPRR-0000f5-NQ@ries.debian.org>
and subject line Bug#427990: fixed in glibc 2.5-11
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: glibc
Severity: important
Tags: patch

start.S file is messing up the paramaters when using the -pie option.
This causes instant segfault on hppa when trying to run an pie executable.

This causes portmap and nscd to break on this arch and maybe many other
executables.

Here is a patch that fix the start problem, but all pie programs must
be relinked to fix the segfault.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: hppa (parisc64)

Kernel: Linux 2.6.18-4-parisc64
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- ports/sysdeps/hppa/elf/start.S.orig	2007-06-02 12:27:53.000000000 +0200
+++ ports/sysdeps/hppa/elf/start.S	2007-06-02 12:27:49.000000000 +0200
@@ -96,16 +96,16 @@ _start:
 
 #if SHARED
 	/* load main (1st argument) */
-	addil	LR'.Lpmain, %r19
-	ldw	RR'.Lpmain(%r1), %r26
+	addil	LT'.Lpmain, %r19
+	ldw	RT'.Lpmain(%r1), %r26
 	ldw	0(%r26),%r26
 	/* void (*init) (void) (4th argument) */
-	addil	LR'.Lp__libc_csu_init, %r19
-	ldw	RR'.Lp__libc_csu_init(%r1), %r23
+	addil	LT'.Lp__libc_csu_init, %r19
+	ldw	RT'.Lp__libc_csu_init(%r1), %r23
 	ldw	0(%r23), %r23
 	/* void (*fini) (void) (5th argument) */
-	addil	LR'.Lp__libc_csu_fini, %r19
-	ldw	RR'.Lp__libc_csu_fini(%r1), %r22
+	addil	LT'.Lp__libc_csu_fini, %r19
+	ldw	RT'.Lp__libc_csu_fini(%r1), %r22
 	ldw	0(%r22), %r22
 #else
 	/* load main (1st argument) */

--- End Message ---
--- Begin Message ---
Source: glibc
Source-Version: 2.5-11

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

glibc-doc_2.5-11_all.deb
  to pool/main/g/glibc/glibc-doc_2.5-11_all.deb
glibc_2.5-11.diff.gz
  to pool/main/g/glibc/glibc_2.5-11.diff.gz
glibc_2.5-11.dsc
  to pool/main/g/glibc/glibc_2.5-11.dsc
libc6-dbg_2.5-11_amd64.deb
  to pool/main/g/glibc/libc6-dbg_2.5-11_amd64.deb
libc6-dev-i386_2.5-11_amd64.deb
  to pool/main/g/glibc/libc6-dev-i386_2.5-11_amd64.deb
libc6-dev_2.5-11_amd64.deb
  to pool/main/g/glibc/libc6-dev_2.5-11_amd64.deb
libc6-i386_2.5-11_amd64.deb
  to pool/main/g/glibc/libc6-i386_2.5-11_amd64.deb
libc6-pic_2.5-11_amd64.deb
  to pool/main/g/glibc/libc6-pic_2.5-11_amd64.deb
libc6-prof_2.5-11_amd64.deb
  to pool/main/g/glibc/libc6-prof_2.5-11_amd64.deb
libc6-udeb_2.5-11_amd64.udeb
  to pool/main/g/glibc/libc6-udeb_2.5-11_amd64.udeb
libc6_2.5-11_amd64.deb
  to pool/main/g/glibc/libc6_2.5-11_amd64.deb
libnss-dns-udeb_2.5-11_amd64.udeb
  to pool/main/g/glibc/libnss-dns-udeb_2.5-11_amd64.udeb
libnss-files-udeb_2.5-11_amd64.udeb
  to pool/main/g/glibc/libnss-files-udeb_2.5-11_amd64.udeb
locales-all_2.5-11_amd64.deb
  to pool/main/g/glibc/locales-all_2.5-11_amd64.deb
locales_2.5-11_all.deb
  to pool/main/g/glibc/locales_2.5-11_all.deb
nscd_2.5-11_amd64.deb
  to pool/main/g/glibc/nscd_2.5-11_amd64.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 427990@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 glibc 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.7
Date: Mon, 11 Jun 2007 15:06:21 +0200
Source: glibc
Binary: libc0.1-prof libc6-dev-amd64 locales-all libc6-i686 libc6-dev-ppc64 libc0.3-pic glibc-doc libc0.3 libc6-dev-mipsn32 libc0.1-i686 libc0.1-i386 libc6-mips64 libc6.1-dev libc6-s390x libnss-files-udeb libc0.1-dev-i386 libc6-dev-sparc64 libc6-i386 libc0.3-dev libc6-udeb libc6-dbg libc6.1-pic libc6-dev libc0.3-prof libc6-sparcv9 libc0.1-udeb libc6-dev-i386 libc6.1-prof libc6-mipsn32 libc0.1-dev locales libc6-pic libc0.3-udeb libc6-dev-powerpc libc0.1-pic libc6-ppc64 libc0.3-dbg libc0.1-dbg libc6-amd64 libc0.1 libc6-prof libc6-xen libc6-dev-mips64 libc6-powerpc libc6 libc6-sparcv9b libc6.1-udeb libc6.1-dbg nscd libc6-sparc64 libnss-dns-udeb libc6.1 libc6-dev-s390x
Architecture: source amd64 all
Version: 2.5-11
Distribution: unstable
Urgency: low
Maintainer: Aurelien Jarno <aurel32@debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
Description: 
 glibc-doc  - GNU C Library: Documentation
 libc6      - GNU C Library: Shared libraries
 libc6-dbg  - GNU C Library: Libraries with debugging symbols
 libc6-dev  - GNU C Library: Development Libraries and Header Files
 libc6-dev-i386 - GNU C Library: 32bit development libraries for AMD64
 libc6-i386 - GNU C Library: 32bit shared libraries for AMD64
 libc6-pic  - GNU C Library: PIC archive library
 libc6-prof - GNU C Library: Profiling Libraries
 libc6-udeb - GNU C Library: Shared libraries - udeb (udeb)
 libnss-dns-udeb - GNU C Library: NSS helper for DNS - udeb (udeb)
 libnss-files-udeb - GNU C Library: NSS helper for files - udeb (udeb)
 locales    - GNU C Library: National Language (locale) data [support]
 locales-all - GNU C Library: Precompiled locale data
 nscd       - GNU C Library: Name Service Cache Daemon
Closes: 427416 427637 427990
Changes: 
 glibc (2.5-11) unstable; urgency=low
 .
   [ Aurelien Jarno ]
   * patches/hppa/submitted-pie.diff: new patch to fix PIE on hppa. Patch by
     Sébastien Bernard and John David Anglin.  Closes: #427990.
   * debian/debhelper.in/libc.preinst: use -e instead of -f to canonicalize
     links.  Closes: #427416.
 .
   [ Pierre Habouzit ]
   * pass -X/usr/lib/debug to dh_makeshlibs so that libc6-dbg gets no useless
     shlibs.  Closes: #427637.
Files: 
 14483ab8687b0ad83efbad1877082ebd 2295 libs required glibc_2.5-11.dsc
 9346da2a43c4c3f2ca65c18f88b6c1c8 1137586 libs required glibc_2.5-11.diff.gz
 cda691b55a54d7f187533d0d230d506e 1607424 doc optional glibc-doc_2.5-11_all.deb
 3e3354cf7951fbc870e8fd33018ef773 4085452 libs standard locales_2.5-11_all.deb
 488f1de236ace8388e9fbaf9d2b95f4f 4889460 libs required libc6_2.5-11_amd64.deb
 75f4e5af497d0ddcd9949cce2eb74b91 2472970 libdevel optional libc6-dev_2.5-11_amd64.deb
 4560c36e6b46f1f44f5c85ec0c2f4b60 1910510 libdevel extra libc6-prof_2.5-11_amd64.deb
 5e0f33da79b835238272236d6c8d0c4b 1454018 libdevel optional libc6-pic_2.5-11_amd64.deb
 6f302697cd57b6ef9c00a4d5e3934556 1912520 libs extra locales-all_2.5-11_amd64.deb
 6f124f14c0b47b6ca49b024402342922 3692182 libs optional libc6-i386_2.5-11_amd64.deb
 63cf1cfb27c0cfc434e7ee1c9bdc0df7 1859852 libdevel optional libc6-dev-i386_2.5-11_amd64.deb
 babad2df19fb3e5e33b8478754988114 157578 admin optional nscd_2.5-11_amd64.deb
 bb2e2231b0d83d843afa5329ef6cbc74 5081846 libdevel extra libc6-dbg_2.5-11_amd64.deb
 778dd5224f7b463a12b5dddfa1ddbf8e 1101882 debian-installer extra libc6-udeb_2.5-11_amd64.udeb
 2f06f4d8b7498a9e2e33d7023d263b60 9500 debian-installer extra libnss-dns-udeb_2.5-11_amd64.udeb
 7bb6dc52bba3ebbdc4b31b31ca1efbf6 17770 debian-installer extra libnss-files-udeb_2.5-11_amd64.udeb
Package-Type: udeb

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

iD8DBQFGbVpIw3ao2vG823MRAkGDAJ4lAHJJ2OtAjx4fWkvs/Hz5EBZdogCeL386
Uwy8pLOg9ThcF0VwqVFztQ8=
=7dB4
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: