Skip to content

Build fails on PowerPC: ArticleWriter.cpp.o: undefined reference to symbol '__atomic_store_8@@LIBATOMIC_1.0' #557

@sbraz

Description

@sbraz

Is there already an issue for your problem?

  • I have checked older issues, open and closed

NZBGet Version

v24.8-stable

Platform

Linux/Docker

Environment

Reported at https://bugs.gentoo.org/941895 by @ernsteiswuerfel. Pinging them as I don't have the hardware to test this.
The tester runs the build with -O2 -pipe -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec

Current Behavior

The build fails:

/usr/lib/gcc/powerpc-unknown-linux-gnu/14/../../../../powerpc-unknown-linux-gnu/bin/ld: CMakeFiles/nzbget.dir/daemon/nntp/ArticleWriter.cpp.o: undefined reference to symbol '__atomic_store_8@@LIBATOMIC_1.0'
/usr/lib/gcc/powerpc-unknown-linux-gnu/14/../../../../powerpc-unknown-linux-gnu/bin/ld: /usr/lib/gcc/powerpc-unknown-linux-gnu/14/libatomic.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
 * ERROR: net-nntp/nzbget-24.8::gentoo failed (compile phase):
 *   ninja -v -j1 -l0 failed

Expected Behavior

The build should succeed

Steps To Reproduce

No response

Logs

No response

Extra information

I thought it would be fixed by https://gitlab.kitware.com/cmake/cmake/-/merge_requests/8756 (Kitware/CMake@fa3c4b6) but it is not.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions