Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 789636

Summary: dev-util/lttng-tools-2.12.3 - consumer.c:(.text+<snip>): undefined reference to lttcomm_send_unix_sock
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Yixun Lan <dlan>
Status: RESOLVED UPSTREAM    
Severity: normal CC: ionen, orbea
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=791658
https://bugs.gentoo.org/show_bug.cgi?id=858095
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 765709    
Attachments: emerge-info.txt
dev-util:lttng-tools-2.12.3:20210512-030316.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-05-12 09:08:30 UTC
/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"
Comment 1 Toralf Förster gentoo-dev 2021-05-12 09:08:31 UTC
Created attachment 707460 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-12 09:08:33 UTC
Created attachment 707463 [details]
dev-util:lttng-tools-2.12.3:20210512-030316.log
Comment 3 Toralf Förster gentoo-dev 2021-05-12 09:08:35 UTC
Created attachment 707466 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-05-12 09:08:37 UTC
Created attachment 707469 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-05-12 09:08:38 UTC
Created attachment 707472 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-12 09:08:39 UTC
Created attachment 707475 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-05-12 09:08:40 UTC
Created attachment 707478 [details]
temp.tar.bz2
Comment 8 orbea 2021-05-13 14:07:52 UTC
On the slibtool tracker lttng-tools was also reported to not work on Yocto.

https://dev.midipix.org/cross/slibtool/issue/40
Comment 9 orbea 2021-05-13 19:28:25 UTC
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
Comment 10 orbea 2022-07-15 00:20:38 UTC
Closing this in favor of issue 858095.