Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 02 Feb 2012 10:05:19 +0100
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: build experiment

This may be a silly question and it might even be off topic: Why is it
that if I compile everything in one line, like this...

rm *.o
ln -fs x86-64.h arch.h
make fmt_registers.h
make fmt_externs.h
gcc -o ../run/john -s -Wall -O2 -fomit-frame-pointer
-I/usr/local/include -DHAVE_CRYPT x86-64.S "LOTS OF FILES.c"
-L/usr/local/lib -L/usr/local/ssl/lib -lcrypto -lssl -lm -lz -lcrypt

(replace "LOTS OF FILES.c" with most of *.c)

...it works just fine but I get really poor figures for intrinsics
md4/md5/sha1,

Benchmarking: Raw MD5 [SSE2i 12x]... DONE
Raw:	9154K c/s real, 9154K c/s virtual

This is less than half normal speed (formats that do not use
sse-intrinsics.c performs normally). Btw the binary is 911K instead of
1.2M for linux-x86-64.

I'm just tring to understand how things go together.

magnum

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.