diff options
| author | ghpzin <ghpzin@gmail.com> | 2025-09-25 22:29:51 +0300 |
|---|---|---|
| committer | ghpzin <ghpzin@gmail.com> | 2025-09-25 22:51:12 +0300 |
| commit | ecd11a12cb68ec762d3759c93575c646ba6d1225 (patch) | |
| tree | ed5a9b096bd3964c84a72be153e69d39989e9175 /pkgs/development/python-modules/rangehttpserver/default.nix | |
| parent | bdc3cdda4282aa75c82d98955ff219137e03620d (diff) | |
onetbb: fix build with gcc15
- add patch from merged upstream PR:
https://www.github.com/uxlfoundation/oneTBB/pull/1831
https://github.com/uxlfoundation/oneTBB/commit/712ad98443300aab202f5e93a76472d59b79752a
Fixes build failure with gcc15:
```
FAILED: [code=1] test/CMakeFiles/test_concurrent_unordered_map.dir/tbb/test_concurrent_unordered_map.cpp.o
...
/nix/store/rd8c9w16nwys8yz1a9j2g2nhjn07464r-gcc-15.2.0/include/c++/15.2.0/bits/new_allocator.h:198:11:
error: array subscript 2 is outside array bounds of
'StaticSharedCountingAllocator<std::allocator<tbb::detail::d2::list_node<long unsigned int> > >::value_type [1]'
{aka 'tbb::detail::d2::list_node<long unsigned int> [1]'} [-Werror=array-bounds=]
198 | { __p->~_Up(); }
| ^~~
compilation terminated due to -Wfatal-errors.
cc1plus: all warnings being treated as errors
...
FAILED: [code=1] test/CMakeFiles/test_concurrent_unordered_set.dir/tbb/test_concurrent_unordered_set.cpp.o
...
/build/source/src/tbb/../../include/tbb/../oneapi/tbb/detail/_concurrent_unordered_base.h:172:20:
error: array subscript 'tbb::detail::d2::value_node<AllocatorAwareData<std::scoped_allocator_adaptor<std::allocator<int> > >,
long unsigned int>[0]' is partly outside array bounds of 'unsigned char [16]' [-Werror=array-bounds=]
172 | ~value_node() {}
| ^
compilation terminated due to -Wfatal-errors.
cc1plus: all warnings being treated as errors
```
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver/default.nix')
0 files changed, 0 insertions, 0 deletions
