/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/HackRFSupport.dir/HackRF_Streaming.cpp.o: in function SoapyHackRF::acquireWriteBuffer(SoapySDR::Stream*, unsigned long&, void**, long): HackRF_Streaming.cpp:(.text+0x1977): undefined reference to pthread_cond_clockwait /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/HackRFSupport.dir/HackRF_Streaming.cpp.o: in function SoapyHackRF::acquireReadBuffer(SoapySDR::Stream*, unsigned long&, void const**, int&, long long&, long): HackRF_Streaming.cpp:(.text+0x1bab): undefined reference to pthread_cond_clockwait /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: HackRF_Streaming.cpp:(.text+0x1c8c): undefined reference to pthread_cond_clockwait ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_developer-20200426-201443 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-8.3.1 [2] x86_64-pc-linux-gnu-10.1.0 * clang version 10.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.6 [2] python3.8 [3] python3.7 [4] python2.7 (fallback) [5] pypy3 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-bin-1.43.0 [2] rust-1.43.0 * The following VMs are available for generation-2: *) IcedTea JDK 3.15.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.0.2 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Sun 10 May 2020 03:07:16 PM UTC emerge -qpvO net-wireless/soapyhackrf [ebuild N ] net-wireless/soapyhackrf-0.3.3-r1
Created attachment 637632 [details] emerge-info.txt
Created attachment 637634 [details] emerge-history.txt
Created attachment 637636 [details] environment
Created attachment 637638 [details] etc.portage.tbz2
Created attachment 637640 [details] logs.tbz2
Created attachment 637642 [details] net-wireless:soapyhackrf-0.3.3-r1:20200510-152400.log
Created attachment 637644 [details] temp.tbz2
The actual "fix" is just adding -lpthread when linking. It works in -9999.
unable to replicate, discussion on irc suggested this may be an issue with an older version of clang. Current 0.3.4 builds with clang fine for me, if this was closed in error please reopen.