Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911759 - dev-cpp/tbb-2021.10.0 - fails to build tests on non-x86 32-bit arches
Summary: dev-cpp/tbb-2021.10.0 - fails to build tests on non-x86 32-bit arches
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: libatomic-linking 908149
  Show dependency tree
 
Reported: 2023-08-05 12:27 UTC by ernsteiswuerfel
Modified: 2023-12-01 12:06 UTC (History)
1 user (show)

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


Attachments
build.log (ppc, 2021.10.0) (tbb-2021.10.0:20230805-122101.log,38.48 KB, text/x-log)
2023-08-05 12:27 UTC, ernsteiswuerfel
Details
build.log (ppc, 2021.9.0) (tbb-2021.9.0:20230805-121242.log,33.35 KB, text/plain)
2023-08-05 12:27 UTC, ernsteiswuerfel
Details
emerge --info (file_911759.txt,6.52 KB, text/plain)
2023-08-05 12:28 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2023-08-05 12:27:13 UTC
Created attachment 867144 [details]
build.log (ppc, 2021.10.0)

Got this on ppc but probably happens on all non-x86 32-bit arches.

[...]
[46/324] /usr/bin/powerpc-unknown-linux-gnu-g++  -I/var/tmp/portage/dev-cpp/tbb-2021.10.0/work/oneTBB-2021.10.0/test/.. -I/var/tmp/portage/dev-cpp/tbb-2021.10.0/work/oneTBB-2021.10.0/test -I/var/tmp/portage/dev-cpp/tbb-2021.10.0/work/oneTBB-2021.10.0/src/tbb/../../include  -O2 -mcpu=powerpc -pipe -std=c++11 -Wall -Wextra -Wfatal-errors -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT test/CMakeFiles/test_tick_count.dir/tbb/test_tick_count.cpp.o -MF test/CMakeFiles/test_tick_count.dir/tbb/test_tick_count.cpp.o.d -o test/CMakeFiles/test_tick_count.dir/tbb/test_tick_count.cpp.o -c /var/tmp/portage/dev-cpp/tbb-2021.10.0/work/oneTBB-2021.10.0/test/tbb/test_tick_count.cpp
[47/324] : && /usr/bin/powerpc-unknown-linux-gnu-g++ -O2 -mcpu=powerpc -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu    -rdynamic test/CMakeFiles/test_tick_count.dir/tbb/test_tick_count.cpp.o -o gnu_11.3_cxx11_32_relwithdebinfo/test_tick_count  -Wl,-rpath,/var/tmp/portage/dev-cpp/tbb-2021.10.0/work/oneTBB-2021.10.0_build-.ppc/gnu_11.3_cxx11_32_relwithdebinfo  gnu_11.3_cxx11_32_relwithdebinfo/libtbb.so.12.10  -ldl && :
FAILED: gnu_11.3_cxx11_32_relwithdebinfo/test_tick_count 
: && /usr/bin/powerpc-unknown-linux-gnu-g++ -O2 -mcpu=powerpc -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu    -rdynamic test/CMakeFiles/test_tick_count.dir/tbb/test_tick_count.cpp.o -o gnu_11.3_cxx11_32_relwithdebinfo/test_tick_count  -Wl,-rpath,/var/tmp/portage/dev-cpp/tbb-2021.10.0/work/oneTBB-2021.10.0_build-.ppc/gnu_11.3_cxx11_32_relwithdebinfo  gnu_11.3_cxx11_32_relwithdebinfo/libtbb.so.12.10  -ldl && :
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: gnu_11.3_cxx11_32_relwithdebinfo/libtbb.so.12.10: undefined reference to `__atomic_fetch_sub_8'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: gnu_11.3_cxx11_32_relwithdebinfo/libtbb.so.12.10: undefined reference to `__atomic_load_8'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: gnu_11.3_cxx11_32_relwithdebinfo/libtbb.so.12.10: undefined reference to `__atomic_fetch_add_8'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
 * ERROR: dev-cpp/tbb-2021.10.0::gentoo failed (compile phase):
 *   ninja -v -j1 -l0 failed
Comment 1 ernsteiswuerfel archtester 2023-08-05 12:27:52 UTC
Created attachment 867145 [details]
build.log (ppc, 2021.9.0)
Comment 2 ernsteiswuerfel archtester 2023-08-05 12:28:29 UTC
Created attachment 867146 [details]
emerge --info
Comment 3 matoro archtester 2023-11-30 23:30:40 UTC
Should get automatically fixed in upcoming cmake 3.28

https://gitlab.kitware.com/cmake/cmake/-/merge_requests/8756