On Tuesday 20 November 2007 09:30:40 Yuri wrote:
> > What about /etc/src.conf and more complete build log (at least
> > whole compiler line)?
>
> I don't have /etc/src.conf file. Please see last few build commands
> below.
>
> Versions of relevant commands:
> cc (GCC) 4.2.1 20070719  [FreeBSD]
> GNU assembler 2.15 [FreeBSD] 2004-05-23
>
> Yuri
>
>
> cc -fpic -DPIC -I/usr/local/include  -DTERMIOS -DANSI_SOURCE
> -I/usr/src/secure/l ib/libcrypto/../../../crypto/openssl
> -I/usr/src/secure/lib/libcrypto/../../../cr ypto/openssl/crypto
> -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -D
> DSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA
> -std=gnu89  -c /
> usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/en
>g_openssl.c -o eng_openssl.So
> cc -fpic -DPIC -I/usr/local/include  -DTERMIOS -DANSI_SOURCE
> -I/usr/src/secure/l ib/libcrypto/../../../crypto/openssl
> -I/usr/src/secure/lib/libcrypto/../../../cr ypto/openssl/crypto
> -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -D
> DSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA
> -std=gnu89  -c /
> usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/en
>g_padlock.c -o eng_padlock.So
> /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/e
>ng_padlock. c: In function 'padlock_xcrypt_ecb':
> /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/e
>ng_padlock. c:445: error: can't find a register in class
> 'GENERAL_REGS' while reloading 'asm '
> /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/e
>ng_padlock. c:445: error: 'asm' operand has impossible constraints
> *** Error code 1

Yes, that's what I'm talking about, you don't have any optimizations 
(-Ox) in flags to cc and that's why it fails. Make sure that you don't 
have CFLAGS set to '' in your environment or elsewhere (cd /usr/src ; 
make -V CFLAGS  will show your current settings).


Yuri
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to