Package: src:arm-compute-library
Version: 20.08+dfsg-7
Severity: serious
Tags: sid trixie
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-13

With GCC-13, arm-compute-library fails to build from source on both arm64 and
armhf with the following errors:

./arm_compute/core/utils/misc/Utility.h: In function ‘bool 
arm_compute::utility::check_aligned(void*, size_t)’:
./arm_compute/core/utils/misc/Utility.h:194:35: error: ‘uintptr_t’ in namespace 
‘std’ does not name a type
  194 |     return (reinterpret_cast<std::uintptr_t>(ptr) % alignment) == 0;
      |                                   ^~~~~~~~~
./arm_compute/core/utils/misc/Utility.h:32:1: note: ‘std::uintptr_t’ is defined 
in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   31 | #include <vector>
  +++ |+#include <cstdint>
   32 | 
In file included from ./arm_compute/core/TensorShape.h:29,
                 from ./arm_compute/core/IAccessWindow.h:28,
                 from ./arm_compute/core/AccessWindowTranspose.h:28,
                 from src/core/AccessWindowTranspose.cpp:24:
./arm_compute/core/utils/misc/Utility.h: In function ‘bool 
arm_compute::utility::check_aligned(void*, size_t)’:
./arm_compute/core/utils/misc/Utility.h:194:35: error: ‘uintptr_t’ in namespace 
‘std’ does not name a type
  194 |     return (reinterpret_cast<std::uintptr_t>(ptr) % alignment) == 0;
      |                                   ^~~~~~~~~
./arm_compute/core/utils/misc/Utility.h:32:1: note: ‘std::uintptr_t’ is defined 
in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   31 | #include <vector>
  +++ |+#include <cstdint>
   32 | 
./arm_compute/core/TensorShape.h: At global scope:
./arm_compute/core/TensorShape.h:39:39: error: ‘uint32_t’ was not declared in 
this scope
   39 | class TensorShape : public Dimensions<uint32_t>
      |                                       ^~~~~~~~
./arm_compute/core/TensorShape.h:30:1: note: ‘uint32_t’ is defined in header 
‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   29 | #include "arm_compute/core/utils/misc/Utility.h"
  +++ |+#include <cstdint>
   30 | 
./arm_compute/core/TensorShape.h:39:47: error: template argument 1 is invalid
   39 | class TensorShape : public Dimensions<uint32_t>
      |                                               ^

[...]

Reply via email to