Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36988 - emerge gradm fails if CC is not defined
Summary: emerge gradm fails if CC is not defined
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-01 19:50 UTC by Seth Robertson
Modified: 2004-01-27 17:36 UTC (History)
1 user (show)

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 Seth Robertson 2004-01-01 19:50:44 UTC
You cannot emerge gradm if CC is not in your environment

Reproducible: Always
Steps to Reproduce:
1.unset CC
2.emerge gradm


Actual Results:  
Fail

Expected Results:  
emerge
Comment 1 SpanKY gentoo-dev 2004-01-01 19:56:58 UTC
i believe the correct way of doing it is:
inherit gcc
$(gcc-getCC)
Comment 2 solar (RETIRED) gentoo-dev 2004-01-02 12:27:51 UTC
updated in portage tree. Please rsync and re emerge then report results here so I can add the same logic for gradm2 and other ebuilds if needed.

I've also added a check for gcc revisions and ssp as ssp is known 
to break when used with static linking in gcc-3.3.{1,2}-r[1-5]

SpanKY,
Please review changes and make further suggestions if needed.
Comment 3 SpanKY gentoo-dev 2004-01-02 20:31:55 UTC
the only thing hotter than your fix is you Nedd, thanks
Comment 4 solar (RETIRED) gentoo-dev 2004-01-27 17:36:58 UTC
no new reports so I'm changing resolution to FIXED