Determining if the __x86_64__ exist failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_3cdcc/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_3cdcc.dir/build.make CMakeFiles/cmTC_3cdcc.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3cdcc.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/mips64-buildroot-linux-uclibc/sysroot -D_POSIX_C_SOURCE=200112L -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -Werror -DUSE_PROV_MODULE_FULL -Werror -fPIE -o CMakeFiles/cmTC_3cdcc.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: error: '__x86_64__' undeclared (first use in this function) 7 | return ((int*)(&__x86_64__))[argc]; | ^~~~~~~~~~ /home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_3cdcc.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_3cdcc.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_3cdcc.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_3cdcc/fast' failed make[1]: *** [cmTC_3cdcc/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ int main(int argc, char** argv) { (void)argv; #ifndef __x86_64__ return ((int*)(&__x86_64__))[argc]; #else (void)argc; return 0; #endif } Determining if the __i386__ exist failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_75cc6/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_75cc6.dir/build.make CMakeFiles/cmTC_75cc6.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_75cc6.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/mips64-buildroot-linux-uclibc/sysroot -D_POSIX_C_SOURCE=200112L -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -Werror -DUSE_PROV_MODULE_FULL -Werror -fPIE -o CMakeFiles/cmTC_75cc6.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: error: '__i386__' undeclared (first use in this function) 7 | return ((int*)(&__i386__))[argc]; | ^~~~~~~~ /home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_75cc6.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_75cc6.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_75cc6.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_75cc6/fast' failed make[1]: *** [cmTC_75cc6/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ int main(int argc, char** argv) { (void)argv; #ifndef __i386__ return ((int*)(&__i386__))[argc]; #else (void)argc; return 0; #endif } Determining if the __arm__ exist failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_ad724/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_ad724.dir/build.make CMakeFiles/cmTC_ad724.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ad724.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/mips64-buildroot-linux-uclibc/sysroot -D_POSIX_C_SOURCE=200112L -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -Werror -DUSE_PROV_MODULE_FULL -Werror -fPIE -o CMakeFiles/cmTC_ad724.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: error: '__arm__' undeclared (first use in this function) 7 | return ((int*)(&__arm__))[argc]; | ^~~~~~~ /home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_ad724.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_ad724.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_ad724.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_ad724/fast' failed make[1]: *** [cmTC_ad724/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/instance-0/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ int main(int argc, char** argv) { (void)argv; #ifndef __arm__ return ((int*)(&__arm__))[argc]; #else (void)argc; return 0; #endif }