| Ticket Hash: | d51fd4f49a98595c9b0eb856e312c64e0238a428 | ||
| Title: | error in configure on Solaris 11.3 with developerstudio12.5 "cc" | ||
| Status: | Closed | Type: | Build Problem |
| Severity: | Important | Priority: | Medium |
| Subsystem: | Resolution: | Fixed | |
| Last Modified: |
2019-11-15 16:37:23 5.96 years ago |
Created: |
2019-11-08 12:39:05 5.98 years ago |
| Version Found In: | 1.7.19 | ||
| User Comments: | ||||
avl42 added on 2019-11-08 12:39:05:
configure output ends with these lines:
checking which TLS library to use... openssl
checking if a basic OpenSSL program works... no
configure: error: Unable to compile a basic program using OpenSSL
relevant part from config-log:
configure:5303: checking which TLS library to use
configure:5305: result: openssl
configure:5547: checking if a basic OpenSSL program works
configure:5569: cc -o conftest -g -I/usr/local/include -Wno-unused-value -Wno-unused-parameter -Wno-deprecated-declarations -Wall -W -Wno-self-assign -fstack-protector-all -fno-strict-overflow -I/usr/local/include conftest.c -lssl -lcrypto -L/usr/local/lib -ltclstub8.6 -lssl -lcrypto >&5
cc: Warning: Option -fstack-protector-all passed to ld, if ld is invoked, ignored otherwise
cc: Warning: Option -fno-strict-overflow passed to ld, if ld is invoked, ignored otherwise
ld: fatal: option '-fstack-protector-all' is incompatible with building a dynamic executable
configure:5569: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcltls"
| #define PACKAGE_TARNAME "tcltls"
| #define PACKAGE_VERSION "1.7.19"
| #define PACKAGE_STRING "tcltls 1.7.19"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define MODULE_SCOPE static
| #define USE_TCL_STUBS 1
| #define _FORTIFY_SOURCE 2
| /* end confdefs.h. */
|
| #include <openssl/ssl.h>
| #include <openssl/opensslv.h>
| #if (SSLEAY_VERSION_NUMBER >= 0x0907000L)
| # include <openssl/conf.h>
| #endif
|
| int
| main ()
| {
|
| SSL_library_init();
| SSL_load_error_strings();
|
| ;
| return 0;
| }
configure:5576: result: no
configure:5578: error: Unable to compile a basic program using OpenSSL
Further information from config.log "on demand".
avl42 added on 2019-11-08 12:46:16:
PS: old version tls1.6.7 did not have this configure test, and worked fine after compilation. rkeene added on 2019-11-14 00:56:05:
This should be fixed by [01719ee8de] | ||||