Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 918946 - dev-java/snappy-1.1.10.5 - [clang] ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol vtable for std::bad_alloc; recompile with -fPIC
Summary: dev-java/snappy-1.1.10.5 - [clang] ld.lld: error: relocation R_X86_64_PC32 ca...
Status: RESOLVED DUPLICATE of bug 922202
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-01 09:26 UTC by Toralf Förster
Modified: 2024-01-26 19:42 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.89 KB, text/plain)
2023-12-01 09:26 UTC, Toralf Förster
Details
dev-java:snappy-1.1.10.5:20231201-082202.log (dev-java:snappy-1.1.10.5:20231201-082202.log,13.45 KB, text/plain)
2023-12-01 09:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,63.75 KB, text/plain)
2023-12-01 09:26 UTC, Toralf Förster
Details
environment (environment,144.53 KB, text/plain)
2023-12-01 09:26 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-01 09:26 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,21.37 KB, application/x-xz)
2023-12-01 09:26 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,126.22 KB, text/plain)
2023-12-01 09:26 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,32.33 KB, application/x-xz)
2023-12-01 09:26 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 2023-12-01 09:26:10 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.1_p12/include -O2 -fPIC -fvisibility=hidden -m64 -std=c++11 -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -DNDEBUG -I"/opt/openjdk-bin-21.0.1_p12/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.1_p12/include -O2 -fPIC -fvisibility=hidden -m64 -std=c++11 -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -DNDEBUG -I"/opt/openjdk-bin-21.0.1_p12/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.1_p12/include -O2 -fPIC -fvisibility=hidden -m64 -std=c++11 -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -DNDEBUG -I"/opt/openjdk-bin-21.0.1_p12/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::bad_alloc'; recompile with -fPIC
>>> defined in /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a(stdlib_exception.cpp.o)
>>> referenced by stdlib_exception.cpp.o:(std::bad_alloc::bad_alloc()) 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: 17.1_clang-20231129-092259

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6+libcxx
Python 3.11.6
Available Rust versions:
  [1]   rust-bin-1.73.0 *
GENTOO_VM=openjdk-bin-21  CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-21.0.1_p12"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit 931dc4a122806cf0cc0d6bd7b33b26ce1c8dacef
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 1 07:18:59 2023 +0000

    2023-12-01 07:18:59 UTC

emerge -qpvO dev-java/snappy
[ebuild  N    ] dev-java/snappy-1.1.10.5  USE="-doc -source -test"
Comment 1 Toralf Förster gentoo-dev 2023-12-01 09:26:11 UTC
Created attachment 876148 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-01 09:26:12 UTC
Created attachment 876149 [details]
dev-java:snappy-1.1.10.5:20231201-082202.log
Comment 3 Toralf Förster gentoo-dev 2023-12-01 09:26:14 UTC
Created attachment 876150 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-12-01 09:26:15 UTC
Created attachment 876151 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-01 09:26:16 UTC
Created attachment 876152 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-01 09:26:17 UTC
Created attachment 876153 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-01 09:26:18 UTC
Created attachment 876154 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2023-12-01 09:26:19 UTC
Created attachment 876155 [details]
temp.tar.xz
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-26 19:42:39 UTC

*** This bug has been marked as a duplicate of bug 922202 ***