Re: FreeBSD-7.0 fails to compile after upgrade
Quoting Yuri Pankov <[EMAIL PROTECTED]>: > 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). Interesting. Still not clear why would this error be caused bythe lack of -Ox option. 6.3 was compiling successfully with the same CFLAGS. I had some -I in CFLAGS. And didn't realize that system build picks up optimization options from there instead of appending them to existing CFLAGS. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD-7.0 fails to compile after upgrade
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]"
Re: FreeBSD-7.0 fails to compile after upgrade
> 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/eng_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/eng_padlock.c -o eng_padlock.So /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_padlock. c: In function 'padlock_xcrypt_ecb': /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_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/eng_padlock. c:445: error: 'asm' operand has impossible constraints *** Error code 1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD-7.0 fails to compile after upgrade
On Tuesday 20 November 2007 06:40:53 Yuri wrote: > > More like incompatibility with your CFLAGS. Are you using CFLAGS > > with no optimizations (can't guess from pasted log)? > > I didn't specify any special CFLAGS. And my /etc/make.conf is empty. > > Yuri What about /etc/src.conf and more complete build log (at least whole compiler line)? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD-7.0 fails to compile after upgrade
Hello, I have the same problem and you need to add this options in your kernel options file: device crypto device cryptodev device enc For me, now everything it's ok. Sébastien. Yuri Pankov <[EMAIL PROTECTED]> a écrit : On Tuesday 20 November 2007 06:24:36 Yuri wrote: I just upgraded my system, with 7.0-BETA2 CD. After this I updated the sources from CVS and tried to make buildworld. But I am getting the following compilation error. What may be wrong? Seems like some incompatibility between asembler and compiler? More like incompatibility with your CFLAGS. Are you using CFLAGS with no optimizations (can't guess from pasted log)? Yuri .../../../crypto/openssl/crypto -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL _THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std= gnu89 -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/e n 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 Stop in /usr/src/secure/lib/libcrypto. *** Error code 1 Stop in /usr/src. *** Error code 1 Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" This message was sent using IMP, the Internet Messaging Program. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD-7.0 fails to compile after upgrade
> More like incompatibility with your CFLAGS. Are you using CFLAGS with no > optimizations (can't guess from pasted log)? I didn't specify any special CFLAGS. And my /etc/make.conf is empty. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD-7.0 fails to compile after upgrade
On Tuesday 20 November 2007 06:24:36 Yuri wrote: > I just upgraded my system, with 7.0-BETA2 CD. > After this I updated the sources from CVS and tried to make > buildworld. But I am getting the following compilation error. > > What may be wrong? > Seems like some incompatibility between asembler and compiler? More like incompatibility with your CFLAGS. Are you using CFLAGS with no optimizations (can't guess from pasted log)? > > Yuri > > .../../../crypto/openssl/crypto > -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL _THREADS > -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA > -std= gnu89 -c > /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/e >n 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 > > Stop in /usr/src/secure/lib/libcrypto. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD-7.0 fails to compile after upgrade
I just upgraded my system, with 7.0-BETA2 CD. After this I updated the sources from CVS and tried to make buildworld. But I am getting the following compilation error. What may be wrong? Seems like some incompatibility between asembler and compiler? Yuri ../../../crypto/openssl/crypto -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL _THREADS -DDSO_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/eng_padlock. c: In function 'padlock_xcrypt_ecb': /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_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/eng_padlock. c:445: error: 'asm' operand has impossible constraints *** Error code 1 Stop in /usr/src/secure/lib/libcrypto. *** Error code 1 Stop in /usr/src. *** Error code 1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"