Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#78508 - [onetbb] FTBFS with GCC 13
Attached to Project:
Arch Linux
Opened by Eric Long (hack3ric) - Saturday, 13 May 2023, 15:50 GMT
Last edited by Felix Yan (felixonmars) - Sunday, 09 July 2023, 03:53 GMT
Opened by Eric Long (hack3ric) - Saturday, 13 May 2023, 15:50 GMT
Last edited by Felix Yan (felixonmars) - Sunday, 09 July 2023, 03:53 GMT
|
DetailsDescription:
When building with GCC 13, onetbb complains about missing function: ``` [251/335] Building CXX object test/CMakeFiles/_test_malloc_lib_unload.dir/tbbmalloc/test_malloc_lib_unload.cpp.o FAILED: test/CMakeFiles/_test_malloc_lib_unload.dir/tbbmalloc/test_malloc_lib_unload.cpp.o /usr/bin/c++ -D_test_malloc_lib_unload_EXPORTS -I/build/onetbb/src/oneTBB-2021.8.0/test/../include -I/build/onetbb/src/oneTBB-2021.8.0/test/.. -I/build/onetbb/src/oneTBB-2021.8.0/test -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/onetbb/src=/usr/src/debug/onetbb -flto=auto -O2 -g -DNDEBUG -std=c++11 -fPIC -flifetime-dse=1 -fno-rtti -fno-exceptions -D_USRDLL -MD -MT test/CMakeFiles/_test_malloc_lib_unload.dir/tbbmalloc/test_malloc_lib_unload.cpp.o -MF test/CMakeFiles/_test_malloc_lib_unload.dir/tbbmalloc/test_malloc_lib_unload.cpp.o.d -o test/CMakeFiles/_test_malloc_lib_unload.dir/tbbmalloc/test_malloc_lib_unload.cpp.o -c /build/onetbb/src/oneTBB-2021.8.0/test/tbbmalloc/test_malloc_lib_unload.cpp In file included from /build/onetbb/src/oneTBB-2021.8.0/test/tbbmalloc/test_malloc_lib_unload.cpp:21: /build/onetbb/src/oneTBB-2021.8.0/test/common/utils_assert.h: In function ‘void utils::ReportError(const char*, int, const char*, const char*)’: /build/onetbb/src/oneTBB-2021.8.0/test/common/utils_assert.h:37:5: error: ‘abort’ was not declared in this scope 37 | abort(); | ^~~~~ /build/onetbb/src/oneTBB-2021.8.0/test/common/utils_assert.h:22:1: note: ‘abort’ is defined in header ‘<cstdlib>’; did you forget to ‘#include <cstdlib>’? 21 | #include "utils_report.h" +++ |+#include <cstdlib> 22 | ``` An upstream commit [1] fixed this issue, but hasn't been released yet. Attached is the patch that backports the commit and fixes FTBFS. |
This task depends upon
Closed by Felix Yan (felixonmars)
Sunday, 09 July 2023, 03:53 GMT
Reason for closing: Fixed
Additional comments about closing: 2021.9.0
Sunday, 09 July 2023, 03:53 GMT
Reason for closing: Fixed
Additional comments about closing: 2021.9.0
PKGBUILD.patch