Comment 4 for bug 27055

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sat, 17 Dec 2005 18:04:50 +0100
From: Robert Luberda <email address hidden>
To: Max Alekseyev <email address hidden>, <email address hidden>
Subject: Re: Bug#343250: upx-ucl-beta: broken on 64-bit systems

--------------030300000508060608020105
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: 7bit

Max Alekseyev wrote:

Hi,

> It fails to be build from sources on amd64 with the following error:

I've just uploaded 1:1.94+0.20051214cvs-2, which fixes the error. The
patch is very simple, I'm attaching it in case you didn't want to wait
for autobuilders and recompile the package yourself.

Please check if this version works for you on amd64.
It seems the upstream has added support for native amd64 executables,
could you also please test it?

>
> upx-ucl works OK.

OK, that's great.

Best Regards,
robert

--------------030300000508060608020105
Content-Type: text/x-patch;
 name="upx-ftbfs-64bit.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="upx-ftbfs-64bit.patch"

--- src/p_lx_elf.h.old 2005-12-14 08:21:58.000000000 +0100
+++ src/p_lx_elf.h 2005-12-17 16:39:49.000000000 +0100
@@ -208,7 +208,7 @@
     virtual acc_uint64l_t get_native64(const void *b) const { return get_le64(b); }
     virtual unsigned get_native32(const void *b) const { return get_le32(b); }
     virtual unsigned get_native16(const void *b) const { return get_le16(b); }
- virtual void set_native64(void *b, unsigned long long v) const { set_le64(b, v); }
+ virtual void set_native64(void *b, acc_uint64l_t v) const { set_le64(b, v); }
     virtual void set_native32(void *b, unsigned v) const { set_le32(b, v); }
     virtual void set_native16(void *b, unsigned v) const { set_le16(b, v); }
 };

--------------030300000508060608020105--