Hi, Here's a report of a successful build and install of GCC:
$ gcc-7.2.0/config.guess sparc64-unknown-linux-gnu $ newcompiler/bin/gcc -v Using built-in specs. COLLECT_GCC=newcompiler/bin/gcc COLLECT_LTO_WRAPPER=/home/aaro/gcctest/newcompiler/libexec/gcc/sparc-unknown-linux-gnu/7.2.0/lto-wrapper Target: sparc-unknown-linux-gnu Configured with: ../gcc-7.2.0/configure --with-cpu=ultrasparc --enable-targets=all --disable-libsanitizer --disable-nls --prefix=/home/aaro/gcctest/newcompiler --enable-languages=c,c++ --host=sparc-unknown-linux-gnu --build=sparc-unknown-linux-gnu --target=sparc-unknown-linux-gnu --with-system-zlib --with-sysroot=/ Thread model: posix gcc version 7.2.0 (GCC) -- Build environment ---------------------------------------------------------- host: sun-ultra-10 distro: los.git rootfs=5b2961 native=5b2961 kernel: Linux 4.12.0-ultra-los_f834d binutils: GNU binutils 2.29 make: GNU Make 4.2.1 libc: GNU C Library (GNU libc) stable release version 2.26 zlib: 1.2.11 mpfr: 3.1.3 gmp: 60102 -- Time consumed -------------------------------------------------------------- configure: real 0m 28.79s user 0m 24.78s sys 0m 3.40s bootstrap: real 44h 24m 24s user 43h 27m 07s sys 41m 44.07s install: real 2m 52.97s user 1m 6.11s sys 0m 37.17s -- Hardware details ----------------------------------------------------------- MemTotal: 507728 kB cpu : TI UltraSparc IIi (Sabre) fpu : UltraSparc IIi integrated FPU pmu : ultra12 prom : OBP 3.31.0 2001/07/25 20:36 type : sun4u ncpus probed : 1 ncpus active : 1 D$ parity tl1 : 0 I$ parity tl1 : 0 Cpu0ClkTck : 000000001a39de00 cpucaps : flush,stbar,swap,muldiv,v9,mul32,div32,v8plus,vis MMU Type : Spitfire MMU PGSZs : 8K,64K,512K,4MB A.