Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 952817 - dev-cpp/cppdap-0_pre20240802[+test] - ld: libcppdap.so: undefined reference to `__atomic_fetch_sub_8'
Summary: dev-cpp/cppdap-0_pre20240802[+test] - ld: libcppdap.so: undefined reference t...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: libatomic-linking
  Show dependency tree
 
Reported: 2025-03-27 23:59 UTC by ernsteiswuerfel
Modified: 2025-03-28 00:00 UTC (History)
1 user (show)

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


Attachments
build.log (ppc, 0_pre20240802) (cppdap-0_pre20240802:20250327-235129.log,51.10 KB, text/plain)
2025-03-27 23:59 UTC, ernsteiswuerfel
Details
emerge --info (file_952817.txt,5.87 KB, text/plain)
2025-03-28 00:00 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2025-03-27 23:59:47 UTC
Created attachment 923139 [details]
build.log (ppc, 0_pre20240802)

cppdap fails to build tests on ppc:

[...]
[28/28] : && /usr/bin/powerpc-unknown-linux-gnu-g++ -O2 -pipe -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -Wl,-O1 -Wl,--as-needed CMakeFiles/cppdap-unittests.dir/src/any_test.cpp.o CMakeFiles/cppdap-unittests.dir/src/chan_test.cpp.o $
FAILED: cppdap-unittests
: && /usr/bin/powerpc-unknown-linux-gnu-g++ -O2 -pipe -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -Wl,-O1 -Wl,--as-needed CMakeFiles/cppdap-unittests.dir/src/any_test.cpp.o CMakeFiles/cppdap-unittests.dir/src/chan_test.cpp.o CMakeFil$
/usr/lib/gcc/powerpc-unknown-linux-gnu/14/../../../../powerpc-unknown-linux-gnu/bin/ld: libcppdap.so: undefined reference to `__atomic_fetch_sub_8'
/usr/lib/gcc/powerpc-unknown-linux-gnu/14/../../../../powerpc-unknown-linux-gnu/bin/ld: libcppdap.so: undefined reference to `__atomic_load_8'
/usr/lib/gcc/powerpc-unknown-linux-gnu/14/../../../../powerpc-unknown-linux-gnu/bin/ld: libcppdap.so: undefined reference to `__atomic_fetch_add_8'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
 * ERROR: dev-cpp/cppdap-0_pre20240802::gentoo failed (compile phase):
 *   ninja -v -j1 -l0 failed
Comment 1 ernsteiswuerfel archtester 2025-03-28 00:00:30 UTC
Created attachment 923140 [details]
emerge --info