$ ./configure --prefix=/usr/home/system/dnsdist/ --enable-dnscrypt --enable-dns-over-tls --enable-dns-over-https
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... no
checking for cc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of cc... gcc3
checking for g++... no
checking for c++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking how to run the C++ preprocessor... c++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -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... amd64-unknown-freebsd11.3
checking host system type... amd64-unknown-freebsd11.3
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert amd64-unknown-freebsd11.3 file names to amd64-unknown-freebsd11.3 format... func_convert_file_noop
checking how to convert amd64-unknown-freebsd11.3 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd11.3 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd11.3 ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether we will be linking in libsodium... auto
checking for LIBSODIUM... yes
checking for crypto_box_easy_afternm... yes
checking for crypto_box_curve25519xchacha20poly1305_easy... yes
checking for randombytes_stir... yes
checking whether we will have dnstap... auto
checking for FSTRM... yes
checking for fstrm_tcp_writer_init... yes
checking for ragel... ragel
checking for LIBEDIT... yes
checking for library containing clock_gettime... none required
checking whether -latomic is needed for __atomic builtins... no
checking for pthread_np.h... yes
checking for 2-arg pthread_setname_np... no
checking for 2-arg pthread_set_name_np... no
checking for 2-arg void pthread_set_name_np... yes
checking for library containing inet_aton... none required
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for library containing gethostent... none required
checking for recvmmsg... yes
checking for sendmmsg... yes
checking for accept4... yes
checking for library containing pthread_setaffinity_np... -lpthread
checking for explicit_bzero... yes
checking for explicit_memset... no
checking if we need to link in protobuf... auto
checking for PROTOBUF... yes
checking for protoc... protoc
checking for Boost headers version >= 1.42.0... /usr/local/include
checking for Boost's header version... 1_69
checking for the toolset name used by Boost for c++... clang80
checking whether to enable unit test building... no
checking if we should compile in libre2 for dnsdist... no
checking whether to enable DNSCrypt support... yes
checking if we have eBPF support... auto
checking linux/bpf.h usability... no
checking linux/bpf.h presence... no
checking for linux/bpf.h... no
checking if we need to link in Net SNMP... auto
checking for net-snmp-config... no
checking for net-snmp-config... no
checking whether snmp_select_info2 is declared... no
checking whether we will be linking in libcap... auto
checking for LIBCAP... no
checking systemd/sd-daemon.h usability... no
checking systemd/sd-daemon.h presence... no
checking for systemd/sd-daemon.h... no
checking for localtime_r... yes
checking for gmtime_r... yes
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking which Lua implementation to use... auto
checking for LUA... yes
configure: Adding -rdynamic to export all symbols for the Lua FFI interface
checking lua.hpp usability... yes
checking lua.hpp presence... yes
checking for lua.hpp... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking whether compiling and linking against OpenSSL's libcrypto works... yes
checking for RAND_bytes... yes
checking for RAND_pseudo_bytes... yes
checking whether to enable DNS over TLS support... yes
checking whether to enable DNS over HTTPS (DoH) support... yes
checking whether we will be linking in OpenSSL libssl... auto
checking for LIBSSL... yes
checking for SSL_CTX_set_ciphersuites... yes
checking for OCSP_basic_sign... yes
checking for SSL_CTX_set_num_tickets... yes
checking for SSL_CTX_set_keylog_callback... yes
checking whether we will be linking in GnuTLS... auto
checking for GNUTLS... yes
checking for gnutls_memset... yes
checking for LIBH2OEVLOOP... yes
checking whether h2o_socket_get_ssl_server_name is declared... no
checking for CDB... no
checking cdb.h usability... no
checking cdb.h presence... no
checking for cdb.h... no
checking where to find the lmdb library and headers... auto
checking for LMDB... no
checking whether c++ supports C++11 features by default... yes
checking whether we will enable compiler security checks... yes
checking whether C++ compiler handles -Werror -Wunknown-warning-option... yes
checking whether C++ compiler handles -pie... no
checking whether C++ compiler handles -Wl,-pie... no
checking whether C++ compiler handles -fstack-protector... yes
checking whether C++ compiler handles --param ssp-buffer-size=4... yes
checking whether C++ compiler handles -D_FORTIFY_SOURCE=2... yes
checking for how to force completely read-only GOT table... -Wl,-z -Wl,relro -Wl,-z -Wl,now
checking whether to enable AddressSanitizer... no
checking whether to enable MemorySanitizer... no
checking whether to enable ThreadSanitizer... no
checking whether to enable LeakSanitizer... no
checking whether to enable Undefined Behaviour Sanitizer... no
checking for virtualenv... no
configure: WARNING: virtualenv is missing, unable to build manpages.
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ext/yahttp/Makefile
config.status: creating ext/yahttp/yahttp/Makefile
config.status: creating ext/ipcrypt/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure:
configure: Configuration summary
configure: =====================
configure:
configure: dnsdist configured with: '--prefix=/usr/home/system/dnsdist/' '--enable-dnscrypt' '--enable-dns-over-tls' '--enable-dns-over-https'
configure:
configure: CC: cc
configure: CXX: c++
configure: LD: /usr/bin/ld
configure: CFLAGS: -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -g -O3 -Wall -Wextra -Wshadow -Wno-unused-parameter -g -O2
configure: CPPFLAGS:
configure: CXXFLAGS: -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -g -O3 -Wall -Wextra -Wshadow -Wno-unused-parameter -g -O2
configure: LDFLAGS: -Wl,-z -Wl,relro -Wl,-z -Wl,now -rdynamic
configure: LIBS: -lpthread
configure: BOOST_CPPFLAGS: -I/usr/local/include
configure:
configure: Features enabled
configure: ----------------
configure: Lua: luajit
configure: Protobuf: yes
configure: systemd: no
configure: ipcipher: yes
configure: libsodium: yes
configure: DNSCrypt: yes
configure: dnstap: yes
configure: re2: no
configure: SNMP: no
configure: DNS over TLS: yes
configure: DNS over HTTPS (DoH): yes
configure: GnuTLS: yes
configure: OpenSSL: yes
configure: cdb: no
configure: lmdb: no
configure:
gmake
$ gmake install
GEN dnslabeltext.cc
GEN dnsmessage.pb.cc
GEN dnstap.pb.cc
gmake install-recursive
gmake[1]: Entering directory '/usr/home/system/install/pdns/pdns/dnsdistdist'
Making install in ext/ipcrypt
gmake[2]: Entering directory '/usr/home/system/install/pdns/pdns/dnsdistdist/ext/ipcrypt'
CC ipcrypt.lo
CCLD libipcrypt.la
gmake[3]: Entering directory '/usr/home/system/install/pdns/pdns/dnsdistdist/ext/ipcrypt'
gmake[3]: Nothing to be done for 'install-exec-am'.
gmake[3]: Nothing to be done for 'install-data-am'.
gmake[3]: Leaving directory '/usr/home/system/install/pdns/pdns/dnsdistdist/ext/ipcrypt'
gmake[2]: Leaving directory '/usr/home/system/install/pdns/pdns/dnsdistdist/ext/ipcrypt'
Making install in ext/yahttp
gmake[2]: Entering directory '/usr/home/system/install/pdns/pdns/dnsdistdist/ext/yahttp'
Making install in yahttp
gmake[3]: Entering directory '/usr/home/system/install/pdns/pdns/dnsdistdist/ext/yahttp/yahttp'
CXX reqresp.lo
CXX router.lo
CXXLD libyahttp.la
gmake[4]: Entering directory '/usr/home/system/install/pdns/pdns/dnsdistdist/ext/yahttp/yahttp'
gmake[4]: Nothing to be done for 'install-exec-am'.
gmake[4]: Nothing to be done for 'install-data-am'.
gmake[4]: Leaving directory '/usr/home/system/install/pdns/pdns/dnsdistdist/ext/yahttp/yahttp'
gmake[3]: Leaving directory '/usr/home/system/install/pdns/pdns/dnsdistdist/ext/yahttp/yahttp'
gmake[3]: Entering directory '/usr/home/system/install/pdns/pdns/dnsdistdist/ext/yahttp'
gmake[4]: Entering directory '/usr/home/system/install/pdns/pdns/dnsdistdist/ext/yahttp'
gmake[4]: Nothing to be done for 'install-exec-am'.
gmake[4]: Nothing to be done for 'install-data-am'.
gmake[4]: Leaving directory '/usr/home/system/install/pdns/pdns/dnsdistdist/ext/yahttp'
gmake[3]: Leaving directory '/usr/home/system/install/pdns/pdns/dnsdistdist/ext/yahttp'
gmake[2]: Leaving directory '/usr/home/system/install/pdns/pdns/dnsdistdist/ext/yahttp'
gmake[2]: Entering directory '/usr/home/system/install/pdns/pdns/dnsdistdist'
CXX bpf-filter.o
CXX capabilities.o
CXX dns.o
CXX dnscrypt.o
CXX dnsdist.o
dnsdist.cc:2254:19: warning: comparison of integers of different signs: 'rlim_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
if (rl.rlim_cur <= requiredFDsCount) {
~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~
1 warning generated.
CXX dnsdist-dynbpf.o
CXX dnsdist-cache.o
CXX dnsdist-carbon.o
CXX dnsdist-console.o
CXX dnsdist-dnscrypt.o
CXX dnsdist-ecs.o
CXX dnsdist-idstate.o
CXX dnsdist-kvs.o
CXX dnsdist-lua.o
c++: error: unable to execute command: Killed
c++: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0)
Target: x86_64-unknown-freebsd11.3
Thread model: posix
InstalledDir: /usr/bin
c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
c++: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
c++: note: diagnostic msg: /tmp/dnsdist-lua-605e05.cpp
c++: note: diagnostic msg: /tmp/dnsdist-lua-605e05.sh
c++: note: diagnostic msg:
********************
gmake[2]: *** [Makefile:1291: dnsdist-lua.o] Error 254
gmake[2]: Leaving directory '/usr/home/system/install/pdns/pdns/dnsdistdist'
gmake[1]: *** [Makefile:1418: install-recursive] Error 1
gmake[1]: Leaving directory '/usr/home/system/install/pdns/pdns/dnsdistdist'
gmake: *** [Makefile:1882: install] Error 2
Short description
Failed to compile dnsdist
Environment
Steps to reproduce
Configure
gmake
Expected behaviour
Successfully compile dnsdist
Actual behaviour
Attachment
dnsdist-lua-605e05.cpp.zip dnsdist-lua-605e05.sh.zip
Other information
nil