Bug 1205187

Summary: ccache not enabled for aarch64 C++ cross compiler
Product: [Fedora] Fedora Reporter: Nadav Har'El <nyh>
Component: ccacheAssignee: Ville Skyttä <ville.skytta>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ccache-3.2.2-1.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-26 03:51:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nadav Har'El 2015-03-24 12:26:24 UTC
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.

Comment 1 Ville Skyttä 2015-04-01 14:22:03 UTC
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.

Comment 2 Fedora Update System 2015-05-11 06:50:06 UTC
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

Comment 3 Fedora Update System 2015-05-11 19:09:18 UTC
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).

Comment 4 Fedora Update System 2015-05-26 03:51:52 UTC
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.