Package: dietlibc
Version: 0.33~cvs20120325-6
Severity: normal
Tags: patch

Building e2fsprogs with dietlibc fails on hppa because the automatically
generated crc headers are truncated.  See:
http://buildd.debian-ports.org/status/fetch.php?pkg=e2fsprogs&arch=hppa&ver=1.42.9-3&stamp=1395956210

All other architectures supported by dietlibc appear to call or branch
to exit (not _exit) on a return from main.  The attached patch does the
same on hppa.  This fixes the e2fsbuild.

Please apply change in next update.

Thanks,
Dave

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

Kernel: Linux 3.14.0-rc8+ (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_CA.utf8)
Shell: /bin/sh linked to /bin/dash
Description: Flush streams on return from main on hppa
 Branch to exit rather than _exit on return from main.
 .
 dietlibc (0.33~cvs20120325-6) unstable; urgency=low
 .
   * Team upload.
   * Upload to unstable
   * debian/watch: Update for new download location, 0.33 is out
   * Remove myself from Uploaders
   * debian/control: Use canonical VCS-* URI, says lintian
Author: John David Anglin <dave.ang...@bell.net>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <2014-03-31>

--- dietlibc-0.33~cvs20120325.orig/parisc/start.S
+++ dietlibc-0.33~cvs20120325/parisc/start.S
@@ -46,7 +46,7 @@ _start:
 	bl CALL_IN_STARTCODE, %rp
 #endif
 	ldo R%$global$(%dp), %dp
-	b _exit
+	b exit
 	or %r28, %r28, %r26
 	.EXIT
 	.PROCEND

Reply via email to