Determining if the _aligned_malloc exist failed with the following output: Change Dir: /nvmedata/autobuild/instance-17/output-1/build/openjpeg-2.5.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_a0df6/fast && gmake[1]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/openjpeg-2.5.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_a0df6.dir/build.make CMakeFiles/cmTC_a0df6.dir/build gmake[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/openjpeg-2.5.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a0df6.dir/CheckSymbolExists.c.o /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-linux-gcc --sysroot=/nvmedata/autobuild/instance-17/output-1/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -o CMakeFiles/cmTC_a0df6.dir/CheckSymbolExists.c.o -c /nvmedata/autobuild/instance-17/output-1/build/openjpeg-2.5.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c /nvmedata/autobuild/instance-17/output-1/build/openjpeg-2.5.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /nvmedata/autobuild/instance-17/output-1/build/openjpeg-2.5.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: '_aligned_malloc' undeclared (first use in this function) 8 | return ((int*)(&_aligned_malloc))[argc]; | ^~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-17/output-1/build/openjpeg-2.5.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in gmake[2]: *** [CMakeFiles/cmTC_a0df6.dir/build.make:78: CMakeFiles/cmTC_a0df6.dir/CheckSymbolExists.c.o] Error 1 gmake[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/openjpeg-2.5.0/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_a0df6/fast] Error 2 gmake[1]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/openjpeg-2.5.0/CMakeFiles/CMakeTmp' File /nvmedata/autobuild/instance-17/output-1/build/openjpeg-2.5.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef _aligned_malloc return ((int*)(&_aligned_malloc))[argc]; #else (void)argc; return 0; #endif }