You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ....".
The text was updated successfully, but these errors were encountered:
This is an issue with cmd/dist.
Currently the behavior is to append the other arguments in CC (["gcc"], in this case)
/after/ "-o xyz". At build.c:633
vadd(&link, gccargs.p[0]);
vadd(&link, "-o");
vadd(&link, bpathf(&b, "%s/%s%s", tooldir, name, exe));
vcopy(&link, gccargs.p+1, gccargs.len-1);http://golang.org/cl/5700044
I have a CL to change this at http://golang.org/cl/5700044, but it may break
some other wanted behavior. Perhaps we should pay attention to CFLAGS?
The text was updated successfully, but these errors were encountered: