Determining if the __x86_64__ exist failed with the following output: Change Dir: /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_9913a/fast" make[1]: Entering directory `/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_9913a.dir/build.make CMakeFiles/cmTC_9913a.dir/build make[2]: Entering directory `/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_9913a.dir/CheckSymbolExists.c.o /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/host/bin/arc-buildroot-linux-gnu-gcc --sysroot=/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_POSIX_C_SOURCE=200112L -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -O2 -Werror -Werror -DNDEBUG -fPIE -o CMakeFiles/cmTC_9913a.dir/CheckSymbolExists.c.o -c /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp/CheckSymbolExists.c /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: error: '__x86_64__' undeclared (first use in this function) return ((int*)(&__x86_64__))[argc]; ^~~~~~~~~~ /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [CMakeFiles/cmTC_9913a.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory `/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_9913a/fast] Error 2 make[1]: Leaving directory `/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp' File /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/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: /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_5b543/fast" make[1]: Entering directory `/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_5b543.dir/build.make CMakeFiles/cmTC_5b543.dir/build make[2]: Entering directory `/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5b543.dir/CheckSymbolExists.c.o /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/host/bin/arc-buildroot-linux-gnu-gcc --sysroot=/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_POSIX_C_SOURCE=200112L -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -O2 -Werror -Werror -DNDEBUG -fPIE -o CMakeFiles/cmTC_5b543.dir/CheckSymbolExists.c.o -c /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp/CheckSymbolExists.c /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: error: '__i386__' undeclared (first use in this function); did you mean '__DATE__'? return ((int*)(&__i386__))[argc]; ^~~~~~~~ __DATE__ /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [CMakeFiles/cmTC_5b543.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory `/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_5b543/fast] Error 2 make[1]: Leaving directory `/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp' File /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/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: /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_5c073/fast" make[1]: Entering directory `/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_5c073.dir/build.make CMakeFiles/cmTC_5c073.dir/build make[2]: Entering directory `/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5c073.dir/CheckSymbolExists.c.o /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/host/bin/arc-buildroot-linux-gnu-gcc --sysroot=/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_POSIX_C_SOURCE=200112L -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -O2 -Werror -Werror -DNDEBUG -fPIE -o CMakeFiles/cmTC_5c073.dir/CheckSymbolExists.c.o -c /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp/CheckSymbolExists.c /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: error: '__arm__' undeclared (first use in this function); did you mean '__DATE__'? return ((int*)(&__arm__))[argc]; ^~~~~~~ __DATE__ /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [CMakeFiles/cmTC_5c073.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory `/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_5c073/fast] Error 2 make[1]: Leaving directory `/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp' File /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/output/build/azure-iot-sdk-c-2018-03-16/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ int main(int argc, char** argv) { (void)argv; #ifndef __arm__ return ((int*)(&__arm__))[argc]; #else (void)argc; return 0; #endif }