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

Bug 871531

Summary: dev-libs/rocksdb-6.17.3 - db_stress_driver.cc:(<snip>) undefined reference to _atomic_is_lock_free
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
clang.tar.bz2
dev-libs:rocksdb-6.17.3:20220918-173641.log.bz2
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-09-18 18:35:54 UTC
too long lines were shrinked:

[625/625] : && /usr/lib/llvm/15/bin/clang++ -pipe -march=native -fno-diagnostics-color -O2 -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -fno-omit-frame-pointer -momit-l
FAILED: db_stress_tool/db_stress 
: && /usr/lib/llvm/15/bin/clang++ -pipe -march=native -fno-diagnostics-color -O2 -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -fno-omit-frame-pointer -momit-leaf-frame-
/usr/bin/x86_64-pc-linux-gnu-ld: db_stress_tool/CMakeFiles/db_stress.dir/db_stress_driver.cc.o: in function `rocksdb::SharedState::SharedState(rocksdb::Env*, rocksdb::StressTest*)':
db_stress_driver.cc:(.text._ZN7rocksdb11SharedStateC2EPNS_3EnvEPNS_10StressTestE[_ZN7rocksdb11SharedStateC2EPNS_3EnvEPNS_10StressTestE]+0x944): undefined reference to `__atomic_is_lock_free'
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20220917-010004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *
GNU Make 4.3.90

  HEAD of ::gentoo
commit a7e7287f75fee342aa34265e7a40d1f54731f3ea
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 16:46:56 2022 +0000

    2022-09-18 16:46:56 UTC

emerge -qpvO dev-libs/rocksdb
[ebuild  N    ] dev-libs/rocksdb-6.17.3  USE="-jemalloc -static-libs" CPU_FLAGS_X86="avx avx2 sse4_2"
Comment 1 Toralf Förster gentoo-dev 2022-09-18 18:35:55 UTC
Created attachment 812185 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 18:35:56 UTC
Created attachment 812188 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-18 18:35:57 UTC
Created attachment 812191 [details]
dev-libs:rocksdb-6.17.3:20220918-173641.log.bz2
Comment 4 Toralf Förster gentoo-dev 2022-09-18 18:35:59 UTC
Created attachment 812194 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-09-18 18:36:00 UTC
Created attachment 812197 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-09-18 18:36:01 UTC
Created attachment 812200 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-18 18:36:02 UTC
Created attachment 812203 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-09-18 18:36:03 UTC
Created attachment 812206 [details]
temp.tar.bz2