Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 1 Oct 2010 00:35:35 -0400
From: "Robert Harris" <rs904c@...scape.net>
To: <john-users@...ts.openwall.com>
Subject: Compiling issue in Solaris with JtR-jumbo7 64 bit gcc

John Users,

 

I can now successfully compile JtR in Solaris with JtR-jumbo7 in 32 bit mode
(gcc), yea,  but I can't do it for 64-bit.

 

I need to test my 32-bit mode version before I release it.  Any volunteers?

 

(I added -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include like Alex
suggested last time).

 

Any suggestions?

 

bash-3.00$  gmake clean solaris-x86-64-gcc -f Makefile-fix-solaris-x86-64

rm -f ../run/john ../run/unshadow ../run/unafs ../run/unique ../run/undrop
../run/genmkvpwd ../run/mkvcalcproba ../run/calc_stat ../run/tgtsnarf
../run/john.bin ../run/john.com ../run/unshadow.com ../run/unafs.com
../run/unique.com ../run/undrop.com ../run/john.exe ../run/unshadow.exe
../run/unafs.exe ../run/unique.exe ../run/undrop.exe ../run/genmkvpwd.exe
../run/mkvcalcproba.exe ../run/calc_stat.exe ../run/john-mingw.exe
../run/unshadow.exe ../run/unafs.exe ../run/unique.exe ../run/undrop.exe
../run/genmkvpwd.exe ../run/mkvcalcproba.exe ../run/calc_stat.exe

rm -f ../run/john.exe john-macosx-* *.o *.bak core

rm -f detect bench generic.h arch.h tmp.s

cp /dev/null Makefile.dep

ln -sf x86-64.h arch.h

gmake ../run/john ../run/unshadow ../run/unafs ../run/unique ../run/undrop
../run/genmkvpwd ../run/mkvcalcproba ../run/calc_stat ../run/tgtsnarf \

JOHN_OBJS="DES_fmt.o DES_std.o DES_bs.o DES_bs_b.o BSDI_fmt.o MD5_fmt.o
MD5_std.o MD5_apache_fmt.o BFEgg_fmt.o BF_fmt.o BF_std.o AFS_fmt.o LM_fmt.o
NT_fmt.o XSHA_fmt.o DOMINOSEC_fmt.o lotus5_fmt.o oracle_fmt.o oracle11_fmt.o
MYSQL_fmt.o mysqlSHA1_fmt.o KRB4_fmt.o KRB4_std.o KRB5_fmt.o KRB5_std.o
md5_go.o rawMD5go_fmt.o md5_eq.o PO_fmt.o md5.o hmacmd5.o hmacMD5_fmt.o
IPB2_fmt.o rawSHA1_fmt.o NSLDAP_fmt.o NSLDAPS_fmt.o OPENLDAPS_fmt.o base64.o
md4.o smbencrypt.o mscash_fmt.o NETLM_fmt.o NETNTLM_fmt.o NETLMv2_fmt.o
NETNTLMv2_fmt.o NETHALFLM_fmt.o MSCHAPv2_fmt.o mssql_fmt.o mssql05_fmt.o
EPI_fmt.o PHPS_fmt.o MYSQL_fast_fmt.o pixMD5_fmt.o sapG_fmt.o sapB_fmt.o
NS_fmt.o HDAA_fmt.o phpassMD5_fmt.o md5_gen_fmt.o md5_gen_parser.o
md5_gen_preloads.o DMD5_fmt.o SKEY_fmt.o batch.o bench.o charset.o common.o
compiler.o config.o cracker.o crc32.o external.o formats.o getopt.o idle.o
inc.o john.o list.o loader.o logger.o math.o memory.o misc.o options.o
params.o path.o recovery.o rpp.o rules.o signals.o single.o status.o tty.o
wordlist.o mkv.o mkvlib.o unshadow.o unafs.o undrop.o unique.o c3_fmt.o
x86-64.o" \

        CFLAGS="-c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include" \

        ASFLAGS="-c -Wall -O2 -fomit-frame-pointer -I/usr/local/include
-m64" \

        LDFLAGS="-s -L/usr/local/lib -L/usr/local/ssl/lib -lcrypto -lm  -m64
-lrt -lnsl -lsocket"

gmake[1]: Entering directory
`/rob/john-1.7.6-jumbo-7-netscreen-script-2.04-Solaris32-with-source/src'

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops DES_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops DES_std.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops DES_bs.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-finline-functions DES_bs_b.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops BSDI_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops MD5_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops MD5_std.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops MD5_apache_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops BFEgg_fmt.cgcc -c -Wall -O2 -fomit-frame-pointer
-I/usr/local/include  -m64 -DHAVE_CRYPT
-I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include -funroll-loops BF_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops BF_std.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops AFS_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops LM_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops NT_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops XSHA_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops DOMINOSEC_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops lotus5_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops oracle_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops oracle11_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops MYSQL_fmt.cgcc -c -Wall -O2 -fomit-frame-pointer
-I/usr/local/include  -m64 -DHAVE_CRYPT
-I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include -funroll-loops
mysqlSHA1_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops KRB4_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops KRB4_std.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops KRB5_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops KRB5_std.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops md5_go.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops rawMD5go_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops md5_eq.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops PO_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops md5.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops hmacmd5.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops hmacMD5_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops IPB2_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops rawSHA1_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops NSLDAP_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops NSLDAPS_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops OPENLDAPS_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops base64.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops md4.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops smbencrypt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops mscash_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops NETLM_fmt.cgcc -c -Wall -O2 -fomit-frame-pointer
-I/usr/local/include  -m64 -DHAVE_CRYPT
-I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include -funroll-loops
NETNTLM_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops NETLMv2_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops NETNTLMv2_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops NETHALFLM_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops MSCHAPv2_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops mssql_fmt.cgcc -c -Wall -O2 -fomit-frame-pointer
-I/usr/local/include  -m64 -DHAVE_CRYPT
-I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include -funroll-loops
mssql05_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops EPI_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops PHPS_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops MYSQL_fast_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops pixMD5_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops sapG_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops sapB_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops NS_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include
-funroll-loops HDAA_fmt.c

HDAA_fmt.c:16:22: mmintrin.h: No such file or directory

HDAA_fmt.c:100: error: syntax error before "conv"

HDAA_fmt.c:100: warning: type defaults to `int' in declaration of `conv'

HDAA_fmt.c:100: warning: data definition has no type or storage class

HDAA_fmt.c:152: error: syntax error before "src"

HDAA_fmt.c: In function `bin2ascii':

HDAA_fmt.c:157: error: `__m64' undeclared (first use in this function)

HDAA_fmt.c:157: error: (Each undeclared identifier is reported only once

HDAA_fmt.c:157: error: for each function it appears in.)

HDAA_fmt.c:157: error: syntax error before "l"

HDAA_fmt.c:164: error: `t' undeclared (first use in this function)

HDAA_fmt.c:164: warning: implicit declaration of function `_mm_set1_pi32'

HDAA_fmt.c:167: error: `u' undeclared (first use in this function)

HDAA_fmt.c:167: warning: implicit declaration of function `_mm_and_si64'

HDAA_fmt.c:167: warning: implicit declaration of function `_mm_srli_si64'

HDAA_fmt.c:167: error: `src' undeclared (first use in this function)

HDAA_fmt.c:168: error: `v' undeclared (first use in this function)

HDAA_fmt.c:171: error: `l' undeclared (first use in this function)

HDAA_fmt.c:171: warning: implicit declaration of function `_mm_unpacklo_pi8'

HDAA_fmt.c:172: error: `r' undeclared (first use in this function)

HDAA_fmt.c:172: warning: implicit declaration of function `_mm_unpackhi_pi8'

HDAA_fmt.c:175: warning: implicit declaration of function `_mm_add_pi32'

HDAA_fmt.c:187: warning: implicit declaration of function `_mm_mullo_pi16'

HDAA_fmt.c: In function `hdaa_crypt_all':

HDAA_fmt.c:237: error: `__m64' undeclared (first use in this function)

HDAA_fmt.c:237: error: syntax error before "h1"

HDAA_fmt.c:252: error: `h1' undeclared (first use in this function)

HDAA_fmt.c: In function `hdaa_salt':

HDAA_fmt.c:295: error: `__m64' undeclared (first use in this function)

HDAA_fmt.c:295: error: syntax error before "h2"

HDAA_fmt.c:317: error: `h2' undeclared (first use in this function)

gmake[1]: *** [HDAA_fmt.o] Error 1

gmake[1]: Leaving directory
`/rob/john-1.7.6-jumbo-7-netscreen-script-2.04-Solaris32-with-source/src'

gmake: *** [solaris-x86-64-gcc] Error 2

bash-3.00$

bash-3.00$ which gmake

/usr/sfw/bin/gmake

bash-3.00$ gmake -v

GNU Make 3.80

Copyright (C) 2002  Free Software Foundation, Inc.

This is free software; see the source for copying conditions.

There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A

PARTICULAR PURPOSE.

bash-3.00$ which gcc

/usr/sfw/bin/gcc

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)


Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.