Determining if the __x86_64__ exist failed with the following output: Change Dir: /nvmedata/autobuild/instance-4/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_1874f/fast && gmake[1]: Entering directory '/nvmedata/autobuild/instance-4/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_1874f.dir/build.make CMakeFiles/cmTC_1874f.dir/build gmake[2]: Entering directory '/nvmedata/autobuild/instance-4/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1874f.dir/CheckSymbolExists.c.o /nvmedata/autobuild/instance-4/output-1/per-package/azure-iot-sdk-c/host/bin/sparc-buildroot-linux-uclibc-gcc --sysroot=/nvmedata/autobuild/instance-4/output-1/per-package/azure-iot-sdk-c/host/sparc-buildroot-linux-uclibc/sysroot -D_POSIX_C_SOURCE=200112L -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g3 -static -Werror -DUSE_PROV_MODULE_FULL -Werror -fPIE -o CMakeFiles/cmTC_1874f.dir/CheckSymbolExists.c.o -c /nvmedata/autobuild/instance-4/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c CheckSymbolExists.c: In function 'main': CheckSymbolExists.c:7:19: error: '__x86_64__' undeclared (first use in this function) 7 | return ((int*)(&__x86_64__))[argc]; | ^~~~~~~~~~ CheckSymbolExists.c:7:19: note: each undeclared identifier is reported only once for each function it appears in gmake[2]: *** [CMakeFiles/cmTC_1874f.dir/build.make:78: CMakeFiles/cmTC_1874f.dir/CheckSymbolExists.c.o] Error 1 gmake[2]: Leaving directory '/nvmedata/autobuild/instance-4/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_1874f/fast] Error 2 gmake[1]: Leaving directory '/nvmedata/autobuild/instance-4/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp' File /nvmedata/autobuild/instance-4/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: /nvmedata/autobuild/instance-4/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_5bbda/fast && gmake[1]: Entering directory '/nvmedata/autobuild/instance-4/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_5bbda.dir/build.make CMakeFiles/cmTC_5bbda.dir/build gmake[2]: Entering directory '/nvmedata/autobuild/instance-4/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5bbda.dir/CheckSymbolExists.c.o /nvmedata/autobuild/instance-4/output-1/per-package/azure-iot-sdk-c/host/bin/sparc-buildroot-linux-uclibc-gcc --sysroot=/nvmedata/autobuild/instance-4/output-1/per-package/azure-iot-sdk-c/host/sparc-buildroot-linux-uclibc/sysroot -D_POSIX_C_SOURCE=200112L -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g3 -static -Werror -DUSE_PROV_MODULE_FULL -Werror -fPIE -o CMakeFiles/cmTC_5bbda.dir/CheckSymbolExists.c.o -c /nvmedata/autobuild/instance-4/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c CheckSymbolExists.c: In function 'main': CheckSymbolExists.c:7:19: error: '__i386__' undeclared (first use in this function) 7 | return ((int*)(&__i386__))[argc]; | ^~~~~~~~ CheckSymbolExists.c:7:19: note: each undeclared identifier is reported only once for each function it appears in gmake[2]: *** [CMakeFiles/cmTC_5bbda.dir/build.make:78: CMakeFiles/cmTC_5bbda.dir/CheckSymbolExists.c.o] Error 1 gmake[2]: Leaving directory '/nvmedata/autobuild/instance-4/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_5bbda/fast] Error 2 gmake[1]: Leaving directory '/nvmedata/autobuild/instance-4/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp' File /nvmedata/autobuild/instance-4/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: /nvmedata/autobuild/instance-4/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_d4b1a/fast && gmake[1]: Entering directory '/nvmedata/autobuild/instance-4/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_d4b1a.dir/build.make CMakeFiles/cmTC_d4b1a.dir/build gmake[2]: Entering directory '/nvmedata/autobuild/instance-4/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d4b1a.dir/CheckSymbolExists.c.o /nvmedata/autobuild/instance-4/output-1/per-package/azure-iot-sdk-c/host/bin/sparc-buildroot-linux-uclibc-gcc --sysroot=/nvmedata/autobuild/instance-4/output-1/per-package/azure-iot-sdk-c/host/sparc-buildroot-linux-uclibc/sysroot -D_POSIX_C_SOURCE=200112L -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g3 -static -Werror -DUSE_PROV_MODULE_FULL -Werror -fPIE -o CMakeFiles/cmTC_d4b1a.dir/CheckSymbolExists.c.o -c /nvmedata/autobuild/instance-4/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp/CheckSymbolExists.c CheckSymbolExists.c: In function 'main': CheckSymbolExists.c:7:19: error: '__arm__' undeclared (first use in this function) 7 | return ((int*)(&__arm__))[argc]; | ^~~~~~~ CheckSymbolExists.c:7:19: note: each undeclared identifier is reported only once for each function it appears in gmake[2]: *** [CMakeFiles/cmTC_d4b1a.dir/build.make:78: CMakeFiles/cmTC_d4b1a.dir/CheckSymbolExists.c.o] Error 1 gmake[2]: Leaving directory '/nvmedata/autobuild/instance-4/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_d4b1a/fast] Error 2 gmake[1]: Leaving directory '/nvmedata/autobuild/instance-4/output-1/build/azure-iot-sdk-c-LTS_07_2022_Ref01/CMakeFiles/CMakeTmp' File /nvmedata/autobuild/instance-4/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 }