Determining if the _aligned_malloc exist failed with the following output: Change Dir: /home/test/autobuild/run/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_acd6a/fast" make[1]: Entering directory `/home/test/autobuild/run/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_acd6a.dir/build.make CMakeFiles/cmTC_acd6a.dir/build make[2]: Entering directory `/home/test/autobuild/run/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_acd6a.dir/CheckSymbolExists.c.o /home/test/autobuild/run/instance-1/output/host/bin/arm-linux-gcc --sysroot=/home/test/autobuild/run/instance-1/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -DNDEBUG -o CMakeFiles/cmTC_acd6a.dir/CheckSymbolExists.c.o -c /home/test/autobuild/run/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/test/autobuild/run/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/test/autobuild/run/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: '_aligned_malloc' undeclared (first use in this function) return ((int*)(&_aligned_malloc))[argc]; ^~~~~~~~~~~~~~~ /home/test/autobuild/run/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [CMakeFiles/cmTC_acd6a.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory `/home/test/autobuild/run/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_acd6a/fast] Error 2 make[1]: Leaving directory `/home/test/autobuild/run/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp' File /home/test/autobuild/run/instance-1/output/build/openjpeg-2.3.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 } Determining if the include file pthread.h exists failed with the following output: Change Dir: /home/test/autobuild/run/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_6961d/fast" make[1]: Entering directory `/home/test/autobuild/run/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_6961d.dir/build.make CMakeFiles/cmTC_6961d.dir/build make[2]: Entering directory `/home/test/autobuild/run/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6961d.dir/CheckIncludeFile.c.o /home/test/autobuild/run/instance-1/output/host/bin/arm-linux-gcc --sysroot=/home/test/autobuild/run/instance-1/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -DNDEBUG -o CMakeFiles/cmTC_6961d.dir/CheckIncludeFile.c.o -c /home/test/autobuild/run/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/test/autobuild/run/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:21: fatal error: pthread.h: No such file or directory #include ^ compilation terminated. make[2]: *** [CMakeFiles/cmTC_6961d.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory `/home/test/autobuild/run/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_6961d/fast] Error 2 make[1]: Leaving directory `/home/test/autobuild/run/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp'