Hi, Here's a report of a successful build and install of GCC:
$ gcc-7.3.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.3.0/lto-wrapper Target: sparc-unknown-linux-gnu Configured with: ../gcc-7.3.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.3.0 (GCC) -- Build environment ---------------------------------------------------------- host: sun-ultra-10 distro: los.git rootfs=e263b native=e263b kernel: Linux 4.16.0-rc6-ultra-los_e263b binutils: GNU binutils 2.30 make: GNU Make 4.2.1 libc: GNU C Library (GNU libc) stable release version 2.27. zlib: 1.2.11 mpfr: 4.0.1 gmp: 60102 -- Time consumed -------------------------------------------------------------- configure: real 0m 26.04s user 0m 19.37s sys 0m 3.79s bootstrap: real 44h 48m 35s user 43h 51m 31s sys 41m 24.99s install: real 2m 58.62s user 1m 6.04s sys 0m 37.68s -- 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.