Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2007 08:46:28 GMT
From:      Yuri <yuri@tsoft.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/118146: 7.0-BETA2 buildworld fails when CFLAGS is set to '' before build
Message-ID:  <200711200846.lAK8kSup042631@www.freebsd.org>
Resent-Message-ID: <200711200850.lAK8o1uV012350@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711200846.lAK8kSup042631>