Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ccache does not handle -fstack-usage #91

Closed
vapier opened this issue May 27, 2016 · 1 comment
Closed

ccache does not handle -fstack-usage #91

vapier opened this issue May 27, 2016 · 1 comment
Labels
new compiler behavior New compiler behavior not handled correctly
Milestone

Comments

@vapier
Copy link
Contributor

vapier commented May 27, 2016

gcc's -fstack-usage flag will output a .su file alongside the object. when using ccache, that file is lost :(.

in the example below, note that there is no test.su file when using ccache:

$ echo 'int main(){return 0;}' > test.c
$ /usr/bin/gcc test.c -fstack-usage -c
$ ls test.*
test.c  test.o  test.su
$ rm test.o test.su
$ ccache gcc test.c -fstack-usage -c
$ ls test.*
test.c  test.o
@jrosdahl
Copy link
Member

jrosdahl commented Jun 9, 2016

Thanks, fixed in 5af36c1.

@jrosdahl jrosdahl closed this as completed Jun 9, 2016
@jrosdahl jrosdahl added the bug Does not work as intended/documented label Jun 11, 2016
@jrosdahl jrosdahl added this to the 3.2.6 milestone Jan 6, 2019
@jrosdahl jrosdahl added new compiler behavior New compiler behavior not handled correctly and removed bug Does not work as intended/documented labels Jan 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new compiler behavior New compiler behavior not handled correctly
Projects
None yet
Development

No branches or pull requests

2 participants