Hi, Here's a report of a successful build and install of GCC:
$ gcc-6.1.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.1.0/lto-wrapper Target: sparc-unknown-linux-gnu Configured with: ../gcc-6.1.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.1.0 (GCC) -- Build environment ---------------------------------------------------------- host: sun-ultra-10 distro: los.git rootfs=71e48 native=71e48 kernel: Linux 4.6.0-rc5-ultra-los_71e48 binutils: GNU binutils 2.26.20160125 make: GNU Make 4.1 libc: GNU C Library (GNU libc) stable release version 2.23 zlib: 1.2.8 mpfr: 3.1.3 gmp: 60000 -- Time consumed -------------------------------------------------------------- configure: real 0m 34.49s user 0m 23.06s sys 0m 1.82s bootstrap: real 39h 58m 57s user 38h 58m 56s sys 29m 9.36s install: real 4m 2.70s user 2m 10.87s sys 0m 21.51s -- Hardware details ----------------------------------------------------------- MemTotal: 508152 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.