Package Details: dnsdist-git 1.9.0rc1.r3.gc230fb89c-1

Git Clone URL: https://aur.archlinux.org/dnsdist-git.git (read-only, click to copy)
Package Base: dnsdist-git
Description: Highly DNS-, DoS- and abuse-aware loadbalancer
Upstream URL: https://dnsdist.org/
Licenses: GPL-2.0-only
Conflicts: dnsdist
Provides: dnsdist
Submitter: rgacogne
Maintainer: rgacogne
Last Packager: rgacogne
Votes: 1
Popularity: 0.000000
First Submitted: 2016-04-02 15:48 (UTC)
Last Updated: 2024-01-30 15:47 (UTC)

Latest Comments

Y7n05h commented on 2022-08-12 10:16 (UTC)

h2o-2.2 with lto turned on seems to cause dnsdist-git build failed. If anyone failed to build dnsdist-git with h2o-2.2 from aur, add OPTIONS=(!lto) to h2o-2.2's PKGBUILD.

/usr/bin/ld: /tmp/cct0BZC2.ltrans89.ltrans.o: in function `setUpLocalBind(std::unique_ptr<ClientState, std::default_delete<ClientState> >&)':
/build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:202: undefined reference to `h2o_config_init'
/usr/bin/ld: /tmp/cct0BZC2.ltrans90.ltrans.o: in function `handleResponse(DOHFrontend&, st_h2o_req_t*, unsigned short, std::vector<unsigned char, noinit_adaptor<std::allocator<unsigned char> > > const&, std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) [clone .lto_priv.0]':
/build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:359: undefined reference to `h2o_set_header_by_str'
/usr/bin/ld: /tmp/cct0BZC2.ltrans90.ltrans.o: in function `handleResponse(DOHFrontend&, st_h2o_req_t*, unsigned short, std::vector<unsigned char, noinit_adaptor<std::allocator<unsigned char> > > const&, std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) [clone .lto_priv.0]':
/usr/include/h2o.h:1467: undefined reference to `h2o_send_error_generic'
/usr/bin/ld: /tmp/cct0BZC2.ltrans90.ltrans.o: in function `handleResponse(DOHFrontend&, st_h2o_req_t*, unsigned short, std::vector<unsigned char, noinit_adaptor<std::allocator<unsigned char> > > const&, std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) [clone .lto_priv.0]':
/build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:393: undefined reference to `h2o_strdup'
/usr/bin/ld: /build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:394: undefined reference to `h2o_send_redirect'
/usr/bin/ld: /build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:372: undefined reference to `h2o_strdup'
/usr/bin/ld: /build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:373: undefined reference to `h2o__tokens'
/usr/bin/ld: /build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:373: undefined reference to `h2o_add_header'
/usr/bin/ld: /build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:388: undefined reference to `h2o_send_inline'
/usr/bin/ld: /build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:400: undefined reference to `h2o_send_error_generic'
/usr/bin/ld: /tmp/cct0BZC2.ltrans90.ltrans.o: in function `handleResponse(DOHFrontend&, st_h2o_req_t*, unsigned short, std::vector<unsigned char, noinit_adaptor<std::allocator<unsigned char> > > const&, std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) [clone .lto_priv.0]':
/usr/include/h2o.h:1462: undefined reference to `h2o_send_error_generic'
/usr/bin/ld: /usr/include/h2o.h:1461: undefined reference to `h2o_send_error_generic'
/usr/bin/ld: /usr/include/h2o.h:1468: undefined reference to `h2o_send_error_generic'
/usr/bin/ld: /tmp/cct0BZC2.ltrans90.ltrans.o: in function `handleResponse(DOHFrontend&, st_h2o_req_t*, unsigned short, std::vector<unsigned char, noinit_adaptor<std::allocator<unsigned char> > > const&, std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) [clone .lto_priv.0]':
/build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:382: undefined reference to `h2o_strdup'
/usr/bin/ld: /build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:383: undefined reference to `h2o__tokens'
/usr/bin/ld: /build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:383: undefined reference to `h2o_add_header'
/usr/bin/ld: /tmp/cct0BZC2.ltrans91.ltrans.o: in function `doh_handler(st_h2o_handler_t*, st_h2o_req_t*)':
/build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:957: undefined reference to `h2o_socket_getpeername'
/usr/bin/ld: /build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:964: undefined reference to `h2o_socket_getsockname'
/usr/bin/ld: /tmp/cct0BZC2.ltrans91.ltrans.o: in function `doh_handler(st_h2o_handler_t*, st_h2o_req_t*)':
/usr/include/h2o.h:1462: undefined reference to `h2o_send_error_generic'
/usr/bin/ld: /usr/include/h2o.h:1467: undefined reference to `h2o_send_error_generic'
/usr/bin/ld: /tmp/cct0BZC2.ltrans91.ltrans.o: in function `doh_handler(st_h2o_handler_t*, st_h2o_req_t*)':
/build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:979: undefined reference to `h2o_socket_get_fd'
/usr/bin/ld: /build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:993: undefined reference to `h2o_socket_get_ssl_protocol_version'
/usr/bin/ld: /tmp/cct0BZC2.ltrans91.ltrans.o: in function `doh_handler(st_h2o_handler_t*, st_h2o_req_t*)':
/usr/include/h2o.h:1461: undefined reference to `h2o_send_error_generic'
/usr/bin/ld: /tmp/cct0BZC2.ltrans91.ltrans.o: in function `doh_handler(st_h2o_handler_t*, st_h2o_req_t*)':
/build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:984: undefined reference to `h2o_socket_get_ssl_session_reused'
/usr/bin/ld: /tmp/cct0BZC2.ltrans91.ltrans.o: in function `doh_handler(st_h2o_handler_t*, st_h2o_req_t*)':
/usr/include/h2o.h:1463: undefined reference to `h2o_send_error_generic'
/usr/bin/ld: /usr/include/h2o.h:1461: undefined reference to `h2o_send_error_generic'
/usr/bin/ld: /usr/include/h2o.h:1461: undefined reference to `h2o_send_error_generic'
/usr/bin/ld: /tmp/cct0BZC2.ltrans91.ltrans.o: in function `on_accept(st_h2o_socket_t*, char const*)':
/build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:1367: undefined reference to `h2o_evloop_socket_accept'
/usr/bin/ld: /build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:1371: undefined reference to `h2o_socket_get_fd'
/usr/bin/ld: /build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:1401: undefined reference to `h2o_accept'
/usr/bin/ld: /build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:1380: undefined reference to `h2o_socket_close'
/usr/bin/ld: /tmp/cct0BZC2.ltrans91.ltrans.o: in function `setupTLSContext(DOHAcceptContext&, TLSConfig&, TLSErrorCounters&) [clone .lto_priv.0]':
/build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:1475: undefined reference to `h2o_http2_alpn_protocols'
/usr/bin/ld: /build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:1475: undefined reference to `h2o_ssl_register_alpn_protocols'
/usr/bin/ld: /tmp/cct0BZC2.ltrans91.ltrans.o: in function `dohThread(ClientState*)':
/build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:1607: undefined reference to `h2o_config_register_host'
/usr/bin/ld: /build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:1574: undefined reference to `h2o_config_register_path'
/usr/bin/ld: /tmp/cct0BZC2.ltrans91.ltrans.o:/build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:1578: undefined reference to `h2o_create_filter'
/usr/bin/ld: /tmp/cct0BZC2.ltrans91.ltrans.o:/build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:1583: undefined reference to `h2o_create_handler'
/usr/bin/ld: /tmp/cct0BZC2.ltrans91.ltrans.o: in function `dohThread(ClientState*)':
/build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:1614: undefined reference to `h2o_evloop_create'
/usr/bin/ld: /build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:1614: undefined reference to `h2o_context_init'
/usr/bin/ld: /build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:1621: undefined reference to `h2o_evloop_socket_create'
/usr/bin/ld: /build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:1625: undefined reference to `h2o_socket_read_start'
/usr/bin/ld: /build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:1406: undefined reference to `h2o_evloop_socket_create'
/usr/bin/ld: /tmp/cct0BZC2.ltrans91.ltrans.o:/build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:1408: undefined reference to `h2o_socket_read_start'
/usr/bin/ld: /tmp/cct0BZC2.ltrans91.ltrans.o: in function `dohThread(ClientState*)':
/build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:1635: undefined reference to `h2o_evloop_run'
/usr/bin/ld: /tmp/cct0BZC2.ltrans91.ltrans.o: in function `dohThread(ClientState*)':
/usr/include/h2o/memory.h:393: undefined reference to `h2o_vector__expand'
/usr/bin/ld: /tmp/cct0BZC2.ltrans95.ltrans.o: in function `doh_dispatch_query(DOHServerConfig*, st_h2o_handler_t*, st_h2o_req_t*, std::vector<unsigned char, noinit_adaptor<std::allocator<unsigned char> > >&&, ComboAddress const&, ComboAddress const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&) [clone .constprop.0]':
/build/dnsdist-git/src/dnsdist-git/pdns/dnsdistdist/doh.cc:862: undefined reference to `h2o_mem_alloc_shared'
/usr/bin/ld: /tmp/cct0BZC2.ltrans95.ltrans.o: in function `doh_dispatch_query(DOHServerConfig*, st_h2o_handler_t*, st_h2o_req_t*, std::vector<unsigned char, noinit_adaptor<std::allocator<unsigned char> > >&&, ComboAddress const&, ComboAddress const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&) [clone .constprop.0]':
/usr/include/h2o.h:1467: undefined reference to `h2o_send_error_generic'
/usr/bin/ld: /tmp/cct0BZC2.ltrans95.ltrans.o: in function `doh_dispatch_query(DOHServerConfig*, st_h2o_handler_t*, st_h2o_req_t*, std::vector<unsigned char, noinit_adaptor<std::allocator<unsigned char> > >&&, ComboAddress const&, ComboAddress const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&) [clone .constprop.0] [clone .cold]':
/usr/include/h2o.h:1461: undefined reference to `h2o_send_error_generic'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE