Bug 828946
Summary: | hfsplus-tools FTBFS on ppc: clang: error: linker command failed with exit code 1 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Karsten Hopp <karsten> |
Component: | llvm | Assignee: | Adam Jackson <ajax> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 18 | CC: | ajax, bos, dmalcolm, michel, will_schmidt |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | ppc | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-02-05 11:59:44 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
Karsten Hopp
2012-06-05 15:27:49 UTC
Given that there's no literal assembly in that file, that's got to be a problem in the assembly clang generates. That build uses g++ so it definitely looks like a problem specific to clang. Could you try building it on Rawhide with LLVM/Clang 3.1? Given that C++ support is really broken with Clang 3.0 + GCC 4.7's libstdc++, it might be better to push an update - the Mesa maintainers seem to be OK with this and they're the most important users of LLVM right now. Still seems to be happening for f18. Well this: : /usr/bin/ld: cannot find crtbegin.o: No such file or directory /usr/bin/ld: cannot find -lgcc /usr/bin/ld: cannot find -lgcc_s clang: error: linker command failed with exit code 1 (use -v to see invocation) Actually seems to fail also on arm and s390 archs. A couple data points.. I believe this is a clang (or perhaps a clang+binutils issue) that has been fixed in newer clang releases. I can see the reported errors on a F17 base, $ clang --version clang version 3.0 (tags/RELEASE_30/final) $ rpmbuild -ba hfsplus-tools.spec ... /tmp/cache-6Kmjpo.s: Error: .size expression for CacheRead does not evaluate to a constant /tmp/cache-6Kmjpo.s: Error: .size expression for CacheLookup does not evaluate to a constant ... An rpmbuild on F18 seemed to complete successfully against upstream/trunk clang $ clang --version clang version 3.3 $ rpmbuild -ba hfsplus-tools.spec ... Wrote: /home/willschm/rpmbuild/SRPMS/hfsplus-tools-540.1.linux3-2.fc18.src.rpm Wrote: /home/willschm/rpmbuild/RPMS/ppc64/hfsplus-tools-540.1.linux3-2.fc18.ppc64.rpm I then installed the f18 clang, and that also seems to work. $ rpm -qa | grep clang clang-3.1-12.fc18.ppc64 $ rpmbuild -ba hfsplus-tools.spec ... Wrote: /home/willschm/rpmbuild/SRPMS/hfsplus-tools-540.1.linux3-2.fc18.src.rpm Wrote: /home/willschm/rpmbuild/RPMS/ppc64/hfsplus-tools-540.1.linux3-2.fc18.ppc64.rpm This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This message is a reminder that Fedora 18 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 18. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '18'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 18's end of life. Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 18 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 18's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |