Hi, Here's a report of a successful build and install of GCC:
$ gcc-6.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/6.2.0/lto-wrapper Target: sparc-unknown-linux-gnu Configured with: ../gcc-6.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 6.2.0 (GCC) -- Build environment ---------------------------------------------------------- host: sun-ultra-10 distro: los.git rootfs=d8b497 native=d8b497 kernel: Linux 4.8.0-rc6-ultra-los_d8b497 binutils: GNU binutils 2.27 make: GNU Make 4.1 libc: GNU C Library (GNU libc) stable release version 2.24 zlib: 1.2.8 mpfr: 3.1.3 gmp: 60000 -- Time consumed -------------------------------------------------------------- configure: real 0m 33.65s user 0m 22.02s sys 0m 2.01s bootstrap: real 40h 3m 36s user 39h 3m 41s sys 29m 25.86s install: real 3m 54.72s user 2m 7.74s sys 0m 22.60s -- Hardware details ----------------------------------------------------------- MemTotal: 507912 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.