Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 15 Mar 2011 00:00:06 +0300
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: linux-x86-any on 64-bit host (was: NT_fmt bug)

On Mon, Mar 14, 2011 at 09:22:27PM +0100, magnum wrote:
> (BTW, shouldn't I be able to "make linux-x86-any" (or sse or mmx) on a 
> 64-bit host, for testing? Do I just miss something in my binutils?)

No, this is not supposed to work.  The linux-x86-[^6]* targets are meant
to work on old Linux systems where gcc does not accept the -m32 option,
so they don't pass this option.  Thus, when you attempt to use these
targets on an x86-64 Linux system, you get stuff built for 64-bit, which
then conflicts with the arch.h settings and the 32-bit assembly files.

For testing, there exist undocumented linux-x86-64-32-sse2 and
linux-x86-64-32-mmx targets.  (Perhaps linux-x86-64-32-any should be
added as well.)  These require 32-bit compatibility libraries, which on
many distros you need to install separately.

Alexander

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ