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

Bug 919828

Summary: media-libs/libopenaptx-0.2.0-r1 - [clang] ld.lld: error: undefined symbol: _unordtf2
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Sam James <sam>
Status: CONFIRMED ---    
Severity: normal CC: codec, joakim.tjernlund
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
media-libs:libopenaptx-0.2.0-r1:20231213-022521.log
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-13 20:43:44 UTC
too long lines were shrinked:

clang -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -mavx2 -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o openaptxenc openaptxenc.o libopenaptx.so
clang -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -mavx2 -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o openaptxdec openaptxdec.o libopenaptx.so
rm -f libopenaptx.a
llvm-ar -rcs libopenaptx.a openaptx.o
clang -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -mavx2 -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -static -o openaptxenc.static openaptxenc.o libopenaptx.a
clang -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -mavx2 -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -static -o openaptxdec.static openaptxdec.o libopenaptx.a
ld.lld: error: undefined symbol: __unordtf2
>>> referenced by printf_fphex.o:(__printf_fphex_buffer) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc.a
>>> referenced by printf_fphex.o:(__printf_fphex_buffer) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc.a

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd_clang-20231210-041514

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] 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.7
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit 0e287f76c0e7943e92c12821710314a2e1484406
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 13 01:03:53 2023 +0000

    2023-12-13 01:03:52 UTC

emerge -qpvO media-libs/libopenaptx
[ebuild  N    ] media-libs/libopenaptx-0.2.0-r1  ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="avx2"
Comment 1 Toralf Förster gentoo-dev 2023-12-13 20:43:45 UTC
Created attachment 879078 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-13 20:43:47 UTC
Created attachment 879079 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-13 20:43:48 UTC
Created attachment 879080 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-13 20:43:49 UTC
Created attachment 879081 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-13 20:43:50 UTC
Created attachment 879082 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-13 20:43:51 UTC
Created attachment 879083 [details]
media-libs:libopenaptx-0.2.0-r1:20231213-022521.log
Comment 7 Toralf Förster gentoo-dev 2023-12-13 20:43:52 UTC
Created attachment 879084 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-13 20:43:53 UTC
Created attachment 879085 [details]
temp.tar.xz