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

Bug 881423

Summary: dev-games/newton-3.14 - clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
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
dev-games:newton-3.14:20221115-205019.log
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2
var.tmp.clang.tar.bz2

Description Toralf Förster gentoo-dev 2022-11-15 20:55:26 UTC
too long lines were shrinked:

: && /usr/lib/llvm/15/bin/clang++ -fPIC -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -std=c++11 -pthread  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,-soname,libNewton.so -o lib/libNewton.so sdk/CMakeFiles/NewtonObj.dir/dgCore/dg.cpp.o sdk/CMak
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: sdk/CMakeFiles/NewtonObj.dir/dgMeshUtil/dgMeshEffect3.cpp.o: warning: relocation against `_ZTVN6dgListI11dgGraphEdgeI13dgHACDCluster10dgHACDEdgeEE10dgListNodeE' in read-only section `.text._ZN18dgHACDClusterGraph12CollapseEdgeEPN6dgListINS_11dgPairProxyEE10dgList
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: sdk/CMakeFiles/NewtonObj.dir/dgCore/dgGoogol.cpp.o: relocation R_X86_64_PC32 against symbol `_ZN8dgGoogol5m_twoE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: final link failed: bad value
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
[103/175] /usr/lib/llvm/15/bin/clang++ -D_POSIX_VER_64 -DdCustomJoints_EXPORTS -I/var/tmp/portage/dev-games/newton-3.14/work/newton-dynamics-newton-3.14/sdk/dgTimeTracker -I/var/tmp/portage/dev-games/newton-3.14/work/newton-dynamics-newton-3.14/sdk/dCustomJoints -I/var/tmp/portage/dev-games/newton-3
[104/175] /usr/lib/llvm/15/bin/clang++ -D_POSIX_VER_64 -DdContainers_EXPORTS -I/var/tmp/portage/dev-games/newton-3.14/work/newton-dynamics-newton-3.14/sdk/dContainers -I/var/tmp/portage/dev-games/newton-3.14/work/newton-dynamics-newton-3.14/sdk/dMath  -pipe -march=native -fno-diagnostics-color -O2 -

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20221115-000011

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.4
Python 3.10.8
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit e367e5503968d5e46454b40133593ffe0cad1862
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Nov 15 20:02:02 2022 +0000

    2022-11-15 20:02:02 UTC

emerge -qpvO dev-games/newton
[ebuild  N    ] dev-games/newton-3.14
Comment 1 Toralf Förster gentoo-dev 2022-11-15 20:55:27 UTC
Created attachment 832827 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-15 20:55:28 UTC
Created attachment 832829 [details]
dev-games:newton-3.14:20221115-205019.log
Comment 3 Toralf Förster gentoo-dev 2022-11-15 20:55:29 UTC
Created attachment 832831 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-11-15 20:55:31 UTC
Created attachment 832833 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-11-15 20:55:32 UTC
Created attachment 832835 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-15 20:55:33 UTC
Created attachment 832837 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-15 20:55:34 UTC
Created attachment 832839 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-11-15 20:55:35 UTC
Created attachment 832841 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-15 20:55:36 UTC
Created attachment 832843 [details]
var.tmp.clang.tar.bz2