On Sun March 1 2009, t3 wrote: > > I'm having a problem compiling Openssl 98i and j on my FreeBSD > platform. I get this error: > > gcc -I.. -I../.. -I../../include -DDSO_DLFCN -DHAVE_DLFCN_H -fPIC > -DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer -Wall -c eng_padlock.c > eng_padlock.c: In function `padlock_available': > eng_padlock.c:351: output operand constraint contains `+' > eng_padlock.c:358: output operand constraint contains `+' > eng_padlock.c:365: output operand constraint contains `+' > eng_padlock.c: In function `padlock_bswapl': > eng_padlock.c:383: output operand constraint contains `+' > eng_padlock.c: In function `padlock_verify_context': > eng_padlock.c:422: output operand constraint contains `+' > *** Error code 1 > > > OpenSSL self-test report: > > OpenSSL version: 0.9.8j > Last change: Properly check EVP_VerifyFinal() and similar return val... > Options: -fPIC no-asm no-camellia no-capieng no-cms no-gmp > no-idea no-jpake no-krb5 no-mdc2 no-montasm no-rc5 no-rfc3779 no-seed > no-shared no-threads no-zlib no-zlib-dynamic > OS (uname): FreeBSD xxx 3.4-RELEASE FreeBSD 3.4-RELEASE #2: Mon > Sep 24 12:09:08 CDT 2001 r...@xxx:/usr/src/sys/compile/xx i386 > OS (config): i686-pc-freebsd3.4 >
Is the above what freebsd calls a machine that is running one of the VIA processors? Intel processors don't have a 'padlock engine' - only some VIA processors. That may be leading to problems with conditional code in the package. Too be honest - I didn't look - just spotted the above. > Target (default): BSD-x86-elf > Target: BSD-x86-elf > Compiler: gcc version 2.7.2.3 > And the above - does BSD have a "Target BSD-via-elf"? **** Oops, my bad, I just read what compiler version you are using. ;) **** Only the series 4.x compiler has any support for the VIA padlock instructions. Your toast if you are trying to build for a VIA processor with 2.7. ;) Mike Mike > Failure! > > I've tried various permutations of ./config and make and no dice - > also with gmake and gcc 3.0 > > I've even tried no-padlock and that generates other errors. > > Anyone have any ideas what's wrong? I have not been able to compile > any of the more recent Openssl versions on this machine. > > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List [email protected] > Automated List Manager [email protected] > > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [email protected]
