checking whether build environment is sane... checking for C compiler default output file name... configure: error: in `/var/tmp/portage/sys-devel/gcc-4.9.4/work/build/fixincludes': configure: error: C compiler cannot create executables See `config.log' for more details. make[1]: *** [Makefile:3368: configure-fixincludes] Error 1 make[1]: *** Waiting for unfinished jobs.... configure: creating cache ./config.cache
Created attachment 504704 [details] build log
Created attachment 504706 [details] more logs
Created attachment 504708 [details] emerge --info
Surprise... xgcc: error: unrecognized command line option '-no-pie'
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5075159e68f93318fac08601d175c7ca2e0766ef commit 5075159e68f93318fac08601d175c7ca2e0766ef Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2017-11-19 13:40:16 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2017-11-19 13:40:34 +0000 sys-devel/gcc: Fix build of gcc-4.9.4 by gcc-6.4.0, bug 638056 Solution found by Zorry Closes: https://bugs.gentoo.org/638056 Package-Manager: Portage-2.3.14, Repoman-2.3.6 sys-devel/gcc/files/gcc-4.9.4-bootstrap.patch | 66 +++++++++++++++++++++++++++ sys-devel/gcc/gcc-4.9.4.ebuild | 5 +- 2 files changed, 70 insertions(+), 1 deletion(-)