Bug 377761
Summary: | icecream breaks when ccache is installed | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michal Schmidt <mschmidt> |
Component: | icecream | Assignee: | Michal Schmidt <mschmidt> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | davidmaxwaterman, dhaval.giani, jhparizona |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-11-28 09:24:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Michal Schmidt
2007-11-12 13:56:39 UTC
icecream-0.8.0-5.20071101svn.fc9 prevents the recursive invocation - only ccache is used if both are installed. Having ccache and icecream cooperate requires a small modification in ccache. This bug still seems to be current. Any clues on how to make these two products work together? Max, does it mean you're seeing the message "icecream seems to have invoked itself recursively"? What versions of ccache and icecream do you have? How does your $PATH look like? I don't usually use ccache, but I've installed it now and it seems icecream and ccache work fine here together. OK, I'm clearing the needinfo flag and leaving this bug CLOSED. Max was just confused, he does not use Fedora. I can see the same issue on F12. If I remove ccache from the PATH things work, else icecc fails with the same error. (In reply to comment #5) > I can see the same issue on F12. If I remove ccache from the PATH things work, > else icecc fails with the same error. What exact versions do you have installed?: rpm -q icecream ccache How does your PATH look after login?: echo $PATH [dhaval@gondor ~]$ rpm -q icecream ccache icecream-0.9.4-5.fc12.x86_64 ccache-2.4-16.fc12.x86_64 and I do export PATH=/usr/lib64/icecc/bin:$PATH as menmtioned in man icecc [dhaval@gondor ~]$ echo $PATH /usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/sbin:/usr/sbin:/sbin:/home/dhaval/bin I see. icecream+ccache only work right if ccache precedes icecream in PATH. Normally PATH is set automatically for you by the profile script /etc/profile.d/icecream.sh - it takes care to put icecream after ccache if it finds it there. It's hacky, but it works for me. I wonder why the profile script did not put /usr/lib64/icecc/bin into PATH for you. I too am having the same problem on FC16 Based on the above comments here are the versions and $PATH icecream-0.9.6-4.fc16.x86_64 ccache-3.1.7-1.fc16.x86_64 echo $PATH /usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/lib64/icecc/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin And here is the error in Code::Blocks ICECC[23563] 11|12|icecream seems to have invoked itself recursively!| However, the command gcc --version works fine so .... maybe a Code::Blocks problem. gcc --version gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2) Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Code::Blocks version is: rpm -q codeblocks codeblocks-10.05-5.fc15.x86_64 Update: Is a Code::Blocks problem. Although the path has ccache before icecc, Code::Blocks auto detect gcc compiler ALWAYS selects /usr/lib64/icecc, manually selecting /usr/lib64/ccache solves the problem. |