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