Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914643 - media-libs/alsa-lib-1.2.10-r3 - [clang] ld.lld: error: version script assignment of ALSA_0.9.5 to symbol alsa_lisp failed: symbol not defined
Summary: media-libs/alsa-lib-1.2.10-r3 - [clang] ld.lld: error: version script assignm...
Status: RESOLVED DUPLICATE of bug 914511
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo ALSA team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 912821
  Show dependency tree
 
Reported: 2023-09-25 08:23 UTC by Toralf Förster
Modified: 2023-12-15 23:37 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.11 KB, text/plain)
2023-09-25 08:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,37.20 KB, text/plain)
2023-09-25 08:23 UTC, Toralf Förster
Details
environment (environment,138.66 KB, text/plain)
2023-09-25 08:23 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-09-25 08:23 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,6.66 KB, application/x-xz)
2023-09-25 08:23 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,9.19 KB, application/x-xz)
2023-09-25 08:23 UTC, Toralf Förster
Details
media-libs:alsa-lib-1.2.10-r2:20230925-075837.log (media-libs:alsa-lib-1.2.10-r2:20230925-075837.log,106.37 KB, text/plain)
2023-09-25 08:23 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,39.34 KB, application/x-xz)
2023-09-25 08:23 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-09-25 08:23:32 UTC
too long lines were shrinked:

/bin/sh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/alsa-lib-1.2.10-r2/work/alsa-lib-1.2.10/src -I../include  -I/var/tmp/portage/media-libs/alsa-lib-1.2.10-r2/work/alsa-lib-1.2.10/include   -O2 -pipe -march=native -fno-diagnostics-color -c -o names.l
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/alsa-lib-1.2.10-r2/work/alsa-lib-1.2.10/src -I../include -I/var/tmp/portage/media-libs/alsa-lib-1.2.10-r2/work/alsa-lib-1.2.10/include -O2 -pipe -march=native -fno-diagnostics-color -c /var/tmp/portage/media-libs/alsa-lib-1.2
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/alsa-lib-1.2.10-r2/work/alsa-lib-1.2.10/src -I../include -I/var/tmp/portage/media-libs/alsa-lib-1.2.10-r2/work/alsa-lib-1.2.10/include -O2 -pipe -march=native -fno-diagnostics-color -c /var/tmp/portage/media-libs/alsa-lib-1.2
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/alsa-lib-1.2.10-r2/work/alsa-lib-1.2.10/src -I../include -I/var/tmp/portage/media-libs/alsa-lib-1.2.10-r2/work/alsa-lib-1.2.10/include -O2 -pipe -march=native -fno-diagnostics-color -c /var/tmp/portage/media-libs/alsa-lib-1.2
/bin/sh ../libtool  --tag=CC   --mode=link clang  -O2 -pipe -march=native -fno-diagnostics-color -version-info 2:0:0 -Wl,--version-script=Versions  -Wl,-z,defs -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libasound.la -rpath /usr/lib64 conf.lo confeval.lo confmi
libtool: link: clang -shared  -fPIC -DPIC  .libs/conf.o .libs/confeval.o .libs/confmisc.o .libs/input.o .libs/output.o .libs/async.o .libs/error.o .libs/dlmisc.o .libs/socket.o .libs/shmarea.o .libs/userfile.o .libs/names.o  -Wl,--whole-archive control/.libs/libcontrol.a mixer/.libs/libmixer.a pcm/.
ld.lld: error: version script assignment of 'ALSA_0.9.5' to symbol 'alsa_lisp' failed: symbol not defined
ld.lld: error: version script assignment of 'ALSA_1.2.10' to symbol 'snd_seq_seq_client_info_get_ump_group_enabled' failed: symbol not defined
ld.lld: error: version script assignment of 'ALSA_1.2.10' to symbol 'snd_seq_seq_client_get_ump_conversion' failed: symbol not defined

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_clang-20230924-160600

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.1
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.1+libcxx
Python 3.11.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.72.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

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

  HEAD of ::gentoo
commit b5ac2f828c4a2c86f684924190bf53b9ab2cfca2
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Sep 25 06:46:36 2023 +0000

    2023-09-25 06:46:35 UTC

emerge -qpvO media-libs/alsa-lib
[ebuild  N    ] media-libs/alsa-lib-1.2.10-r2  USE="-alisp -debug -doc -python" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2023-09-25 08:23:33 UTC
Created attachment 871351 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-25 08:23:34 UTC
Created attachment 871352 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-09-25 08:23:35 UTC
Created attachment 871353 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-09-25 08:23:36 UTC
Created attachment 871354 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-09-25 08:23:37 UTC
Created attachment 871355 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-25 08:23:38 UTC
Created attachment 871356 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-25 08:23:39 UTC
Created attachment 871357 [details]
media-libs:alsa-lib-1.2.10-r2:20230925-075837.log
Comment 8 Toralf Förster gentoo-dev 2023-09-25 08:23:40 UTC
Created attachment 871358 [details]
temp.tar.xz
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-26 00:31:22 UTC

*** This bug has been marked as a duplicate of bug 914511 ***
Comment 10 Alfred Wingate 2023-12-15 23:25:07 UTC
Apparently occurs even with the patch...

/bin/sh ../libtool  --tag=CC   --mode=link clang -m32 -mfpmath=sse  -O3 -pipe -march=znver3 -Werror=odr -Werror=strict-aliasing -version-info 2:0:0 -Wl,--version-script=Versions  -Wl,-z,defs -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libasound.la -rpath /usr/lib conf.lo confeval.lo confmisc.lo input.lo output.lo async.lo error.lo dlmisc.lo socket.lo shmarea.lo userfile.lo names.lo control/libcontrol.la mixer/libmixer.la pcm/libpcm.la timer/libtimer.la rawmidi/librawmidi.la hwdep/libhwdep.la seq/libseq.la ucm/libucm.la  -lm -lpthread -lrt  
libtool: link: clang -m32 -mfpmath=sse -shared  -fPIC -DPIC  .libs/conf.o .libs/confeval.o .libs/confmisc.o .libs/input.o .libs/output.o .libs/async.o .libs/error.o .libs/dlmisc.o .libs/socket.o .libs/shmarea.o .libs/userfile.o .libs/names.o  -Wl,--whole-archive control/.libs/libcontrol.a mixer/.libs/libmixer.a pcm/.libs/libpcm.a timer/.libs/libtimer.a rawmidi/.libs/librawmidi.a hwdep/.libs/libhwdep.a seq/.libs/libseq.a ucm/.libs/libucm.a -Wl,--no-whole-archive  -Wl,--as-needed -lm -lpthread -lrt  -m32 -mfpmath=sse -O3 -march=znver3 -Werror=odr -Werror=strict-aliasing -Wl,--version-script=Versions -Wl,-z -Wl,defs -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0   -Wl,-soname -Wl,libasound.so.2 -o .libs/libasound.so.2.0.0
ld.lld: error: version script assignment of 'ALSA_0.9.5' to symbol 'alsa_lisp' failed: symbol not defined
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Makefile:496: libasound.la] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-libs/alsa-lib-1.2.10-r3/work/alsa-lib-1.2.10-abi_x86_32.x86/src'
make[1]: *** [Makefile:557: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-libs/alsa-lib-1.2.10-r3/work/alsa-lib-1.2.10-abi_x86_32.x86/src'
make: *** [Makefile:408: all-recursive] Error 1
Comment 11 Alfred Wingate 2023-12-15 23:37:17 UTC
Ill instead reopen the original bug, sorry for the noise.

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