Date: Sun, 15 May 2011 14:01:46 -0400 From: "Robert Harris" <rs904c@...scape.net> To: <john-dev@...ts.openwall.com> Subject: RE: FW: something wrong with the HDAA_fmt.c programming for 64-bit Solaris -----Original Message----- From: Solar Designer [mailto:solar@...nwall.com] Sent: Sunday, May 15, 2011 12:35 PM To: john-dev@...ts.openwall.com Subject: Re: [john-dev] 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? >>>>>> Here is my gcc version info: bash-3.00$ gcc -v Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) It compiles just fine in 32-bit mode. 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? >>>>>>>>>>>> What -I directive was that? Should there be a different one for 64-bit? 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. >>>>>>>>>>>>>> Is there something odd/unique with HDAA_fmt.c, because skipping it, there are no problems with compiling JtR on Solaris 64-bit. Thanks, 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.