Configuring stage 1 in x86_64-portbld-freebsd11.1/libgcc configure: creating cache ./config.cache checking build system type... x86_64-portbld-freebsd11.1 checking host system type... x86_64-portbld-freebsd11.1 DEFAULT_VERSIONS+=ssl=openssl checking for --enable-version-specific-runtime-libs... no checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... /usr/bin/awk checking for x86_64-portbld-freebsd11.1-ar... /usr/local/x86_64-portbld-freebsd11.1/bin/ar checking for x86_64-portbld-freebsd11.1-lipo... lipo checking for x86_64-portbld-freebsd11.1-nm... /usr/ports/lang/gcc6/work/.build/./gcc/nm checking for x86_64-portbld-freebsd11.1-ranlib... /usr/local/x86_64-portbld-freebsd11.1/bin/ranlib checking for x86_64-portbld-freebsd11.1-strip... /usr/local/x86_64-portbld-freebsd11.1/bin/strip checking whether ln -s works... yes checking for x86_64-portbld-freebsd11.1-gcc... /usr/ports/lang/gcc6/work/.build/./gcc/xgcc -B/usr/ports/lang/gcc6/work/.build/./gcc/ -B/usr/local/x86_64-portbld-freebsd11.1/bin/ -B/usr/local/x86_64-portbld-freebsd11.1/lib/ -isystem /usr/local/x86_64-portbld-freebsd11.1/include -isystem /usr/local/x86_64-portbld-freebsd11.1/sys-include checking for suffix of object files... configure: error: in `/usr/ports/lang/gcc6/work/.build/x86_64-portbld-freebsd11.1/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[4]: *** [Makefile:14944: configure-stage1-target-libgcc] Error 1 gmake[4]: Leaving directory '/usr/ports/lang/gcc6/work/.build' gmake[3]: *** [Makefile:21516: stage1-bubble] Error 2 gmake[3]: Leaving directory '/usr/ports/lang/gcc6/work/.build' gmake[2]: *** [Makefile:21848: bootstrap-lean] Error 2 gmake[2]: Leaving directory '/usr/ports/lang/gcc6/work/.build' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/lang/gcc6 *** Error code 1
(In reply to Rob Belics from comment #0) > See `config.log' for more details. So, what does config.log say? I bet it's some special compiler options or something you have somewhere in your environment. (In 99% of reports like this that is the case.)
I tried to find config.log but don't see it under /var/log/ Had to leave so can't look for it till tomorrow. Can someone point me to it and I might be able to check sooner.
The issue was math/mpc which was linking to an older version of math/mpfr which, I presume, was built out of order.
Thank you for following up with your findings, Rob!