Opened 3 months ago

Last modified 3 months ago

#70631 new defect

john uses an arbitrary -mcpu flag

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: powerpc Cc: catap (Kirill A. Korinsky)
Port: john

Description (last modified by barracuda156)

This is on G5:

--->  Building john
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_john/john/work/john-1.9.0/src" && /usr/bin/make -w clean macosx-ppc32-altivec CC=/usr/bin/gcc-4.2 
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_john/john/work/john-1.9.0/src'
rm -f ../run/john ../run/unshadow ../run/unafs ../run/unique ../run/john.bin ../run/john.com ../run/unshadow.com ../run/unafs.com ../run/unique.com ../run/john.exe ../run/unshadow.exe ../run/unafs.exe ../run/unique.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 ppc32alt.h arch.h
/usr/bin/make ../run/john ../run/unshadow ../run/unafs ../run/unique \
		CFLAGS="-c -Wall -fomit-frame-pointer" \
		OPT_NORMAL="-fast -mcpu=7450" \
		OPT_INLINE="-fast -mcpu=7450 -finline-limit=4000 -faltivec -maltivec"
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_john/john/work/john-1.9.0/src'
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 DES_fmt.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 DES_std.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 DES_bs.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 -finline-limit=4000 -faltivec -maltivec DES_bs_b.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 BSDI_fmt.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 MD5_fmt.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 MD5_std.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 BF_fmt.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 BF_std.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 AFS_fmt.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 LM_fmt.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 trip_fmt.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 dummy.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 batch.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 bench.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 charset.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 common.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 compiler.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 config.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 cracker.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 crc32.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 external.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 formats.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 getopt.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 idle.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 inc.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 john.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 list.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 loader.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 logger.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 memory.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 misc.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 options.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 params.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 path.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 recovery.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 rpp.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 rules.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 signals.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 single.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 status.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 tty.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 wordlist.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 unshadow.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 unafs.c
/usr/bin/gcc-4.2 -c -Wall -fomit-frame-pointer -fast -mcpu=7450 unique.c
/usr/bin/gcc-4.2 DES_fmt.o DES_std.o DES_bs.o DES_bs_b.o BSDI_fmt.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o AFS_fmt.o LM_fmt.o trip_fmt.o dummy.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 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 unshadow.o unafs.o unique.o -s  -o ../run/john

Using -mcpu which mismatches the actual cpu is wrong.

Change History (1)

comment:1 Changed 3 months ago by barracuda156

Description: modified (diff)
Note: See TracTickets for help on using tickets.