Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874006 - media-libs/rubberband-3.1.0 - x86_64-pc-linux-gnu-ld: error: undefined symbol: _atomic_is_lock_free
Summary: media-libs/rubberband-3.1.0 - x86_64-pc-linux-gnu-ld: error: undefined symbol...
Status: RESOLVED DUPLICATE of bug 860078
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-02 11:30 UTC by Toralf Förster
Modified: 2022-12-11 08:18 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.59 KB, text/plain)
2022-10-02 11:30 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,215.73 KB, text/plain)
2022-10-02 11:30 UTC, Toralf Förster
Details
environment (environment,129.13 KB, text/plain)
2022-10-02 11:30 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,21.20 KB, application/x-bzip)
2022-10-02 11:30 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.11 KB, application/x-bzip)
2022-10-02 11:30 UTC, Toralf Förster
Details
media-libs:rubberband-3.1.0:20221002-104201.log (media-libs:rubberband-3.1.0:20221002-104201.log,29.46 KB, text/plain)
2022-10-02 11:30 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,32.63 KB, application/x-bzip)
2022-10-02 11:30 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 2022-10-02 11:30:43 UTC
too long lines were shrinked:

[25/39] rm -f librubberband_objlib.a && x86_64-pc-linux-gnu-ar csrDT librubberband_objlib.a librubberband_objlib.a.p/src_rubberband-c.cpp.o librubberband_objlib.a.p/src_RubberBandStretcher.cpp.o librubberband_objlib.a.p/src_faster_AudioCurveCalculator.cpp.o librubberband_objlib.a.p/src_faster_Compou
[26/39] clang++  -o librubberband.so.2.2.1 librubberband_objlib.a.p/src_rubberband-c.cpp.o librubberband_objlib.a.p/src_RubberBandStretcher.cpp.o librubberband_objlib.a.p/src_faster_AudioCurveCalculator.cpp.o librubberband_objlib.a.p/src_faster_CompoundAudioCurve.cpp.o librubberband_objlib.a.p/src_f
FAILED: librubberband.so.2.2.1 
clang++  -o librubberband.so.2.2.1 librubberband_objlib.a.p/src_rubberband-c.cpp.o librubberband_objlib.a.p/src_RubberBandStretcher.cpp.o librubberband_objlib.a.p/src_faster_AudioCurveCalculator.cpp.o librubberband_objlib.a.p/src_faster_CompoundAudioCurve.cpp.o librubberband_objlib.a.p/src_faster_Hi
x86_64-pc-linux-gnu-ld: error: undefined symbol: __atomic_is_lock_free
>>> referenced by R3Stretcher.cpp
>>>               librubberband_objlib.a.p/src_finer_R3Stretcher.cpp.o:(RubberBand::R3Stretcher::R3Stretcher(RubberBand::R3Stretcher::Parameters, double, double, RubberBand::Log))

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17]
3)	Eclipse Temurin JRE 8.345_p01 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-jre-bin-8 
  [3]   openjdk-jre-bin-17  system-vm

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

  HEAD of ::gentoo
commit fca1994df3565e138e0f54a0d0bc5932c5d2db78
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 2 10:02:02 2022 +0000

    2022-10-02 10:02:02 UTC

emerge -qpvO media-libs/rubberband
[ebuild  N    ] media-libs/rubberband-3.1.0  USE="programs -jni -ladspa -static-libs -vamp" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2022-10-02 11:30:44 UTC
Created attachment 815272 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-02 11:30:45 UTC
Created attachment 815275 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-02 11:30:47 UTC
Created attachment 815278 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-02 11:30:48 UTC
Created attachment 815281 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-02 11:30:49 UTC
Created attachment 815284 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-02 11:30:50 UTC
Created attachment 815287 [details]
media-libs:rubberband-3.1.0:20221002-104201.log
Comment 7 Toralf Förster gentoo-dev 2022-10-02 11:30:51 UTC
Created attachment 815290 [details]
temp.tar.bz2
Comment 8 Mazunki Hoksaas 2022-10-03 03:03:54 UTC
Builds for me using gcc. Fails on clang.

Adding `append-ldflags -latomic` when the compiler is clang seems like the proper fix. This is already done if using ppc, as was done in #827203.
Comment 9 Agostino Sarubbo gentoo-dev 2022-12-11 08:18:16 UTC
clang-stricter_tinderbox detected this bug as duplicate of 860078 - If this an error, please let me know

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