Bug#1042009: onetbb: FTBFS on armel: error: ‘void __atomic_store_1(volatile void*, unsigned char, int) ’ writing 1 byte into a region of size 0 overflows the destination [-Werror=stringop-overflow=]
Sebastian Ramacher
sramacher at debian.org
Tue Jul 25 18:21:15 BST 2023
Source: onetbb
Version: 2021.9.0-1
Severity: serious
Tags: ftbfs sid trixie
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org
https://buildd.debian.org/status/fetch.php?pkg=onetbb&arch=armel&ver=2021.9.0-1&stamp=1689653659&raw=0
FAILED: test/CMakeFiles/test_concurrent_monitor.dir/tbb/test_concurrent_monitor.cpp.o
/usr/bin/c++ -I/<<PKGBUILDDIR>>/test/.. -I/<<PKGBUILDDIR>>/test -I/<<PKGBUILDDIR>>/src/tbb/../../include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -Wall -Wextra -Werror -Wfatal-errors -Wno-error=uninitialized -Wno-error=array-bounds -Wno-error=use-after-free -Wno-error=address -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -MD -MT test/CMakeFiles/test_concurrent_monitor.dir/tbb/test_concurrent_monitor.cpp.o -MF test/CMakeFiles/test_concurrent_monitor.dir/tbb/test_concurrent_monitor.cpp.o.d -o test/CMakeFiles/test_concurrent_monitor.dir/tbb/test_concurrent_monitor.cpp.o -c /<<PKGBUILDDIR>>/test/tbb/test_concurrent_monitor.cpp
In file included from /usr/include/c++/13/atomic:41,
from /<<PKGBUILDDIR>>/test/common/doctest.h:2990,
from /<<PKGBUILDDIR>>/test/common/test.h:32,
from /<<PKGBUILDDIR>>/test/tbb/test_concurrent_monitor.cpp:26:
In member function ‘void std::__atomic_base<_IntTp>::store(__int_type, std::memory_order) [with _ITp = bool]’,
inlined from ‘void std::atomic<bool>::store(bool, std::memory_order)’ at /usr/include/c++/13/atomic:104:20,
inlined from ‘void tbb::detail::r1::concurrent_monitor_base<Context>::notify_one_relaxed() [with Context = unsigned int]’ at /<<PKGBUILDDIR>>/test/tbb/../../src/tbb/concurrent_monitor.h:293:53,
inlined from ‘void tbb::detail::r1::concurrent_monitor_base<Context>::notify_one() [with Context = unsigned int]’ at /<<PKGBUILDDIR>>/test/tbb/../../src/tbb/concurrent_monitor.h:276:27,
inlined from ‘void DOCTEST_ANON_FUNC_35()’ at /<<PKGBUILDDIR>>/test/tbb/test_concurrent_monitor.cpp:87:44:
/usr/include/c++/13/bits/atomic_base.h:481:25: error: ‘void __atomic_store_1(volatile void*, unsigned char, int)’ writing 1 byte into a region of size 0 overflows the destination [-Werror=stringop-overflow=]
481 | __atomic_store_n(&_M_i, __i, int(__m));
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
cc1plus: all warnings being treated as errors
Cheers
--
Sebastian Ramacher
More information about the debian-science-maintainers
mailing list