Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15889 - GCC binary in /usr/bin unable to compile C++ for some ebuilds
Summary: GCC binary in /usr/bin unable to compile C++ for some ebuilds
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-17 21:45 UTC by Brad Laue (RETIRED)
Modified: 2003-02-19 18:26 UTC (History)
2 users (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 Brad Laue (RETIRED) gentoo-dev 2003-02-17 21:45:56 UTC
It seems that while /usr/bin/cpp properly points to the cpp indicated in
gcc-config --get-bin-path, /usr/bin/gcc is not.

This causes a build failure for cups, among others (fam). Where cups begins
compiling .cxx files, GCC then returns an error stating that a C++ compiler has
not been installed on this system. The ebuild of cups then fails to complete
succesfully.

This has been tested with gcc 2.95-3-r8 on a fresh Gentoo 1.2 install.

Reproducible: Always
Steps to Reproduce:
1. emerge cups
2.
3.

Actual Results:  
CUPS fails to compile


As a test, I symlinked the gcc binary present in the bin-path for the current
compiler profile set by gcc-config to /usr/bin/gcc, after having backed up the
original binary.

This caused cups to succesfully compile. I presume that if /usr/bin/gcc were
there fore replaced with a wrapper in similar fashion to /usr/bin/cpp, this
issue would be resolved.
Comment 1 SpanKY gentoo-dev 2003-02-17 21:54:06 UTC
update gcc-config to 1.3.1 or later 
Comment 2 Brad Laue (RETIRED) gentoo-dev 2003-02-17 22:06:12 UTC
This corrects the issue.

However this package is marked testing and is not installed by default during emerge system. Can this package be made stable?
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2003-02-18 03:10:36 UTC
Az, I've been pimping the 1.3.1 version for many weeks now, and heard nothing negative about it.  I'm unmasking, k?
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-19 18:26:00 UTC
Yep, wanted to do it for ages, but just never got to it, thanks!