On my Fedora 21 installation, I have: $ ls /usr/lib64/ccache aarch64-linux-gnu-gcc clang++ x86_64-redhat-linux-c++ c++ g++ x86_64-redhat-linux-g++ cc gcc x86_64-redhat-linux-gcc clang swig Note how I have aarch64-linux-gnu-gcc there, but NOT aarch64-linux-gnu-g++. I do have the latter compiler installed on my system: $ rpm -qf /usr/bin/aarch64-linux-gnu-g++ gcc-c++-aarch64-linux-gnu-4.9.1-1.fc21.1.x86_64 The lack of this link in /usr/lib64/ccache is causing my aarch64 C++ compilations not to be cached (while C compilations are). Something should have created this link - either the "ccache" package, or the "aarch64-linux-gnu-g++" package.
Looks like we're not installing any cross-gcc c++ package triggers, and are missing some gcc ones as well. Will fix in the next package revision.
ccache-3.2.2-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/ccache-3.2.2-1.fc22
Package ccache-3.2.2-1.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ccache-3.2.2-1.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-7998/ccache-3.2.2-1.fc22 then log in and leave karma (feedback).
ccache-3.2.2-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.