https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87141
Bug ID: 87141 Summary: configure:14586: error: Could not determine word size. Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: mfe at live dot de Target Milestone: --- Created attachment 44625 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44625&action=edit config he exact version of GCC: gcc-8.2.0 the system type: NetgearReadyNAS Duo (http://wiki.dietpc.org/index.php/DIET-PC_on_SPARC_ReadyNAS) the options given when GCC was configured/built: ../gcc-8.2.0/configure --prefix=/opt/gcc-8.2/ --enable-languages=c,c++,go --with-mpc=/usr/local --with-mpfr=/usr/local --with-gmp=/usr/local --with-isl=/usr/local/ --disable-doc --host=sparc-linux --build=sparc-linux --disable-libstdcxx-pch --disable-linux-futex --disable-libsanitizer --disable-libcilkrts --disable-libitm --disable-libitm CC=/opt/gcc-7.3/bin/gcc CXX=/opt/gcc-7.3/bin/g++ && /usr/local/bin/make ## --------- ## ## Platform. ## ## --------- ## hostname = nas-02-90-38 uname -m = padre uname -r = 2.6.17.14ReadyNAS uname -s = Linux uname -v = #1 Wed Jun 20 20:08:20 PDT 2012 the complete command line that triggers the bug (stage3); /usr/local/bin/make the compiler output (error messages, warnings, etc.); [...] checking if /media/gcc-8.2.0-compiled/./gcc/xgcc -B/media/gcc-8.2.0-compiled/./gcc/ -B/opt/gcc-8.2/sparc-linux/bin/ -B/opt/gcc-8.2/sparc-linux/lib/ -isystem /opt/gcc-8.2/sparc-linux/include -isystem /opt/gcc-8.2/sparc-linux/sys-include supports -c -o file.o... (cached) yes checking whether the /media/gcc-8.2.0-compiled/./gcc/xgcc -B/media/gcc-8.2.0-compiled/./gcc/ -B/opt/gcc-8.2/sparc-linux/bin/ -B/opt/gcc-8.2/sparc-linux/lib/ -isystem /opt/gcc-8.2/sparc-linux/include -isystem /opt/gcc-8.2/sparc-linux/sys-include linker (/media/gcc-8.2.0-compiled/./gcc/collect-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for thread model used by GCC... posix checking for ANSI C header files... (cached) yes checking whether string.h and strings.h may both be included... yes looking for a compliant stdint.h in stdint.h, checking for uintmax_t... yes checking for uintptr_t... yes checking for int_least32_t... yes checking for int_fast32_t... yes checking for uint64_t... yes checking what to include in gstdint.h... stdint.h (already complete) checking fenv.h usability... yes checking fenv.h presence... yes checking for fenv.h... yes checking for 1 byte integer... yes checking for 2 byte integer... yes checking for 4 byte integer... yes checking for 8 byte integer... yes checking for 16 byte integer... no checking for __atomic_load/store for size 1... yes checking for __atomic_load/store for size 2... yes checking for __atomic_load/store for size 4... yes checking for __atomic_load/store for size 8... yes checking for __atomic_load/store for size 16... no checking for __atomic_test_and_set for size 1... yes checking for __atomic_test_and_set for size 2... yes checking for __atomic_test_and_set for size 4... yes checking for __atomic_test_and_set for size 8... yes checking for __atomic_test_and_set for size 16... no checking for __atomic_exchange for size 1... yes checking for __atomic_exchange for size 2... yes checking for __atomic_exchange for size 4... yes checking for __atomic_exchange for size 8... no checking for __atomic_exchange for size 16... no checking for __atomic_compare_exchange for size 1... yes checking for __atomic_compare_exchange for size 2... yes checking for __atomic_compare_exchange for size 4... yes checking for __atomic_compare_exchange for size 8... no checking for __atomic_compare_exchange for size 16... no checking for __atomic_fetch_add for size 1... yes checking for __atomic_fetch_add for size 2... yes checking for __atomic_fetch_add for size 4... yes checking for __atomic_fetch_add for size 8... no checking for __atomic_fetch_add for size 16... no checking for __atomic_fetch_op for size 1... yes checking for __atomic_fetch_op for size 2... yes checking for __atomic_fetch_op for size 4... yes checking for __atomic_fetch_op for size 8... no checking for __atomic_fetch_op for size 16... no checking whether byte ordering is bigendian... yes checking for the word size... configure: error: Could not determine word size. make[1]: *** [Makefile:22655: configure-target-libatomic] Error 1 make[1]: Leaving directory '/c/media/gcc-8.2.0-compiled' make: *** [Makefile:943: all] Error 2 Not sure if its related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87013