Summary: | media-video/pipewire-0.3.31 Missing atomic symbol when building pipewire with jack support using clang/lld | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | GoGoOtaku |
Component: | Current packages | Assignee: | Sam James <sam> |
Status: | UNCONFIRMED --- | ||
Severity: | minor | CC: | asturm, ionen, leio, mscardovi |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 721344 | ||
Attachments: | Build Log |
Description
GoGoOtaku
2021-07-14 14:10:02 UTC
A friend mentioned that compiler-rt might be enabled but this is not the case. These are my clang uses: +abi_x86_32 -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind +llvm_targets_AArch64 +llvm_targets_AMDGPU -llvm_targets_ARC +llvm_targets_ARM +llvm_targets_AVR +llvm_targets_BPF -llvm_targets_CSKY -llvm_targets_Hexagon -llvm_targets_Lanai -llvm_targets_MSP430 -llvm_targets_Mips +llvm_targets_NVPTX -llvm_targets_PowerPC -llvm_targets_RISCV -llvm_targets_Sparc -llvm_targets_SystemZ -llvm_targets_VE +llvm_targets_WebAssembly -llvm_targets_XCore -python_single_target_python3_10 -python_single_target_python3_8 +python_single_target_python3_9 +static-analyzer -test +xml Without the full build log this is just a guess but it likely fails the -m32 build with some Clang 32 bit runtime function requiring libatomic, which, I suspect, makes it a Clang not PipeWire issue. For what it's worth GCC/lld combo works just fine, so I doubt the linker itself is relevant here. Created attachment 724321 [details]
Build Log
(In reply to Niklāvs Koļesņikovs from comment #2) > Without the full build log this is just a guess but it likely fails the -m32 > build with some Clang 32 bit runtime function requiring libatomic, which, I > suspect, makes it a Clang not PipeWire issue. For what it's worth GCC/lld > combo works just fine, so I doubt the linker itself is relevant here. I attached the build log and also checked if it would compile with `ABI_X86 -32` which it did so you are probably right. Please report upstream, similar to https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/299. |