What steps will reproduce the problem?
1. CC="ccache gcc" ./make.bash
What is the expected output?
Successful compilation
What do you see instead?
ccache: invalid option -- 'o'
...
go tool dist: FAILED: ccache -o ...
Which compiler are you using (5g, 6g, 8g, gccgo)?
8g
Which operating system are you using?
Linux
Which revision are you using? (hg identify)
96bd78e7d35e weekly/weekly.2012-02-22
Please provide any additional information below.
It should be "ccache gcc -o ..." instead of "ccache -o ....".