#1096327 arm-compute-library: ftbfs with GCC-15

#1096327#5
Date:
2025-02-17 17:03:46 UTC
From:
To:
[This bug is NOT targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/arm-compute-library_23.08+dfsg-3.1_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other Common build failures are new warnings resulting in build failures
with -Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-15/porting_to.html

[...]
g++ -o build/src/core/utils/helpers/fft.o -c -DARCH_ARM -Wextra -Wdisabled-optimization -Wformat=2 -Winit-self -Wstrict-overflow=2 -Wswitch-default -Woverloaded-virtual -Wformat-security -Wctor-dtor-privacy -Wsign-promo -Weffc++ -Wno-overlength-strings -Wall -std=c++14 -pedantic -Wlogical-op -Wnoexcept -Wstrict-null-sentinel -Wno-misleading-indentation -C -fPIC -Wno-ignored-attributes -DENABLE_FP16_KERNELS -DENABLE_FP32_KERNELS -DENABLE_QASYMM8_KERNELS -DENABLE_QASYMM8_SIGNED_KERNELS -DENABLE_QSYMM16_KERNELS -DENABLE_INTEGER_KERNELS -DENABLE_NHWC_KERNELS -DENABLE_NCHW_KERNELS -O3 -m64 -D_GLIBCXX_USE_NANOSLEEP -DARM_COMPUTE_CPP_SCHEDULER=1 -DENABLE_NEON -DARM_COMPUTE_ENABLE_NEON -DARM_COMPUTE_GRAPH_ENABLED -DARM_COMPUTE_OPENCL_ENABLED -DEMBEDDED_KERNELS -DARM_COMPUTE_VERSION_MAJOR=32 -DARM_COMPUTE_VERSION_MINOR=0 -DARM_COMPUTE_VERSION_PATCH=0 -Iinclude -I. -Ibuild/build/src/core/CL -Ibuild/src/core/CL -Ibuild/build/src/core -Ibuild/src/core src/core/utils/helpers/fft.cpp
g++ -o build/src/core/utils/helpers/tensor_transform.o -c -DARCH_ARM -Wextra -Wdisabled-optimization -Wformat=2 -Winit-self -Wstrict-overflow=2 -Wswitch-default -Woverloaded-virtual -Wformat-security -Wctor-dtor-privacy -Wsign-promo -Weffc++ -Wno-overlength-strings -Wall -std=c++14 -pedantic -Wlogical-op -Wnoexcept -Wstrict-null-sentinel -Wno-misleading-indentation -C -fPIC -Wno-ignored-attributes -DENABLE_FP16_KERNELS -DENABLE_FP32_KERNELS -DENABLE_QASYMM8_KERNELS -DENABLE_QASYMM8_SIGNED_KERNELS -DENABLE_QSYMM16_KERNELS -DENABLE_INTEGER_KERNELS -DENABLE_NHWC_KERNELS -DENABLE_NCHW_KERNELS -O3 -m64 -D_GLIBCXX_USE_NANOSLEEP -DARM_COMPUTE_CPP_SCHEDULER=1 -DENABLE_NEON -DARM_COMPUTE_ENABLE_NEON -DARM_COMPUTE_GRAPH_ENABLED -DARM_COMPUTE_OPENCL_ENABLED -DEMBEDDED_KERNELS -DARM_COMPUTE_VERSION_MAJOR=32 -DARM_COMPUTE_VERSION_MINOR=0 -DARM_COMPUTE_VERSION_PATCH=0 -Iinclude -I. -Ibuild/build/src/core/CL -Ibuild/src/core/CL -Ibuild/build/src/core -Ibuild/src/core src/core/utils/helpers/tensor_transform.cpp
g++ -o build/src/core/utils/io/FileHandler.o -c -DARCH_ARM -Wextra -Wdisabled-optimization -Wformat=2 -Winit-self -Wstrict-overflow=2 -Wswitch-default -Woverloaded-virtual -Wformat-security -Wctor-dtor-privacy -Wsign-promo -Weffc++ -Wno-overlength-strings -Wall -std=c++14 -pedantic -Wlogical-op -Wnoexcept -Wstrict-null-sentinel -Wno-misleading-indentation -C -fPIC -Wno-ignored-attributes -DENABLE_FP16_KERNELS -DENABLE_FP32_KERNELS -DENABLE_QASYMM8_KERNELS -DENABLE_QASYMM8_SIGNED_KERNELS -DENABLE_QSYMM16_KERNELS -DENABLE_INTEGER_KERNELS -DENABLE_NHWC_KERNELS -DENABLE_NCHW_KERNELS -O3 -m64 -D_GLIBCXX_USE_NANOSLEEP -DARM_COMPUTE_CPP_SCHEDULER=1 -DENABLE_NEON -DARM_COMPUTE_ENABLE_NEON -DARM_COMPUTE_GRAPH_ENABLED -DARM_COMPUTE_OPENCL_ENABLED -DEMBEDDED_KERNELS -DARM_COMPUTE_VERSION_MAJOR=32 -DARM_COMPUTE_VERSION_MINOR=0 -DARM_COMPUTE_VERSION_PATCH=0 -Iinclude -I. -Ibuild/build/src/core/CL -Ibuild/src/core/CL -Ibuild/build/src/core -Ibuild/src/core src/core/utils/io/FileHandler.cpp
g++ -o build/src/core/utils/misc/MMappedFile.o -c -DARCH_ARM -Wextra -Wdisabled-optimization -Wformat=2 -Winit-self -Wstrict-overflow=2 -Wswitch-default -Woverloaded-virtual -Wformat-security -Wctor-dtor-privacy -Wsign-promo -Weffc++ -Wno-overlength-strings -Wall -std=c++14 -pedantic -Wlogical-op -Wnoexcept -Wstrict-null-sentinel -Wno-misleading-indentation -C -fPIC -Wno-ignored-attributes -DENABLE_FP16_KERNELS -DENABLE_FP32_KERNELS -DENABLE_QASYMM8_KERNELS -DENABLE_QASYMM8_SIGNED_KERNELS -DENABLE_QSYMM16_KERNELS -DENABLE_INTEGER_KERNELS -DENABLE_NHWC_KERNELS -DENABLE_NCHW_KERNELS -O3 -m64 -D_GLIBCXX_USE_NANOSLEEP -DARM_COMPUTE_CPP_SCHEDULER=1 -DENABLE_NEON -DARM_COMPUTE_ENABLE_NEON -DARM_COMPUTE_GRAPH_ENABLED -DARM_COMPUTE_OPENCL_ENABLED -DEMBEDDED_KERNELS -DARM_COMPUTE_VERSION_MAJOR=32 -DARM_COMPUTE_VERSION_MINOR=0 -DARM_COMPUTE_VERSION_PATCH=0 -Iinclude -I. -Ibuild/build/src/core/CL -Ibuild/src/core/CL -Ibuild/build/src/core -Ibuild/src/core src/core/utils/misc/MMappedFile.cpp
g++ -o build/src/core/utils/quantization/AsymmHelpers.o -c -DARCH_ARM -Wextra -Wdisabled-optimization -Wformat=2 -Winit-self -Wstrict-overflow=2 -Wswitch-default -Woverloaded-virtual -Wformat-security -Wctor-dtor-privacy -Wsign-promo -Weffc++ -Wno-overlength-strings -Wall -std=c++14 -pedantic -Wlogical-op -Wnoexcept -Wstrict-null-sentinel -Wno-misleading-indentation -C -fPIC -Wno-ignored-attributes -DENABLE_FP16_KERNELS -DENABLE_FP32_KERNELS -DENABLE_QASYMM8_KERNELS -DENABLE_QASYMM8_SIGNED_KERNELS -DENABLE_QSYMM16_KERNELS -DENABLE_INTEGER_KERNELS -DENABLE_NHWC_KERNELS -DENABLE_NCHW_KERNELS -O3 -m64 -D_GLIBCXX_USE_NANOSLEEP -DARM_COMPUTE_CPP_SCHEDULER=1 -DENABLE_NEON -DARM_COMPUTE_ENABLE_NEON -DARM_COMPUTE_GRAPH_ENABLED -DARM_COMPUTE_OPENCL_ENABLED -DEMBEDDED_KERNELS -DARM_COMPUTE_VERSION_MAJOR=32 -DARM_COMPUTE_VERSION_MINOR=0 -DARM_COMPUTE_VERSION_PATCH=0 -Iinclude -I. -Ibuild/build/src/core/CL -Ibuild/src/core/CL -Ibuild/build/src/core -Ibuild/src/core src/core/utils/quantization/AsymmHelpers.cpp
g++ -o build/src/core/CPP/CPPTypes.o -c -DARCH_ARM -Wextra -Wdisabled-optimization -Wformat=2 -Winit-self -Wstrict-overflow=2 -Wswitch-default -Woverloaded-virtual -Wformat-security -Wctor-dtor-privacy -Wsign-promo -Weffc++ -Wno-overlength-strings -Wall -std=c++14 -pedantic -Wlogical-op -Wnoexcept -Wstrict-null-sentinel -Wno-misleading-indentation -C -fPIC -Wno-ignored-attributes -DENABLE_FP16_KERNELS -DENABLE_FP32_KERNELS -DENABLE_QASYMM8_KERNELS -DENABLE_QASYMM8_SIGNED_KERNELS -DENABLE_QSYMM16_KERNELS -DENABLE_INTEGER_KERNELS -DENABLE_NHWC_KERNELS -DENABLE_NCHW_KERNELS -O3 -m64 -D_GLIBCXX_USE_NANOSLEEP -DARM_COMPUTE_CPP_SCHEDULER=1 -DENABLE_NEON -DARM_COMPUTE_ENABLE_NEON -DARM_COMPUTE_GRAPH_ENABLED -DARM_COMPUTE_OPENCL_ENABLED -DEMBEDDED_KERNELS -DARM_COMPUTE_VERSION_MAJOR=32 -DARM_COMPUTE_VERSION_MINOR=0 -DARM_COMPUTE_VERSION_PATCH=0 -Iinclude -I. -Ibuild/build/src/core/CL -Ibuild/src/core/CL -Ibuild/build/src/core -Ibuild/src/core src/core/CPP/CPPTypes.cpp
g++ -o build/src/core/CPP/kernels/CPPBoxWithNonMaximaSuppressionLimitKernel.o -c -DARCH_ARM -Wextra -Wdisabled-optimization -Wformat=2 -Winit-self -Wstrict-overflow=2 -Wswitch-default -Woverloaded-virtual -Wformat-security -Wctor-dtor-privacy -Wsign-promo -Weffc++ -Wno-overlength-strings -Wall -std=c++14 -pedantic -Wlogical-op -Wnoexcept -Wstrict-null-sentinel -Wno-misleading-indentation -C -fPIC -Wno-ignored-attributes -DENABLE_FP16_KERNELS -DENABLE_FP32_KERNELS -DENABLE_QASYMM8_KERNELS -DENABLE_QASYMM8_SIGNED_KERNELS -DENABLE_QSYMM16_KERNELS -DENABLE_INTEGER_KERNELS -DENABLE_NHWC_KERNELS -DENABLE_NCHW_KERNELS -O3 -m64 -D_GLIBCXX_USE_NANOSLEEP -DARM_COMPUTE_CPP_SCHEDULER=1 -DENABLE_NEON -DARM_COMPUTE_ENABLE_NEON -DARM_COMPUTE_GRAPH_ENABLED -DARM_COMPUTE_OPENCL_ENABLED -DEMBEDDED_KERNELS -DARM_COMPUTE_VERSION_MAJOR=32 -DARM_COMPUTE_VERSION_MINOR=0 -DARM_COMPUTE_VERSION_PATCH=0 -Iinclude -I. -Ibuild/build/src/core/CL -Ibuild/src/core/CL -Ibuild/build/src/core -Ibuild/src/core src/core/CPP/kernels/CPPBoxWithNonMaximaSuppressionLimitKernel.cpp
g++ -o build/src/core/CPP/kernels/CPPNonMaximumSuppressionKernel.o -c -DARCH_ARM -Wextra -Wdisabled-optimization -Wformat=2 -Winit-self -Wstrict-overflow=2 -Wswitch-default -Woverloaded-virtual -Wformat-security -Wctor-dtor-privacy -Wsign-promo -Weffc++ -Wno-overlength-strings -Wall -std=c++14 -pedantic -Wlogical-op -Wnoexcept -Wstrict-null-sentinel -Wno-misleading-indentation -C -fPIC -Wno-ignored-attributes -DENABLE_FP16_KERNELS -DENABLE_FP32_KERNELS -DENABLE_QASYMM8_KERNELS -DENABLE_QASYMM8_SIGNED_KERNELS -DENABLE_QSYMM16_KERNELS -DENABLE_INTEGER_KERNELS -DENABLE_NHWC_KERNELS -DENABLE_NCHW_KERNELS -O3 -m64 -D_GLIBCXX_USE_NANOSLEEP -DARM_COMPUTE_CPP_SCHEDULER=1 -DENABLE_NEON -DARM_COMPUTE_ENABLE_NEON -DARM_COMPUTE_GRAPH_ENABLED -DARM_COMPUTE_OPENCL_ENABLED -DEMBEDDED_KERNELS -DARM_COMPUTE_VERSION_MAJOR=32 -DARM_COMPUTE_VERSION_MINOR=0 -DARM_COMPUTE_VERSION_PATCH=0 -Iinclude -I. -Ibuild/build/src/core/CL -Ibuild/src/core/CL -Ibuild/build/src/core -Ibuild/src/core src/core/CPP/kernels/CPPNonMaximumSuppressionKernel.cpp
g++ -o build/src/core/CPP/kernels/CPPPermuteKernel.o -c -DARCH_ARM -Wextra -Wdisabled-optimization -Wformat=2 -Winit-self -Wstrict-overflow=2 -Wswitch-default -Woverloaded-virtual -Wformat-security -Wctor-dtor-privacy -Wsign-promo -Weffc++ -Wno-overlength-strings -Wall -std=c++14 -pedantic -Wlogical-op -Wnoexcept -Wstrict-null-sentinel -Wno-misleading-indentation -C -fPIC -Wno-ignored-attributes -DENABLE_FP16_KERNELS -DENABLE_FP32_KERNELS -DENABLE_QASYMM8_KERNELS -DENABLE_QASYMM8_SIGNED_KERNELS -DENABLE_QSYMM16_KERNELS -DENABLE_INTEGER_KERNELS -DENABLE_NHWC_KERNELS -DENABLE_NCHW_KERNELS -O3 -m64 -D_GLIBCXX_USE_NANOSLEEP -DARM_COMPUTE_CPP_SCHEDULER=1 -DENABLE_NEON -DARM_COMPUTE_ENABLE_NEON -DARM_COMPUTE_GRAPH_ENABLED -DARM_COMPUTE_OPENCL_ENABLED -DEMBEDDED_KERNELS -DARM_COMPUTE_VERSION_MAJOR=32 -DARM_COMPUTE_VERSION_MINOR=0 -DARM_COMPUTE_VERSION_PATCH=0 -Iinclude -I. -Ibuild/build/src/core/CL -Ibuild/src/core/CL -Ibuild/build/src/core -Ibuild/src/core src/core/CPP/kernels/CPPPermuteKernel.cpp
g++ -o build/src/core/CPP/kernels/CPPTopKVKernel.o -c -DARCH_ARM -Wextra -Wdisabled-optimization -Wformat=2 -Winit-self -Wstrict-overflow=2 -Wswitch-default -Woverloaded-virtual -Wformat-security -Wctor-dtor-privacy -Wsign-promo -Weffc++ -Wno-overlength-strings -Wall -std=c++14 -pedantic -Wlogical-op -Wnoexcept -Wstrict-null-sentinel -Wno-misleading-indentation -C -fPIC -Wno-ignored-attributes -DENABLE_FP16_KERNELS -DENABLE_FP32_KERNELS -DENABLE_QASYMM8_KERNELS -DENABLE_QASYMM8_SIGNED_KERNELS -DENABLE_QSYMM16_KERNELS -DENABLE_INTEGER_KERNELS -DENABLE_NHWC_KERNELS -DENABLE_NCHW_KERNELS -O3 -m64 -D_GLIBCXX_USE_NANOSLEEP -DARM_COMPUTE_CPP_SCHEDULER=1 -DENABLE_NEON -DARM_COMPUTE_ENABLE_NEON -DARM_COMPUTE_GRAPH_ENABLED -DARM_COMPUTE_OPENCL_ENABLED -DEMBEDDED_KERNELS -DARM_COMPUTE_VERSION_MAJOR=32 -DARM_COMPUTE_VERSION_MINOR=0 -DARM_COMPUTE_VERSION_PATCH=0 -Iinclude -I. -Ibuild/build/src/core/CL -Ibuild/src/core/CL -Ibuild/build/src/core -Ibuild/src/core src/core/CPP/kernels/CPPTopKVKernel.cpp
g++ -o build/src/core/CPP/kernels/CPPUpsampleKernel.o -c -DARCH_ARM -Wextra -Wdisabled-optimization -Wformat=2 -Winit-self -Wstrict-overflow=2 -Wswitch-default -Woverloaded-virtual -Wformat-security -Wctor-dtor-privacy -Wsign-promo -Weffc++ -Wno-overlength-strings -Wall -std=c++14 -pedantic -Wlogical-op -Wnoexcept -Wstrict-null-sentinel -Wno-misleading-indentation -C -fPIC -Wno-ignored-attributes -DENABLE_FP16_KERNELS -DENABLE_FP32_KERNELS -DENABLE_QASYMM8_KERNELS -DENABLE_QASYMM8_SIGNED_KERNELS -DENABLE_QSYMM16_KERNELS -DENABLE_INTEGER_KERNELS -DENABLE_NHWC_KERNELS -DENABLE_NCHW_KERNELS -O3 -m64 -D_GLIBCXX_USE_NANOSLEEP -DARM_COMPUTE_CPP_SCHEDULER=1 -DENABLE_NEON -DARM_COMPUTE_ENABLE_NEON -DARM_COMPUTE_GRAPH_ENABLED -DARM_COMPUTE_OPENCL_ENABLED -DEMBEDDED_KERNELS -DARM_COMPUTE_VERSION_MAJOR=32 -DARM_COMPUTE_VERSION_MINOR=0 -DARM_COMPUTE_VERSION_PATCH=0 -Iinclude -I. -Ibuild/build/src/core/CL -Ibuild/src/core/CL -Ibuild/build/src/core -Ibuild/src/core src/core/CPP/kernels/CPPUpsampleKernel.cpp
g++ -o build/src/runtime/Allocator.o -c -DARCH_ARM -Wextra -Wdisabled-optimization -Wformat=2 -Winit-self -Wstrict-overflow=2 -Wswitch-default -Woverloaded-virtual -Wformat-security -Wctor-dtor-privacy -Wsign-promo -Weffc++ -Wno-overlength-strings -Wall -std=c++14 -pedantic -Wlogical-op -Wnoexcept -Wstrict-null-sentinel -Wno-misleading-indentation -C -fPIC -Wno-ignored-attributes -DENABLE_FP16_KERNELS -DENABLE_FP32_KERNELS -DENABLE_QASYMM8_KERNELS -DENABLE_QASYMM8_SIGNED_KERNELS -DENABLE_QSYMM16_KERNELS -DENABLE_INTEGER_KERNELS -DENABLE_NHWC_KERNELS -DENABLE_NCHW_KERNELS -O3 -m64 -D_GLIBCXX_USE_NANOSLEEP -DARM_COMPUTE_CPP_SCHEDULER=1 -DENABLE_NEON -DARM_COMPUTE_ENABLE_NEON -DARM_COMPUTE_GRAPH_ENABLED -DARM_COMPUTE_OPENCL_ENABLED -DEMBEDDED_KERNELS -DARM_COMPUTE_VERSION_MAJOR=32 -DARM_COMPUTE_VERSION_MINOR=0 -DARM_COMPUTE_VERSION_PATCH=0 -Iinclude -I. -Ibuild/build/src/core/CL -Ibuild/src/core/CL -Ibuild/build/src/core -Ibuild/src/core src/runtime/Allocator.cpp
In file included from src/runtime/Allocator.cpp:25:
./arm_compute/runtime/MemoryRegion.h:105:21: error: ‘uint8_t’ was not declared in this scope
  105 |     std::shared_ptr<uint8_t> _mem;
      |                     ^~~~~~~
./arm_compute/runtime/MemoryRegion.h:32:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
   31 | #include <cstddef>
  +++ |+#include <cstdint>
   32 |
./arm_compute/runtime/MemoryRegion.h:105:28: error: template argument 1 is invalid
  105 |     std::shared_ptr<uint8_t> _mem;
      |                            ^
./arm_compute/runtime/MemoryRegion.h: In constructor ‘arm_compute::MemoryRegion::MemoryRegion(size_t, size_t)’:
./arm_compute/runtime/MemoryRegion.h:45:37: error: cannot convert ‘std::nullptr_t’ to ‘int’ in initialization
   45 |         : IMemoryRegion(size), _mem(nullptr), _ptr(nullptr)
      |                                     ^~~~~~~
      |                                     |
      |                                     std::nullptr_t
./arm_compute/runtime/MemoryRegion.h:51:44: error: ‘uint8_t’ was not declared in this scope
   51 |             _mem         = std::shared_ptr<uint8_t>(new uint8_t[space](), [](uint8_t *ptr)
      |                                            ^~~~~~~
./arm_compute/runtime/MemoryRegion.h:51:44: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./arm_compute/runtime/MemoryRegion.h:51:51: error: template argument 1 is invalid
   51 |             _mem         = std::shared_ptr<uint8_t>(new uint8_t[space](), [](uint8_t *ptr)
      |                                                   ^
./arm_compute/runtime/MemoryRegion.h:51:57: error: ‘uint8_t’ does not name a type
   51 |             _mem         = std::shared_ptr<uint8_t>(new uint8_t[space](), [](uint8_t *ptr)
      |                                                         ^~~~~~~
./arm_compute/runtime/MemoryRegion.h:51:57: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./arm_compute/runtime/MemoryRegion.h:51:78: error: ‘uint8_t’ is not a type
   51 |             _mem         = std::shared_ptr<uint8_t>(new uint8_t[space](), [](uint8_t *ptr)
      |                                                                              ^~~~~~~
./arm_compute/runtime/MemoryRegion.h:55:25: error: request for member ‘get’ in ‘((arm_compute::MemoryRegion*)this)->arm_compute::MemoryRegion::_mem’, which is of non-class type ‘int’
   55 |             _ptr = _mem.get();
      |                         ^~~
./arm_compute/runtime/MemoryRegion.h:60:42: error: request for member ‘get’ in ‘((arm_compute::MemoryRegion*)this)->arm_compute::MemoryRegion::_mem’, which is of non-class type ‘int’
   60 |                 void *aligned_ptr = _mem.get();
      |                                          ^~~
./arm_compute/runtime/MemoryRegion.h: In constructor ‘arm_compute::MemoryRegion::MemoryRegion(void*, size_t)’:
./arm_compute/runtime/MemoryRegion.h:67:37: error: cannot convert ‘std::nullptr_t’ to ‘int’ in initialization
   67 |         : IMemoryRegion(size), _mem(nullptr), _ptr(nullptr)
      |                                     ^~~~~~~
      |                                     |
      |                                     std::nullptr_t
./arm_compute/runtime/MemoryRegion.h: In member function ‘virtual std::unique_ptr<arm_compute::IMemoryRegion> arm_compute::MemoryRegion::extract_subregion(size_t, size_t)’:
./arm_compute/runtime/MemoryRegion.h:96:63: error: ‘uint8_t’ does not name a type
   96 |             return std::make_unique<MemoryRegion>(static_cast<uint8_t *>(_ptr) + offset, size);
      |                                                               ^~~~~~~
./arm_compute/runtime/MemoryRegion.h:96:63: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./arm_compute/runtime/MemoryRegion.h:96:71: error: expected ‘>’ before ‘*’ token
   96 |             return std::make_unique<MemoryRegion>(static_cast<uint8_t *>(_ptr) + offset, size);
      |                                                                       ^
g++ -o build/src/runtime/BlobLifetimeManager.o -c -DARCH_ARM -Wextra -Wdisabled-optimization -Wformat=2 -Winit-self -Wstrict-overflow=2 -Wswitch-default -Woverloaded-virtual -Wformat-security -Wctor-dtor-privacy -Wsign-promo -Weffc++ -Wno-overlength-strings -Wall -std=c++14 -pedantic -Wlogical-op -Wnoexcept -Wstrict-null-sentinel -Wno-misleading-indentation -C -fPIC -Wno-ignored-attributes -DENABLE_FP16_KERNELS -DENABLE_FP32_KERNELS -DENABLE_QASYMM8_KERNELS -DENABLE_QASYMM8_SIGNED_KERNELS -DENABLE_QSYMM16_KERNELS -DENABLE_INTEGER_KERNELS -DENABLE_NHWC_KERNELS -DENABLE_NCHW_KERNELS -O3 -m64 -D_GLIBCXX_USE_NANOSLEEP -DARM_COMPUTE_CPP_SCHEDULER=1 -DENABLE_NEON -DARM_COMPUTE_ENABLE_NEON -DARM_COMPUTE_GRAPH_ENABLED -DARM_COMPUTE_OPENCL_ENABLED -DEMBEDDED_KERNELS -DARM_COMPUTE_VERSION_MAJOR=32 -DARM_COMPUTE_VERSION_MINOR=0 -DARM_COMPUTE_VERSION_PATCH=0 -Iinclude -I. -Ibuild/build/src/core/CL -Ibuild/src/core/CL -Ibuild/build/src/core -Ibuild/src/core src/runtime/BlobLifetimeManager.cpp
scons: *** [build/src/runtime/Allocator.o] Error 1
scons: building terminated because of errors.
make[1]: *** [debian/rules:43: override_dh_auto_build-arch] Error 2
make[1]: Leaving directory '/build/reproducible-path/arm-compute-library-23.08+dfsg'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2