rdlibtool: link: x86_64-pc-linux-gnu-gcc utils/kdig/kdig-kdig_exec.o utils/kdig/kdig-kdig_main.o utils/kdig/kdig-kdig_params.o .libs/libknotus.a -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wshadow -Werror=format-security -Werror=implicit -Werror=attributes -Wstrict-prototypes -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L.libs -lpthread -lknot -ledit -lnghttp2 -lgnutls -o .libs/kdig /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/libknotus.a(la-error.o): in function `knot_strerror': error.c:(.text+0x9b): undefined reference to `mdb_strerror' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/libknotus.a(la-rrset-dump.o): in function `knot_rrset_txt_dump_data': rrset-dump.c:(.text+0x3833): undefined reference to `pow' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: rrset-dump.c:(.text+0x3867): undefined reference to `pow' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-20210316-095736 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-10.2.0 * clang version 11.1.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/11/bin /usr/lib/llvm/11 11.1.0 Python 3.8.8 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) * Available Rust versions: [1] rust-bin-1.50.0 [2] rust-1.50.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.282_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Fri Mar 26 02:35:45 UTC 2021 emerge -qpvO net-dns/knot [ebuild N ] net-dns/knot-3.0.4 USE="cookies dnsproxy fastparser libidn2 noudp onlinesign queryacl rrl stats synthrecord utils whoami -caps -dnstap -doc -geoip -idn -systemd"
Created attachment 693987 [details] emerge-info.txt
Created attachment 693990 [details] emerge-history.txt
Created attachment 693993 [details] environment
Created attachment 693996 [details] etc.portage.tar.bz2
Created attachment 693999 [details] logs.tar.bz2
Created attachment 694002 [details] net-dns:knot-3.0.4:20210326-052043.log
Created attachment 694005 [details] temp.tar.bz2
Created attachment 694401 [details, diff] https://gitlab.nic.cz/knot/knot-dns/-/issues/722 A patch applied against the upstream git that solves the undefined references. I was unable to make a MR upstream because the system prevents new forks and the e-mail function did not work for me so I made an issue instead.
I tested the patch against 3.0.4, but it seems upstream somehow fixed some of the cases on their own since then.
Correct fix in slibtool-9999. https://dev.midipix.org/cross/slibtool/c/a1ae2a6be15baaf0d4f6e3d5a117ed2224cb6170?branch=main
Fixed in slibtool-9999. https://dev.midipix.org/cross/slibtool/c/d1da94d2d072a0c8b54c0bc256edc133effd9a (Correct commit)
Fixed in slibtool-0.5.33.