Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638056 - sys-devel/gcc-4.9.4 fails to build with sys-devel/gcc-6.4.0
Summary: sys-devel/gcc-4.9.4 fails to build with sys-devel/gcc-6.4.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-18 21:34 UTC by Andreas K. Hüttel
Modified: 2017-11-19 13:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log.bz2,198.38 KB, application/x-bzip)
2017-11-18 21:36 UTC, Andreas K. Hüttel
Details
more logs (gcc-build-logs.tar.bz2,297.30 KB, application/x-bzip)
2017-11-18 21:36 UTC, Andreas K. Hüttel
Details
emerge --info (emerge-info.txt,14.40 KB, text/plain)
2017-11-18 21:36 UTC, Andreas K. Hüttel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Hüttel archtester gentoo-dev 2017-11-18 21:34:00 UTC
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
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2017-11-18 21:36:08 UTC
Created attachment 504704 [details]
build log
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2017-11-18 21:36:23 UTC
Created attachment 504706 [details]
more logs
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2017-11-18 21:36:37 UTC
Created attachment 504708 [details]
emerge --info
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2017-11-18 21:38:29 UTC
Surprise...

xgcc: error: unrecognized command line option '-no-pie'
Comment 5 Larry the Git Cow gentoo-dev 2017-11-19 13:40:44 UTC
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(-)