Re: Build error - ELF

2015-05-19 Thread Paul Goyette
BTW, this error occurred while building usr.sbin/crash ... On Wed, 20 May 2015, Paul Goyette wrote: On amd64 with up-to-date source tree... /build/netbsd-local/src/usr.sbin/crash/../../sys/ddb/db_elf.c:51:0: error: ELFSIZE redefined [-Werror] #define ELFSIZE DB_ELFSIZE ^ In file included

Build error - ELF

2015-05-19 Thread Paul Goyette
On amd64 with up-to-date source tree... /build/netbsd-local/src/usr.sbin/crash/../../sys/ddb/db_elf.c:51:0: error: ELFSIZE redefined [-Werror] #define ELFSIZE DB_ELFSIZE ^ In file included from /build/netbsd-local/src/usr.sbin/crash/../../sys/sys/ksyms.h:33:0, from

Re: libcrypto: Illegal instruction ``pshufb'' on non-sse3 CPU

2015-05-19 Thread Masanobu SAITOH
Hi. On 2015/05/19 10:45, Timo Buhrmester wrote: As of late, when building (and installing) -head I end up with a libcrypto causing SIGILL, apparently due to using the ``pshufb'' instruction (which I believe is part of the SSE3 extension). My CPU is, according to /proc/cpuinfo: For x86,

Re: libcrypto: Illegal instruction ``pshufb'' on non-sse3 CPU

2015-05-19 Thread Timo Buhrmester
Joerg: [...] SIGILL [...] due to using the ``pshufb'' instruction I think you are actually ending up in the AVX code path. The question is why. What is the value OPENSSL_ia32cap_P? That's 0x78b Masanobu: For x86, /proc/cpuinfo have not maintained for many years... To avoid this

Re: libcrypto: Illegal instruction ``pshufb'' on non-sse3 CPU

2015-05-19 Thread Joerg Sonnenberger
On Tue, May 19, 2015 at 05:16:21PM +0200, Timo Buhrmester wrote: Joerg: [...] SIGILL [...] due to using the ``pshufb'' instruction I think you are actually ending up in the AVX code path. The question is why. What is the value OPENSSL_ia32cap_P? That's 0x78b and the high part, e.g.