Opened 19 months ago
Last modified 19 months ago
#67313 assigned defect
tor @0.4.7.13 fails to configure on Tiger: error: We tried to build with stack protection; it looks like your compiler supports it but your libc does not provide it
Reported by: | barracuda156 | Owned by: | i0ntempest |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | tiger | Cc: | |
Port: | tor |
Description
---> Configuring tor Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_tor/tor/work/tor-0.4.7.13" && ./configure --prefix=/opt/local --disable-silent-rules --disable-lzma --disable-zstd checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whether make supports the include directive... yes (GNU style) checking for gcc... /opt/local/bin/gcc-apple-4.2 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /opt/local/bin/gcc-apple-4.2 accepts -g... yes checking for /opt/local/bin/gcc-apple-4.2 option to accept ISO C89... none needed checking whether /opt/local/bin/gcc-apple-4.2 understands -c and -o together... yes checking dependency style of /opt/local/bin/gcc-apple-4.2... gcc3 checking how to run the C preprocessor... /opt/local/bin/gcc-apple-4.2 -E checking for grep that handles long lines and -e... /opt/local/bin/ggrep checking for egrep... /opt/local/bin/ggrep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking build system type... powerpc-apple-darwin8.11.0 checking host system type... powerpc-apple-darwin8.11.0 checking for pkg-config... /opt/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for SYSTEMD... no configure: Okay, checking for systemd a different way... checking for SYSTEMD... no checking for ar... ar checking the archiver (ar) interface... ar checking for gcc... (cached) /opt/local/bin/gcc-apple-4.2 checking whether we are using the GNU C compiler... (cached) yes checking whether /opt/local/bin/gcc-apple-4.2 accepts -g... (cached) yes checking for /opt/local/bin/gcc-apple-4.2 option to accept ISO C89... (cached) none needed checking whether /opt/local/bin/gcc-apple-4.2 understands -c and -o together... (cached) yes checking dependency style of /opt/local/bin/gcc-apple-4.2... (cached) gcc3 checking how to run the C preprocessor... /opt/local/bin/gcc-apple-4.2 -E checking whether make sets $(MAKE)... (cached) yes checking for ranlib... ranlib checking for a sed that does not truncate output... /opt/local/bin/gsed checking for C compiler vendor... gnu checking for C compiler version... 4.2.1 checking for C compiler vendor... (cached) gnu checking for perl... perl checking for asciidoc... /opt/local/bin/asciidoc checking for a2x... /opt/local/bin/a2x checking for /opt/local/bin/gcc-apple-4.2 option to accept ISO C99... -std=gnu99 checking for Python 3... /opt/local/bin/python3.8 checking for flexible array members... yes checking for working C99 mid-block declaration syntax... yes checking for working C99 designated initializers... yes checking for __attribute__((fallthrough))... no checking for win32... no checking for MIPSpro compiler... no checking whether byte ordering is bigendian... yes checking for library containing socket... none required checking for library containing gethostbyname... none required checking for library containing dlopen... none required checking for library containing inet_aton... none required checking for library containing backtrace... no checking for library containing clock_gettime... no checking for library containing pthread_create... none required checking for library containing pthread_detach... none required checking for _NSGetEnviron... yes checking for RtlSecureZeroMemory... no checking for SecureZeroMemory... no checking for accept4... no checking for backtrace... no checking for backtrace_symbols_fd... no checking for eventfd... no checking for explicit_bzero... no checking for timingsafe_memcmp... no checking for flock... yes checking for fsync... yes checking for ftime... yes checking for get_current_dir_name... no checking for getaddrinfo... yes checking for getdelim... no checking for getifaddrs... yes checking for getline... no checking for getrlimit... yes checking for gettimeofday... yes checking for gmtime_r... yes checking for gnu_get_libc_version... no checking for inet_aton... yes checking for ioctl... yes checking for issetugid... yes checking for llround... yes checking for localtime_r... yes checking for lround... yes checking for madvise... yes checking for memmem... no checking for memset_s... no checking for minherit... yes checking for mmap... yes checking for pipe... yes checking for pipe2... no checking for prctl... no checking for readpassphrase... yes checking for rint... yes checking for sigaction... yes checking for snprintf... yes checking for socketpair... yes checking for statvfs... yes checking for strncasecmp... yes checking for strcasecmp... yes checking for strlcat... yes checking for strlcpy... yes checking for strnlen... no checking for strptime... yes checking for strtok_r... yes checking for strtoull... yes checking for sysconf... yes checking for sysctl... yes checking for timegm... yes checking for truncate... yes checking for uname... yes checking for usleep... yes checking for vasprintf... yes checking for _vscprintf... no checking for vsnprintf... yes checking for a pre-Yosemite OS X build target... yes checking for a pre-Sierra OSX build target... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_create... yes checking for pthread_condattr_setclock... no checking for glob... yes checking whether free(NULL) works... yes checking for libevent directory... (system) checking whether we need extra options to link libevent... (none) checking event2/event.h usability... yes checking event2/event.h presence... yes checking for event2/event.h... yes checking event2/dns.h usability... yes checking event2/dns.h presence... yes checking for event2/dns.h... yes checking event2/bufferevent_ssl.h usability... yes checking event2/bufferevent_ssl.h presence... yes checking for event2/bufferevent_ssl.h... yes checking for library containing event_new... -levent checking for library containing evdns_base_new... none required checking for evutil_secure_rng_set_urandom_device_file... yes checking for evutil_secure_rng_add_bytes... yes checking for evdns_base_get_nameserver_addr... yes checking whether Libevent is new enough... yes checking for library containing pow... none required configure: Now, we'll look for OpenSSL >= 1.0.1 checking for openssl directory... (system) checking whether we need extra options to link openssl... (none) checking for OpenSSL >= 3.0.0... yes checking for OpenSSL < 1.0.1... no checking whether LibreSSL TLS 1.3 APIs are busted... no checking for significant mismatch between openssl headers and libraries... no checking for struct ssl_method_st.get_cipher_by_char... no checking for ERR_load_KDF_strings... yes checking for EVP_PBE_scrypt... yes checking for SSL_CIPHER_find... yes checking for SSL_CTX_set1_groups_list... no checking for SSL_CTX_set_security_level... yes checking for SSL_SESSION_get_master_key... yes checking for SSL_get_client_ciphers... yes checking for SSL_get_client_random... yes checking for SSL_get_server_random... yes checking for TLS_method... yes checking for SSL.state... no checking size of SHA_CTX... 96 checking for struct tcp_info.tcpi_unacked... no checking for struct tcp_info.tcpi_snd_mss... no configure: KIST scheduler can't be used. Missing support. checking for zlib directory... (system) checking whether we need extra options to link zlib... (none) checking for cap_init in -lcap... no configure: Libcap was not found. Capabilities will not be usable. checking for cap_set_proc... no checking whether the compiler accepts -fstack-protector-all... yes configure: error: We tried to build with stack protection; it looks like your compiler supports it but your libc does not provide it. Are you missing libssp? (You can --disable-gcc-hardening to ignore this error.) Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_tor/tor/work/tor-0.4.7.13" && ./configure --prefix=/opt/local --disable-silent-rules --disable-lzma --disable-zstd Exit code: 1
Attachments (1)
Change History (3)
Changed 19 months ago by barracuda156
Attachment: | config_tor.log added |
---|
comment:1 Changed 19 months ago by kencu (Ken)
comment:2 Changed 19 months ago by kencu (Ken)
Here's a good example where we worked through this.
In that case, the -fstack-protector-strong
was not being added to the link flags (but it needed to be).
Note: See
TracTickets for help on using
tickets.
we have had issues finding these stack protector libraries before... let me see if I can find the tickets.