/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../src/bin/lttng-sessiond/consumer.o: in function `consumer_socket_send': consumer.c:(.text+0x3b4): undefined reference to `lttcomm_send_unix_sock' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: consumer.c:(.text+0x442): undefined reference to `lttcomm_close_unix_sock' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../src/bin/lttng-sessiond/consumer.o: in function `consumer_socket_recv': consumer.c:(.text+0x4f4): undefined reference to `lttcomm_recv_unix_sock' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: consumer.c:(.text+0x582): undefined reference to `lttcomm_close_unix_sock' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-j2-20210510-164358 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.1.0 * clang version 12.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.0 Python 3.8.10 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.52.1 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.292_p10 [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 Tue May 11 23:50:56 UTC 2021 emerge -qpvO dev-util/lttng-tools [ebuild N ] dev-util/lttng-tools-2.12.3 USE="ust"
Created attachment 707460 [details] emerge-info.txt
Created attachment 707463 [details] dev-util:lttng-tools-2.12.3:20210512-030316.log
Created attachment 707466 [details] emerge-history.txt
Created attachment 707469 [details] environment
Created attachment 707472 [details] etc.portage.tar.bz2
Created attachment 707475 [details] logs.tar.bz2
Created attachment 707478 [details] temp.tar.bz2
On the slibtool tracker lttng-tools was also reported to not work on Yocto. https://dev.midipix.org/cross/slibtool/issue/40
This requires significant work to fix, but here is the first few patches for upstream. It does not fix the build with slibtool yet, but it gets much farther while still working with GNU libtool. https://github.com/lttng/lttng-tools/pull/163
Closing this in favor of issue 858095.