Your message dated Sat, 24 Nov 2012 01:33:08 +0000
with message-id <[email protected]>
and subject line Bug#692222: fixed in libtool 2.4.2-1.2
has caused the Debian Bug report #692222,
regarding libtool: Include x32 support
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 [email protected]
immediately.)


-- 
692222: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692222
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libtool
Version: 2.4.2-1.1
Severity: wishlist
User: [email protected]
Usertags: port-x32 ftbfs-x32

Here's a patch which backports a couple items for x32 support from upstream 
git.  The first chunk, of course, distinguishes between i386 and x32 when it 
sees 32-bit output on x86_64-linux-gnu.  The second chunk handles "undefined" 
output from getconf ARG_MAX, which is the output on x32 when there's no stack 
limit (which happens, for example, for commands run from a makefile, and in 
particular, for configure scripts run from debian/rules).

It would be nice to have this included in the mainline Debian package, so it 
gets included when maintainers run autoreconf locally.  (My x32 bootstrapping 
autobuilder already has custom libtool packages with this change included, so 
if a package build itself runs autoreconf, then it's good.)
-- 
Daniel Schepler
Index: libtool-2.4.2/libltdl/m4/libtool.m4
===================================================================
--- libtool-2.4.2.orig/libltdl/m4/libtool.m4	2012-11-03 15:44:29.000000000 +0000
+++ libtool-2.4.2/libltdl/m4/libtool.m4	2012-11-03 15:50:42.000000000 +0000
@@ -1324,7 +1324,14 @@
 	    LD="${LD-ld} -m elf_i386_fbsd"
 	    ;;
 	  x86_64-*linux*)
-	    LD="${LD-ld} -m elf_i386"
+	    case `/usr/bin/file conftest.o` in
+	      *x86-64*)
+		LD="${LD-ld} -m elf32_x86_64"
+		;;
+	      *)
+		LD="${LD-ld} -m elf_i386"
+		;;
+	    esac
 	    ;;
 	  ppc64-*linux*|powerpc64-*linux*)
 	    LD="${LD-ld} -m elf32ppclinux"
@@ -1688,7 +1695,8 @@
     ;;
   *)
     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
-    if test -n "$lt_cv_sys_max_cmd_len"; then
+    if test -n "$lt_cv_sys_max_cmd_len" && \
+	test undefined != "$lt_cv_sys_max_cmd_len"; then
       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
     else

--- End Message ---
--- Begin Message ---
Source: libtool
Source-Version: 2.4.2-1.2

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

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Schepler <[email protected]> (supplier of updated libtool 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 [email protected])


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

Format: 1.8
Date: Fri, 23 Nov 2012 15:26:44 -0800
Source: libtool
Binary: libtool libtool-doc libltdl7 libltdl-dev
Architecture: source all amd64
Version: 2.4.2-1.2
Distribution: unstable
Urgency: low
Maintainer: Kurt Roeckx <[email protected]>
Changed-By: Daniel Schepler <[email protected]>
Description: 
 libltdl-dev - A system independent dlopen wrapper for GNU libtool
 libltdl7   - A system independent dlopen wrapper for GNU libtool
 libtool    - Generic library support script
 libtool-doc - Generic library support script
Closes: 692222
Changes: 
 libtool (2.4.2-1.2) unstable; urgency=low
 .
   * Non-maintainer upload with maintainer's permission.
   * Backport support for x32 from upstream git.  Closes: #692222.
Checksums-Sha1: 
 bfd2d32aed7a6b8faf7e66119e58c8245a4cdb46 1367 libtool_2.4.2-1.2.dsc
 cc88430bfdbe6b4891697565554ae4d610c52f00 16851 libtool_2.4.2-1.2.debian.tar.gz
 0046343e1e7f9413beac1f48f58b3201f3b50f3c 607156 libtool-doc_2.4.2-1.2_all.deb
 f09e3ba119ae1480a689af3688dee870351c058e 620584 libtool_2.4.2-1.2_amd64.deb
 011b7e779d3662504883abea307b5268f75fe0fa 352246 libltdl7_2.4.2-1.2_amd64.deb
 bcb46cd1fff5bca8aed790a7c7edd4ab3e5d3269 205566 libltdl-dev_2.4.2-1.2_amd64.deb
Checksums-Sha256: 
 74449e5fd10666e6011d2bfc0cb911a37baf027666cb9aa11e6413f442de912a 1367 
libtool_2.4.2-1.2.dsc
 aec479073ca16f6aea53174aa5590f8814a6315e8b3562b8574f56df1f2b7b00 16851 
libtool_2.4.2-1.2.debian.tar.gz
 cc77d6cda47e8bfca89a39dbd1df722505e1cb40035f2cf2db47b1c40e32f0a9 607156 
libtool-doc_2.4.2-1.2_all.deb
 a4660f3491581724080f36dbf2eed5e6b2e91b47edc8e51dd20837494fce8f7b 620584 
libtool_2.4.2-1.2_amd64.deb
 56777860ec11c4962e6d8761f539c2b3a54c5e127696c0c0fc677079d203a7a1 352246 
libltdl7_2.4.2-1.2_amd64.deb
 6f0b1fad1ab9467aa9efd8975eb0b6cf6aa1965226a54b424cdbe71387be90d1 205566 
libltdl-dev_2.4.2-1.2_amd64.deb
Files: 
 0171b628a9ccbea78b271e9ca961194b 1367 devel optional libtool_2.4.2-1.2.dsc
 8693cb73c72e221fe676d7379a241835 16851 devel optional 
libtool_2.4.2-1.2.debian.tar.gz
 55a46a89a77fa3703126471fb29bbdcf 607156 doc optional 
libtool-doc_2.4.2-1.2_all.deb
 b1c85674a6e7d87529cd0a763b20542c 620584 devel optional 
libtool_2.4.2-1.2_amd64.deb
 6005c000d315ef213a73a23df0630bd6 352246 libs optional 
libltdl7_2.4.2-1.2_amd64.deb
 985a1082211e5935db3d48f29d15266f 205566 libdevel optional 
libltdl-dev_2.4.2-1.2_amd64.deb

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

iEYEARECAAYFAlCwExIACgkQNC3LAyACFJD56QCeKhixlXavZt00nPE2dJrLWk+o
tEYAn3hVrK7v6V+mi1Fz59gicDvXS2B7
=qkxN
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to