|
Message-ID: <20110314210006.GA26712@openwall.com> 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
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.