Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 789636 - dev-util/lttng-tools-2.12.3 - consumer.c:(.text+<snip>): undefined reference to lttcomm_send_unix_sock
Summary: dev-util/lttng-tools-2.12.3 - consumer.c:(.text+<snip>): undefined reference ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Yixun Lan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-05-12 09:08 UTC by Toralf Förster
Modified: 2022-07-15 00:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.02 KB, text/plain)
2021-05-12 09:08 UTC, Toralf Förster
Details
dev-util:lttng-tools-2.12.3:20210512-030316.log (dev-util:lttng-tools-2.12.3:20210512-030316.log,431.29 KB, text/plain)
2021-05-12 09:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,182.33 KB, text/plain)
2021-05-12 09:08 UTC, Toralf Förster
Details
environment (environment,72.85 KB, text/plain)
2021-05-12 09:08 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,26.29 KB, application/x-bzip)
2021-05-12 09:08 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,29.27 KB, application/x-bzip)
2021-05-12 09:08 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,34.75 KB, application/x-bzip)
2021-05-12 09:08 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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.