Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79964 - PATCH: gcc-config kills /lib/cpp with its wrapper
Summary: PATCH: gcc-config kills /lib/cpp with its wrapper
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: High major
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-29 09:14 UTC by devsk
Modified: 2005-03-16 15:50 UTC (History)
0 users

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


Attachments
copy wrapper onto /lib/cpp only for non-solaris systems (gcc-config-1.3.8-solaris.patch,803 bytes, patch)
2005-01-29 09:16 UTC, devsk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description devsk 2005-01-29 09:14:42 UTC
gcc-config when switching profiles, overwrites /lib/cpp on all systems. This kills imake dependent apps on solaris because solaris imake doesn't like GCC cpp, although gcc doesn't dislike solaris cpp. The attached patch overwrites /lib/cpp only for all non-solaris CHOSTs.

Reproducible: Always
Steps to Reproduce:
1. emerge gcc-config
2. /lib/cpp is overwritten
3. emerge kdebase fails with imake errors because the cpp has changed.

Actual Results:  
imake dependent package installs fail.

Expected Results:  
imake dependent package installs should work.
Comment 1 devsk 2005-01-29 09:16:20 UTC
Created attachment 49842 [details, diff]
copy wrapper onto /lib/cpp only for non-solaris systems

it should apply cleanly to 1.3.9 as well.
Comment 2 SpanKY gentoo-dev 2005-01-30 01:41:13 UTC
what tuples does solaris use ?  could you give me a few examples ?
Comment 3 devsk 2005-01-30 11:52:32 UTC
some common ones I have seen are e.g. i[36]86-pc-solaris2, sparc-sun-solaris2.9, sparc64-sun-solaris2.9
Comment 4 SpanKY gentoo-dev 2005-03-16 15:50:50 UTC
erm, forgot about this bug

added to cvs, no rev bump