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

Bug 928947

Summary: dev-java/snappy-1.1.10.5-r1 - ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol vtable for std::logic_error; recompile with -fPIC
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Java team <java>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-java:snappy-1.1.10.5-r1:20240408-074143.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-04-08 17:19:28 UTC
too long lines were shrinked:

warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
4 warnings
clang++ -Ilib/inc_linux -I/opt/openjdk-bin-21.0.2_p13/include -O2 -fPIC -fvisibility=hidden -m64 -std=c++11 -O3 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -DNDEBUG -I"/opt/openjdk-bin-21.0.2_p13/include/linux" -Itarget/snappy-1.1.10 -Itarget/snappy-1.1.10-Linux-x86_64 -c src/main/jav
4 warnings
clang++  -Ilib/inc_linux -I/opt/openjdk-bin-21.0.2_p13/include -O2 -fPIC -fvisibility=hidden -m64 -std=c++11 -O3 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -DNDEBUG -I"/opt/openjdk-bin-21.0.2_p13/include/linux" -Itarget/snappy-1.1.10 -Itarget/snappy-1.1.10-Linux-x86_64 -c src/main/ja
clang++ -Ilib/inc_linux -I/opt/openjdk-bin-21.0.2_p13/include -O2 -fPIC -fvisibility=hidden -m64 -std=c++11 -O3 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -DNDEBUG -I"/opt/openjdk-bin-21.0.2_p13/include/linux" -Itarget/snappy-1.1.10 -Itarget/snappy-1.1.10-Linux-x86_64 -o target/snapp
ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'vtable for std::logic_error'; recompile with -fPIC
>>> defined in /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a(stdlib_stdexcept.cpp.o)
>>> referenced by stdlib_stdexcept.cpp.o:(std::logic_error::~logic_error()) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_llvm-20240407-091255

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 18.1.3+libcxx
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.3+libcxx
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1 *
GENTOO_VM=openjdk-bin-21  CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-21.0.2_p13"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1
  [2]   php8.3 *
go version go1.22.1 linux/amd64

  HEAD of ::gentoo
commit 26bb247ed8c3bfdbbe9aee9707216a3df7c44c03
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Apr 8 07:19:02 2024 +0000

    2024-04-08 07:19:02 UTC

emerge -qpvO dev-java/snappy
[ebuild  N    ] dev-java/snappy-1.1.10.5-r1  USE="-doc -source -test"
Comment 1 Toralf Förster gentoo-dev 2024-04-08 17:19:29 UTC
Created attachment 889904 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-08 17:19:30 UTC
Created attachment 889905 [details]
dev-java:snappy-1.1.10.5-r1:20240408-074143.log
Comment 3 Toralf Förster gentoo-dev 2024-04-08 17:19:31 UTC
Created attachment 889906 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-04-08 17:19:32 UTC
Created attachment 889907 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-04-08 17:19:33 UTC
Created attachment 889908 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-08 17:19:34 UTC
Created attachment 889909 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-08 17:19:35 UTC
Created attachment 889910 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-04-08 17:19:36 UTC
Created attachment 889911 [details]
temp.tar.xz