Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 615410 - Logic to support RHEL gcc in stage1 causes stage2 to be skipped
Summary: Logic to support RHEL gcc in stage1 causes stage2 to be skipped
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-13 04:12 UTC by Peter Foley
Modified: 2017-04-13 07:31 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Foley 2017-04-13 04:12:56 UTC
If the check on line 1260 of bootstrap-prefix.sh triggers:
 "[[ $(gcc -print-prog-name=as),$(gcc -print-prog-name=ld) != /*,/* ]]"

Then $EPREFIX/tmp/usr/bin/gcc is created, which causes the check on line 2435 "-x ${EPREFIX}/tmp/usr/bin/gcc" to succeed, and stage2 to not be built, causing a compile error with stage3 gmp.

chmod 755 "${ROOT}"/tmp/usr/bin/g{cc,++}
Comment 1 Michael Haubenwallner (RETIRED) gentoo-dev 2017-04-13 07:31:47 UTC
Fixed in https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=ec639d38c508fdcc1536f358ecb63b65c7c0a510

Thanks a lot for the analysis!