Created attachment 512008 [details] emerge --info gcc 6.4.0 New installation following handbook, makeopts set to -j5 (quad core Xeon W3550). output of emerge -pqv '=sys-devel/gcc-6.4.0' [ebuild R ] sys-devel/gcc-6.4.0 USE="cxx fortran (multilib) nls nptl openmp pch (pie*) sanitize ssp vtv (-altivec) (-awt) -cilk -debug -doc (-fixed-point) (-gcj) -go -graphite (-hardened) (-jit) (-libssp) -mpx -objc -objc++ -objc-gc -pgo -regression-test -vanilla" * IMPORTANT: 10 news items need reading for repository 'gentoo'. * Use eselect news read to view new items. Profile 33 selected (amd64/desktop/plasma)
I was using 17.1 release, but backed off to 17.0 and everything seems to be working. Hohpe y'all can fix this.
Please attach the logfile. Without this, it is impossible to guess what went wrong in your case.
Created attachment 512716 [details] gcc-6.4.0 build log with 17.1 profile
I guess I ran into the same problem as mentioned here[0] so I attached my build log. The last lines contain the problem: »# @multilib_flags@ is still needed because this may use # /var/tmp/portage/sys-devel/gcc-6.4.0/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-6.4.0/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linu$ # @multilib_dir@ is not really necessary, but sometimes it has # more uses than just a directory name. /bin/bash /var/tmp/portage/sys-devel/gcc-6.4.0/work/gcc-6.4.0/libgcc/../mkinstalldirs 32 mkdir -p -- 32 /var/tmp/portage/sys-devel/gcc-6.4.0/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-6.4.0/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-$ /usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/../lib/libc.so when searching for -lc /usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/../lib/libc.a when searching for -lc /usr/x86_64-pc-linux-gnu/bin/ld: i386:x86-64 architecture of input file `/usr/lib/../lib/crti.o' is incompatible with i386 output /usr/x86_64-pc-linux-gnu/bin/ld: i386:x86-64 architecture of input file `/usr/lib/../lib/crtn.o' is incompatible with i386 output « [0]