Hi, Here's a report of a successful build and install of GCC:
$ gcc-7.2.0/config.guess mips64-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/mips-unknown-linux-gnu/7.2.0/lto-wrapper Target: mips-unknown-linux-gnu Configured with: ../gcc-7.2.0/configure --with-arch=octeon+ --with-abi=32 --enable-targets=all --with-float=soft --disable-nls --prefix=/home/aaro/gcctest/newcompiler --enable-languages=c,c++ --host=mips-unknown-linux-gnu --build=mips-unknown-linux-gnu --target=mips-unknown-linux-gnu --with-system-zlib --with-sysroot=/ Thread model: posix gcc version 7.2.0 (GCC) -- Build environment ---------------------------------------------------------- host: edgerouter-pro distro: los.git rootfs=f834d native=f834d kernel: Linux 4.12.0-octeon-los_f834d binutils: GNU binutils 2.29 make: GNU Make 4.2.1 libc: GNU C Library (GNU libc) stable release version 2.25 zlib: 1.2.11 mpfr: 3.1.3 gmp: 60102 -- Time consumed -------------------------------------------------------------- configure: real 0m 10.74s user 0m 12.49s sys 0m 1.25s bootstrap: real 14h 50m 39s user 26h 26m 53s sys 1h 47m 58s install: real 9m 11.24s user 3m 20.54s sys 4m 58.00s -- Hardware details ----------------------------------------------------------- MemTotal: 2011492 kB system type : ubnt,e200 (CN6120p1.1-1000-NSP) machine : Unknown processor : 0 cpu model : Cavium Octeon II V0.1 BogoMIPS : 2000.00 wait instruction : yes microsecond timers : yes tlb_entries : 128 extra interrupt vector : yes hardware watchpoint : yes, count: 2, address/irw mask: [0x0ffc, 0x0ffb] isa : mips2 mips3 mips4 mips5 mips64r2 ASEs implemented : shadow register sets : 1 kscratch registers : 3 package : 0 core : 0 VCED exceptions : not available VCEI exceptions : not available processor : 1 cpu model : Cavium Octeon II V0.1 BogoMIPS : 2000.00 wait instruction : yes microsecond timers : yes tlb_entries : 128 extra interrupt vector : yes hardware watchpoint : yes, count: 2, address/irw mask: [0x0ffc, 0x0ffb] isa : mips2 mips3 mips4 mips5 mips64r2 ASEs implemented : shadow register sets : 1 kscratch registers : 3 package : 0 core : 1 VCED exceptions : not available VCEI exceptions : not available A.