with gcc-4.1.2-28 and ccache-2.4-10.fc8 installed, the following command
env -i PATH=$PATH gcc -v
ltrace reveals the following:
getenv("HOME") = NULL
exit(1 <unfinished ...>
After removing ccache, everything works as expected.
Thanks for the report, applied fix from upstream CVS in ccache-2.4-11 which also
makes ccache at least output an error message to stderr if it still fails to get
the home dir for some reason.
ccache-2.4-19.el5 has been submitted as an update for Fedora EPEL 5.
ccache-2.4-19.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.