Fail to build on freebsd 7.3

Matthias Wachs wachs at net.in.tum.de
Thu Mar 21 10:42:18 CET 2013


Hi! 

I have an issue with the latest libgcrypt 1.6.0-beta101 from git.

It fails to build on freebsd 7.3:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src
-D_THREAD_SAFE -I/usr/local/include -g -fvisibility=hidden -Wall
-Wcast-align -Wshadow -Wstrict-prototypes -Wformat -Wno-format-y2k
-Wformat-security -W -Wextra -Wbad-function-cast -Wwrite-strings
-Wdeclaration-after-statement -Wno-missing-field-initializers
-Wno-sign-compare -Wpointer-arith -MT rijndael.lo -MD -MP
-MF .deps/rijndael.Tpo -c rijndael.c  -fPIC -DPIC -o .libs/rijndael.o
/var/tmp//ccwZLDVe.s: Assembler messages:
/var/tmp//ccwZLDVe.s:15053: Error: no such instruction: `pshufb
be_mask.6570(%rip),%xmm2'
/var/tmp//ccwZLDVe.s:15062: Error: no such instruction: `pshufb
be_mask.6570(%rip),%xmm2'
/var/tmp//ccwZLDVe.s:15155: Error: no such instruction: `pshufb
be_mask.6579(%rip),%xmm2'
/var/tmp//ccwZLDVe.s:15182: Error: no such instruction: `pshufb
be_mask.6579(%rip),%xmm2'
/var/tmp//ccwZLDVe.s:15183: Error: no such instruction: `pshufb
be_mask.6579(%rip),%xmm3'
/var/tmp//ccwZLDVe.s:15184: Error: no such instruction: `pshufb
be_mask.6579(%rip),%xmm4'
/var/tmp//ccwZLDVe.s:15185: Error: no such instruction: `pshufb
be_mask.6579(%rip),%xmm5'
*** Error code 1

Stop in /root/libgcrypt.git/cipher.

Both with "--disable-asm" and without:
 ./configure  --enable-maintainer-mode --prefix=/opt/libgcrypt-dev
--disable-asm:

config.status: executing gcrypt-conf commands
         
        Libgcrypt v1.6.0-beta101 has been configured as follows:
         
        Platform:                  FreeBSD (x86_64-unknown-freebsd7.3)
        Hardware detection module: none
        Enabled cipher algorithms: arcfour blowfish cast5 des aes
twofish
                                   serpent rfc2268 seed camellia idea
        Enabled digest algorithms: crc md4 md5 rmd160 sha1 sha256 sha512
                                   tiger whirlpool
        Enabled pubkey algorithms: dsa elgamal rsa ecc
        Random number generator:   default
        Using linux capabilities:  no
        Try using Padlock crypto:  yes
        Try using AES-NI crypto:   yes
        Try using DRNG (RDRAND):   yes
        Try using Intel AVX:       no (unsupported by compiler)


Any ideas about that? thx in advance!
-Matthias



-- 
Dipl.-Inf. Matthias Wachs
Free Secure Network Systems Group
Technische Universitaet Muenchen
Chair for Network Architectures and Services
Institute for Informatics / I8           Tel:    +49 89 289 18037
Boltzmannstr. 3 / Room 03.05.042         Fax:    +49 89 289 18033
D-85748 Garching b. Muenchen, Germany    Email: wachs at net.in.tum.de




More information about the Gcrypt-devel mailing list