Created attachment 906446 [details] build.log [...] [118/118] : && /usr/bin/powerpc-unknown-linux-gnu-g++ -O2 -pipe -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -Wl,-O1 -Wl,--as-needed CMakeFiles/nzbget.dir/daemon/connect/Connection.cpp.o CMakeFiles/nzbget.dir/daemon/connect/TlsSocket.cpp.o CMakeFiles/nzbget.dir/daemon/connect/WebDownloader.cpp.o CMakeFiles/nzbget.dir/daemon/connect/HttpClient.cpp.o CMakeFiles/nzbget.dir/daemon/extension/CommandScript.cpp.o CMakeFiles/nzbget.dir/daemon/extension/FeedScript.cpp.o CMakeFiles/nzbget.dir/daemon/extension/NzbScript.cpp.o CMakeFiles/nzbget.dir/daemon/extension/PostScript.cpp.o CMakeFiles/nzbget.dir/daemon/extension/QueueScript.cpp.o CMakeFiles/nzbget.dir/daemon/extension/ScanScript.cpp.o CMakeFiles/nzbget.dir/daemon/extension/SchedulerScript.cpp.o CMakeFiles/nzbget.dir/daemon/extension/ScriptConfig.cpp.o CMakeFiles/nzbget.dir/daemon/extension/Extension.cpp.o CMakeFiles/nzbget.dir/daemon/extension/ExtensionLoader.cpp.o CMakeFiles/nzbget.dir/daemon/extension/ExtensionManager.cpp.o CMakeFiles/nzbget.dir/daemon/extension/ManifestFile.cpp.o CMakeFiles/nzbget.dir/daemon/feed/FeedCoordinator.cpp.o CMakeFiles/nzbget.dir/daemon/feed/FeedFile.cpp.o CMakeFiles/nzbget.dir/daemon/feed/FeedFilter.cpp.o CMakeFiles/nzbget.dir/daemon/feed/FeedInfo.cpp.o CMakeFiles/nzbget.dir/daemon/frontend/ColoredFrontend.cpp.o CMakeFiles/nzbget.dir/daemon/frontend/Frontend.cpp.o CMakeFiles/nzbget.dir/daemon/frontend/LoggableFrontend.cpp.o CMakeFiles/nzbget.dir/daemon/frontend/NCursesFrontend.cpp.o CMakeFiles/nzbget.dir/daemon/main/CommandLineParser.cpp.o CMakeFiles/nzbget.dir/daemon/main/DiskService.cpp.o CMakeFiles/nzbget.dir/daemon/main/Maintenance.cpp.o CMakeFiles/nzbget.dir/daemon/main/nzbget.cpp.o CMakeFiles/nzbget.dir/daemon/main/Options.cpp.o CMakeFiles/nzbget.dir/daemon/main/Scheduler.cpp.o CMakeFiles/nzbget.dir/daemon/main/StackTrace.cpp.o CMakeFiles/nzbget.dir/daemon/main/WorkState.cpp.o CMakeFiles/nzbget.dir/daemon/nntp/ArticleDownloader.cpp.o CMakeFiles/nzbget.dir/daemon/nntp/ArticleWriter.cpp.o CMakeFiles/nzbget.dir/daemon/nntp/Decoder.cpp.o CMakeFiles/nzbget.dir/daemon/nntp/NewsServer.cpp.o CMakeFiles/nzbget.dir/daemon/nntp/NntpConnection.cpp.o CMakeFiles/nzbget.dir/daemon/nntp/ServerPool.cpp.o CMakeFiles/nzbget.dir/daemon/nntp/StatMeter.cpp.o CMakeFiles/nzbget.dir/daemon/nserv/NntpServer.cpp.o CMakeFiles/nzbget.dir/daemon/nserv/NServFrontend.cpp.o CMakeFiles/nzbget.dir/daemon/nserv/NServMain.cpp.o CMakeFiles/nzbget.dir/daemon/nserv/NzbGenerator.cpp.o CMakeFiles/nzbget.dir/daemon/nserv/YEncoder.cpp.o CMakeFiles/nzbget.dir/daemon/postprocess/Cleanup.cpp.o CMakeFiles/nzbget.dir/daemon/postprocess/DirectUnpack.cpp.o CMakeFiles/nzbget.dir/daemon/postprocess/DupeMatcher.cpp.o CMakeFiles/nzbget.dir/daemon/postprocess/ParChecker.cpp.o CMakeFiles/nzbget.dir/daemon/postprocess/ParParser.cpp.o CMakeFiles/nzbget.dir/daemon/postprocess/ParRenamer.cpp.o CMakeFiles/nzbget.dir/daemon/postprocess/PrePostProcessor.cpp.o CMakeFiles/nzbget.dir/daemon/postprocess/RarReader.cpp.o CMakeFiles/nzbget.dir/daemon/postprocess/RarRenamer.cpp.o CMakeFiles/nzbget.dir/daemon/postprocess/Rename.cpp.o CMakeFiles/nzbget.dir/daemon/postprocess/Repair.cpp.o CMakeFiles/nzbget.dir/daemon/postprocess/Unpack.cpp.o CMakeFiles/nzbget.dir/daemon/queue/DirectRenamer.cpp.o CMakeFiles/nzbget.dir/daemon/queue/DiskState.cpp.o CMakeFiles/nzbget.dir/daemon/queue/DownloadInfo.cpp.o CMakeFiles/nzbget.dir/daemon/queue/DupeCoordinator.cpp.o CMakeFiles/nzbget.dir/daemon/queue/HistoryCoordinator.cpp.o CMakeFiles/nzbget.dir/daemon/queue/NzbFile.cpp.o CMakeFiles/nzbget.dir/daemon/queue/QueueCoordinator.cpp.o CMakeFiles/nzbget.dir/daemon/queue/QueueEditor.cpp.o CMakeFiles/nzbget.dir/daemon/queue/Scanner.cpp.o CMakeFiles/nzbget.dir/daemon/queue/UrlCoordinator.cpp.o CMakeFiles/nzbget.dir/daemon/remote/BinRpc.cpp.o CMakeFiles/nzbget.dir/daemon/remote/RemoteClient.cpp.o CMakeFiles/nzbget.dir/daemon/remote/RemoteServer.cpp.o CMakeFiles/nzbget.dir/daemon/remote/WebServer.cpp.o CMakeFiles/nzbget.dir/daemon/remote/XmlRpc.cpp.o CMakeFiles/nzbget.dir/daemon/util/FileSystem.cpp.o CMakeFiles/nzbget.dir/daemon/util/Log.cpp.o CMakeFiles/nzbget.dir/daemon/util/NString.cpp.o CMakeFiles/nzbget.dir/daemon/util/Observer.cpp.o CMakeFiles/nzbget.dir/daemon/util/ScriptController.cpp.o CMakeFiles/nzbget.dir/daemon/util/Service.cpp.o CMakeFiles/nzbget.dir/daemon/util/Thread.cpp.o CMakeFiles/nzbget.dir/daemon/util/Util.cpp.o CMakeFiles/nzbget.dir/daemon/util/Json.cpp.o CMakeFiles/nzbget.dir/daemon/util/Xml.cpp.o CMakeFiles/nzbget.dir/daemon/system/SystemInfo.cpp.o CMakeFiles/nzbget.dir/daemon/system/OS.cpp.o CMakeFiles/nzbget.dir/daemon/system/CPU.cpp.o CMakeFiles/nzbget.dir/daemon/system/Network.cpp.o -o nzbget /usr/lib/libxml2.so /usr/lib/libgnutls.so /usr/lib/libnettle.so /usr/lib/libncurses.so /usr/lib/libtinfo.so /usr/lib/libform.so /usr/lib/libz.so /usr/lib/libboost_json.so.1.85.0 libregex.a libyencode.a libpar2.a /usr/lib/libboost_container.so.1.85.0 && : FAILED: nzbget : && /usr/bin/powerpc-unknown-linux-gnu-g++ -O2 -pipe -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -Wl,-O1 -Wl,--as-needed CMakeFiles/nzbget.dir/daemon/connect/Connection.cpp.o CMakeFiles/nzbget.dir/daemon/connect/TlsSocket.cpp.o CMakeFiles/nzbget.dir/daemon/connect/WebDownloader.cpp.o CMakeFiles/nzbget.dir/daemon/connect/HttpClient.cpp.o CMakeFiles/nzbget.dir/daemon/extension/CommandScript.cpp.o CMakeFiles/nzbget.dir/daemon/extension/FeedScript.cpp.o CMakeFiles/nzbget.dir/daemon/extension/NzbScript.cpp.o CMakeFiles/nzbget.dir/daemon/extension/PostScript.cpp.o CMakeFiles/nzbget.dir/daemon/extension/QueueScript.cpp.o CMakeFiles/nzbget.dir/daemon/extension/ScanScript.cpp.o CMakeFiles/nzbget.dir/daemon/extension/SchedulerScript.cpp.o CMakeFiles/nzbget.dir/daemon/extension/ScriptConfig.cpp.o CMakeFiles/nzbget.dir/daemon/extension/Extension.cpp.o CMakeFiles/nzbget.dir/daemon/extension/ExtensionLoader.cpp.o CMakeFiles/nzbget.dir/daemon/extension/ExtensionManager.cpp.o CMakeFiles/nzbget.dir/daemon/extension/ManifestFile.cpp.o CMakeFiles/nzbget.dir/daemon/feed/FeedCoordinator.cpp.o CMakeFiles/nzbget.dir/daemon/feed/FeedFile.cpp.o CMakeFiles/nzbget.dir/daemon/feed/FeedFilter.cpp.o CMakeFiles/nzbget.dir/daemon/feed/FeedInfo.cpp.o CMakeFiles/nzbget.dir/daemon/frontend/ColoredFrontend.cpp.o CMakeFiles/nzbget.dir/daemon/frontend/Frontend.cpp.o CMakeFiles/nzbget.dir/daemon/frontend/LoggableFrontend.cpp.o CMakeFiles/nzbget.dir/daemon/frontend/NCursesFrontend.cpp.o CMakeFiles/nzbget.dir/daemon/main/CommandLineParser.cpp.o CMakeFiles/nzbget.dir/daemon/main/DiskService.cpp.o CMakeFiles/nzbget.dir/daemon/main/Maintenance.cpp.o CMakeFiles/nzbget.dir/daemon/main/nzbget.cpp.o CMakeFiles/nzbget.dir/daemon/main/Options.cpp.o CMakeFiles/nzbget.dir/daemon/main/Scheduler.cpp.o CMakeFiles/nzbget.dir/daemon/main/StackTrace.cpp.o CMakeFiles/nzbget.dir/daemon/main/WorkState.cpp.o CMakeFiles/nzbget.dir/daemon/nntp/ArticleDownloader.cpp.o CMakeFiles/nzbget.dir/daemon/nntp/ArticleWriter.cpp.o CMakeFiles/nzbget.dir/daemon/nntp/Decoder.cpp.o CMakeFiles/nzbget.dir/daemon/nntp/NewsServer.cpp.o CMakeFiles/nzbget.dir/daemon/nntp/NntpConnection.cpp.o CMakeFiles/nzbget.dir/daemon/nntp/ServerPool.cpp.o CMakeFiles/nzbget.dir/daemon/nntp/StatMeter.cpp.o CMakeFiles/nzbget.dir/daemon/nserv/NntpServer.cpp.o CMakeFiles/nzbget.dir/daemon/nserv/NServFrontend.cpp.o CMakeFiles/nzbget.dir/daemon/nserv/NServMain.cpp.o CMakeFiles/nzbget.dir/daemon/nserv/NzbGenerator.cpp.o CMakeFiles/nzbget.dir/daemon/nserv/YEncoder.cpp.o CMakeFiles/nzbget.dir/daemon/postprocess/Cleanup.cpp.o CMakeFiles/nzbget.dir/daemon/postprocess/DirectUnpack.cpp.o CMakeFiles/nzbget.dir/daemon/postprocess/DupeMatcher.cpp.o CMakeFiles/nzbget.dir/daemon/postprocess/ParChecker.cpp.o CMakeFiles/nzbget.dir/daemon/postprocess/ParParser.cpp.o CMakeFiles/nzbget.dir/daemon/postprocess/ParRenamer.cpp.o CMakeFiles/nzbget.dir/daemon/postprocess/PrePostProcessor.cpp.o CMakeFiles/nzbget.dir/daemon/postprocess/RarReader.cpp.o CMakeFiles/nzbget.dir/daemon/postprocess/RarRenamer.cpp.o CMakeFiles/nzbget.dir/daemon/postprocess/Rename.cpp.o CMakeFiles/nzbget.dir/daemon/postprocess/Repair.cpp.o CMakeFiles/nzbget.dir/daemon/postprocess/Unpack.cpp.o CMakeFiles/nzbget.dir/daemon/queue/DirectRenamer.cpp.o CMakeFiles/nzbget.dir/daemon/queue/DiskState.cpp.o CMakeFiles/nzbget.dir/daemon/queue/DownloadInfo.cpp.o CMakeFiles/nzbget.dir/daemon/queue/DupeCoordinator.cpp.o CMakeFiles/nzbget.dir/daemon/queue/HistoryCoordinator.cpp.o CMakeFiles/nzbget.dir/daemon/queue/NzbFile.cpp.o CMakeFiles/nzbget.dir/daemon/queue/QueueCoordinator.cpp.o CMakeFiles/nzbget.dir/daemon/queue/QueueEditor.cpp.o CMakeFiles/nzbget.dir/daemon/queue/Scanner.cpp.o CMakeFiles/nzbget.dir/daemon/queue/UrlCoordinator.cpp.o CMakeFiles/nzbget.dir/daemon/remote/BinRpc.cpp.o CMakeFiles/nzbget.dir/daemon/remote/RemoteClient.cpp.o CMakeFiles/nzbget.dir/daemon/remote/RemoteServer.cpp.o CMakeFiles/nzbget.dir/daemon/remote/WebServer.cpp.o CMakeFiles/nzbget.dir/daemon/remote/XmlRpc.cpp.o CMakeFiles/nzbget.dir/daemon/util/FileSystem.cpp.o CMakeFiles/nzbget.dir/daemon/util/Log.cpp.o CMakeFiles/nzbget.dir/daemon/util/NString.cpp.o CMakeFiles/nzbget.dir/daemon/util/Observer.cpp.o CMakeFiles/nzbget.dir/daemon/util/ScriptController.cpp.o CMakeFiles/nzbget.dir/daemon/util/Service.cpp.o CMakeFiles/nzbget.dir/daemon/util/Thread.cpp.o CMakeFiles/nzbget.dir/daemon/util/Util.cpp.o CMakeFiles/nzbget.dir/daemon/util/Json.cpp.o CMakeFiles/nzbget.dir/daemon/util/Xml.cpp.o CMakeFiles/nzbget.dir/daemon/system/SystemInfo.cpp.o CMakeFiles/nzbget.dir/daemon/system/OS.cpp.o CMakeFiles/nzbget.dir/daemon/system/CPU.cpp.o CMakeFiles/nzbget.dir/daemon/system/Network.cpp.o -o nzbget /usr/lib/libxml2.so /usr/lib/libgnutls.so /usr/lib/libnettle.so /usr/lib/libncurses.so /usr/lib/libtinfo.so /usr/lib/libform.so /usr/lib/libz.so /usr/lib/libboost_json.so.1.85.0 libregex.a libyencode.a libpar2.a /usr/lib/libboost_container.so.1.85.0 && : /usr/lib/gcc/powerpc-unknown-linux-gnu/13/../../../../powerpc-unknown-linux-gnu/bin/ld: CMakeFiles/nzbget.dir/daemon/queue/DiskState.cpp.o: in function `DiskState::SaveFileState(FileInfo*, StateDiskFile&, bool)': DiskState.cpp:(.text+0x387c): undefined reference to `__atomic_load_8' /usr/lib/gcc/powerpc-unknown-linux-gnu/13/../../../../powerpc-unknown-linux-gnu/bin/ld: CMakeFiles/nzbget.dir/daemon/queue/DiskState.cpp.o: in function `DiskState::LoadFileState(FileInfo*, std::vector<std::unique_ptr<NewsServer, std::default_delete<NewsServer> >, std::allocator<std::unique_ptr<NewsServer, std::default_delete<NewsServer> > > >*, StateDiskFile&, int, bool)': DiskState.cpp:(.text+0xa4a8): undefined reference to `__atomic_store_8' /usr/lib/gcc/powerpc-unknown-linux-gnu/13/../../../../powerpc-unknown-linux-gnu/bin/ld: CMakeFiles/nzbget.dir/daemon/queue/HistoryCoordinator.cpp.o: in function `HistoryCoordinator::ResetArticles(FileInfo*, bool, bool)': HistoryCoordinator.cpp:(.text+0x1cd4): undefined reference to `__atomic_store_8' /usr/lib/gcc/powerpc-unknown-linux-gnu/13/../../../../powerpc-unknown-linux-gnu/bin/ld: CMakeFiles/nzbget.dir/daemon/nntp/ArticleWriter.cpp.o: in function `ArticleWriter::Finish(bool)': ArticleWriter.cpp:(.text+0x14e8): undefined reference to `__atomic_store_8' /usr/lib/gcc/powerpc-unknown-linux-gnu/13/../../../../powerpc-unknown-linux-gnu/bin/ld: CMakeFiles/nzbget.dir/daemon/nntp/ArticleWriter.cpp.o: in function `ArticleWriter::CompleteFileParts()': ArticleWriter.cpp:(.text+0x1b68): undefined reference to `__atomic_load_8' /usr/lib/gcc/powerpc-unknown-linux-gnu/13/../../../../powerpc-unknown-linux-gnu/bin/ld: ArticleWriter.cpp:(.text+0x1ed4): undefined reference to `__atomic_load_8' /usr/lib/gcc/powerpc-unknown-linux-gnu/13/../../../../powerpc-unknown-linux-gnu/bin/ld: ArticleWriter.cpp:(.text+0x217c): undefined reference to `__atomic_load_8' /usr/lib/gcc/powerpc-unknown-linux-gnu/13/../../../../powerpc-unknown-linux-gnu/bin/ld: ArticleWriter.cpp:(.text+0x220c): undefined reference to `__atomic_load_8' /usr/lib/gcc/powerpc-unknown-linux-gnu/13/../../../../powerpc-unknown-linux-gnu/bin/ld: ArticleWriter.cpp:(.text+0x2248): undefined reference to `__atomic_load_8' /usr/lib/gcc/powerpc-unknown-linux-gnu/13/../../../../powerpc-unknown-linux-gnu/bin/ld: CMakeFiles/nzbget.dir/daemon/nntp/ArticleWriter.cpp.o:ArticleWriter.cpp:(.text+0x2a38): more undefined references to `__atomic_load_8' follow /usr/lib/gcc/powerpc-unknown-linux-gnu/13/../../../../powerpc-unknown-linux-gnu/bin/ld: CMakeFiles/nzbget.dir/daemon/nntp/StatMeter.cpp.o: in function `StatMeter::AddSpeedReading(int)': StatMeter.cpp:(.text+0x99c): undefined reference to `__atomic_store_8' /usr/lib/gcc/powerpc-unknown-linux-gnu/13/../../../../powerpc-unknown-linux-gnu/bin/ld: StatMeter.cpp:(.text+0xabc): undefined reference to `__atomic_load_8' /usr/lib/gcc/powerpc-unknown-linux-gnu/13/../../../../powerpc-unknown-linux-gnu/bin/ld: StatMeter.cpp:(.text+0xb10): undefined reference to `__atomic_fetch_add_8' /usr/lib/gcc/powerpc-unknown-linux-gnu/13/../../../../powerpc-unknown-linux-gnu/bin/ld: StatMeter.cpp:(.text+0xb24): undefined reference to `__atomic_fetch_add_8' /usr/lib/gcc/powerpc-unknown-linux-gnu/13/../../../../powerpc-unknown-linux-gnu/bin/ld: StatMeter.cpp:(.text+0xba8): undefined reference to `__atomic_store_8' /usr/lib/gcc/powerpc-unknown-linux-gnu/13/../../../../powerpc-unknown-linux-gnu/bin/ld: StatMeter.cpp:(.text+0xbbc): undefined reference to `__atomic_load_8' /usr/lib/gcc/powerpc-unknown-linux-gnu/13/../../../../powerpc-unknown-linux-gnu/bin/ld: CMakeFiles/nzbget.dir/daemon/nntp/StatMeter.cpp.o: in function `StatMeter::ResetSpeedStat()': StatMeter.cpp:(.text+0xc8c): undefined reference to `__atomic_store_8' /usr/lib/gcc/powerpc-unknown-linux-gnu/13/../../../../powerpc-unknown-linux-gnu/bin/ld: CMakeFiles/nzbget.dir/daemon/postprocess/Repair.cpp.o: in function `RepairController::PostParChecker::FindFileCrc(char const*, unsigned int*, std::deque<ParChecker::Segment, std::allocator<ParChecker::Segment> >*)': Repair.cpp:(.text+0x15f0): undefined reference to `__atomic_load_8' /usr/lib/gcc/powerpc-unknown-linux-gnu/13/../../../../powerpc-unknown-linux-gnu/bin/ld: CMakeFiles/nzbget.dir/daemon/queue/DownloadInfo.cpp.o: in function `ArticleInfo::AttachSegment(std::unique_ptr<SegmentData, std::default_delete<SegmentData> >, long long, int)': DownloadInfo.cpp:(.text+0x1dc0): undefined reference to `__atomic_store_8' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.
Created attachment 906447 [details] emerge --info
I thought https://gitlab.kitware.com/cmake/cmake/-/commit/fa3c4b6dbfaa4eb1d666c1bea4c759d221b7ad98 fixed this. Do you have any idea how this can be fixed? Should I just let upstream decide?
@ernsteiswuerfel do you still hit this? Has it not been fixed?
Created attachment 923537 [details] build.log (ppc, nzbget 24.8) Error looks a bit different now with 24.8, but it still is refering to libatomic linking: [...] /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