misc/118146: 7.0-BETA2 buildworld fails when CFLAGS is set to ''
before build
Yuri
yuri at tsoft.com
Tue Nov 20 00:50:02 PST 2007
>Number: 118146
>Category: misc
>Synopsis: 7.0-BETA2 buildworld fails when CFLAGS is set to '' before build
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Nov 20 08:50:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Yuri
>Release: 7.0-BETA2
>Organization:
n/a
>Environment:
>Description:
Compilation failure occurred on 7.0-BETA2 system during buildworld.
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
>How-To-Repeat:
/etc/make.conf has a line "CFLAGS="
>Fix:
make sure CFLAGS either empty or has some -Ox options before buildworld.
But compile should be successful even with CFLAGS="".
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list