Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 873031 - dev-util/bpftrace-0.16.0: src/libruntime.so: undefined reference to `bpftrace:: BTF::get_btf_id(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >
Summary: dev-util/bpftrace-0.16.0: src/libruntime.so: undefined reference to `bpftrace...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-26 09:41 UTC by Mario Klebsch
Modified: 2023-03-20 21:11 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Klebsch 2022-09-26 09:41:14 UTC
Compilation of bpftrace-0.16.0 fails with the linker complaining about an undefined symbol:

/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/libruntime.so: undefined reference to `bpftrace::BTF::get_btf_id(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
collect2: error: ld returned 1 exit status



Reproducible: Always

Steps to Reproduce:
emerge  --ask --update --newuse --deep world

Actual Results:  
src/libruntime.so: undefined reference to `bpftrace::BTF::get_btf_id(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'

Expected Results:  
No linker error
Comment 1 Thomas Arnett 2022-09-27 00:15:49 UTC
Upstream discussion: https://github.com/iovisor/bpftrace/issues/2349
Comment 2 Holger Hoffstätte 2023-03-19 09:50:56 UTC
This is fixed and can be closed, we have 0.17 which works fine.
Comment 3 Patrick McLean gentoo-dev 2023-03-20 21:11:17 UTC
OK, thanks for the update. Closing.