Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 15 May 2011 20:35:13 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: FW: something wrong with the HDAA_fmt.c programming for 64-bit Solaris

Robert, Jim, Romain -

On Sun, May 15, 2011 at 10:51:34AM -0400, Robert Harris wrote:
> No errors for "make clean solaris-x86-sse2-gcc" or "solaris-x86-mmx-gcc"
> (After changing bench.c to #define _XOPEN_SOURCE 500)
> 
> Errors with "make clean solaris-x86-64-gcc"  It appears I get the same error
> with RC3, see below.
...
> HDAA_fmt.c:16:22: mmintrin.h: No such file or directory

This is a gcc packaging error.  I thought Sunfreeware's packages of gcc
for both 32- and 64-bit x86 were affected.  Have the 32-bit packages
since been fixed?  What versions of gcc are you using?

The workaround was to add a proper -I directive on the gcc command line.
Maybe you're still using one for your 32-bit builds?

I am unsure if we want to patch this in JtR source code.  It may be
better to use a non-broken compiler build - either proper/clean/new
build of gcc or Oracle Solaris Studio (yes, the name keeps changing).

You could want to try building/using gcc in a user's home directory:

http://openwall.info/wiki/internal/gcc-local-build

I had tested this procedure on Linux (and re-tested it recently with a
gcc 4.7.0 development snapshot), but it should also work on Solaris.

Thanks,

Alexander

Powered by blists - more mailing lists

Your e-mail address:

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