[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Potential spiped 1.4.0 release -- please test



Hello,

Here's what I get on Xubuntu 14.04 with Atom CPU (doesn't support AESNI):


~/sources/spiped-1.4.0a $ make
export CFLAGS="${CFLAGS:--O2}"     \
export LDADD_POSIX=`export CC="cc"; cd POSIX && command -p sh posix-l.sh`; \ export CFLAGS_POSIX=`export CC="cc"; cd POSIX && command -p sh posix-cflags.sh`; \ ( export CC="cc"; cd libcperciva/cpusupport/Build && command -p sh cpusupport.sh ) > cpusupport-config.h; \
	. cpusupport-config.h;				\
	for D in spiped spipe; do				\
		( cd ${D} && make all ) || exit 2;	\
	done
WARNING: POSIX violation: make's CC doesn't understand -lxnet
Checking if compiler supports X86 CPUID feature... yes
Checking if compiler supports X86 AESNI feature... yes, via -maes
/bin/sh: 5: .: cpusupport-config.h: not found
make: *** [all] Error 2


===================

cpusupport-config.h is here:

~/sources/spiped-1.4.0a $ cat cpusupport-config.h
#define CPUSUPPORT_X86_CPUID
#define CPUSUPPORT_X86_AESNI
#ifdef cpusupport_dummy
export CFLAGS_X86_AESNI="-maes"
#endif


$ uname -a
Linux dchest-samsung 3.13.0-34-generic #60-Ubuntu SMP Wed Aug 13 15:45:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
$ gcc --version
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2


--
Dmitry Chestnykh
http://www.codingrobots.com


On 08/23/2014 10:03 AM, Colin Percival wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I've attached a tarball for what might be spiped 1.4.0 -- depending on whether
anyone reports any problems with it.  There are significant changes in the
build code, so please test -- even if all you have time to do is confirm that
it builds, that's better than nothing.

In particular I'd like to see this tested on as many different compilers as
possible and on different (non-x86) platforms, since this new version contains
code for detecting and using AESNI instructions -- the build code *should*
disable this on non-x86 platforms, but I'd like some confirmation.

Changes since 1.3.1:
* -g option causes spipe and spiped to drop connections if the other host is
   using the -f (fast handshake, no forward secrecy) option.
* Automatic detection and use of AESNI instructions.
* lots and lots of minor code cleanups.

Hash of attached tarball:
SHA256 (spiped-1.4.0a.tgz) =
c54827ffba2f8e1deff9a92c13d61ec9bd0b2ae582b7a165f4e275bcd686ef97

- --
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iEYEARECAAYFAlP4SsAACgkQOM7KaQxqam6hqQCeMTTKV2sMGoyt1c2emqvWyjTL
I7YAoJeYJ7dVJY0joSmKmIczsUMvDtCK
=o2cC
-----END PGP SIGNATURE-----