Determining if the __x86_64__ exist failed with the following output: Change Dir: /nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_261fe/fast && make[1]: Entering directory '/nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_261fe.dir/build.make CMakeFiles/cmTC_261fe.dir/build make[2]: Entering directory '/nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_261fe.dir/CheckSymbolExists.c.o /nvmedata/autobuild/instance-7/output-1/host/bin/mips-linux-gnu-gcc --sysroot=/nvmedata/autobuild/instance-7/output-1/host/mipsel-buildroot-linux-gnu/sysroot -D_POSIX_C_SOURCE=200112L -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -Werror -Werror -DNDEBUG -fPIE -o CMakeFiles/cmTC_261fe.dir/CheckSymbolExists.c.o -c /nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c /nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: error: '__x86_64__' undeclared (first use in this function) return ((int*)(&__x86_64__))[argc]; ^ /nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [CMakeFiles/cmTC_261fe.dir/build.make:85: CMakeFiles/cmTC_261fe.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:140: cmTC_261fe/fast] Error 2 make[1]: Leaving directory '/nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp' File /nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_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: /nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_a54f2/fast && make[1]: Entering directory '/nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_a54f2.dir/build.make CMakeFiles/cmTC_a54f2.dir/build make[2]: Entering directory '/nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a54f2.dir/CheckSymbolExists.c.o /nvmedata/autobuild/instance-7/output-1/host/bin/mips-linux-gnu-gcc --sysroot=/nvmedata/autobuild/instance-7/output-1/host/mipsel-buildroot-linux-gnu/sysroot -D_POSIX_C_SOURCE=200112L -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -Werror -Werror -DNDEBUG -fPIE -o CMakeFiles/cmTC_a54f2.dir/CheckSymbolExists.c.o -c /nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c /nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: error: '__i386__' undeclared (first use in this function) return ((int*)(&__i386__))[argc]; ^ /nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [CMakeFiles/cmTC_a54f2.dir/build.make:85: CMakeFiles/cmTC_a54f2.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:140: cmTC_a54f2/fast] Error 2 make[1]: Leaving directory '/nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp' File /nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_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: /nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_07889/fast && make[1]: Entering directory '/nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_07889.dir/build.make CMakeFiles/cmTC_07889.dir/build make[2]: Entering directory '/nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_07889.dir/CheckSymbolExists.c.o /nvmedata/autobuild/instance-7/output-1/host/bin/mips-linux-gnu-gcc --sysroot=/nvmedata/autobuild/instance-7/output-1/host/mipsel-buildroot-linux-gnu/sysroot -D_POSIX_C_SOURCE=200112L -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -Werror -Werror -DNDEBUG -fPIE -o CMakeFiles/cmTC_07889.dir/CheckSymbolExists.c.o -c /nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c /nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: error: '__arm__' undeclared (first use in this function) return ((int*)(&__arm__))[argc]; ^ /nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [CMakeFiles/cmTC_07889.dir/build.make:85: CMakeFiles/cmTC_07889.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:140: cmTC_07889/fast] Error 2 make[1]: Leaving directory '/nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2022_Ref01/CMakeFiles/CMakeTmp' File /nvmedata/autobuild/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_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 }