Open llvmbot opened 11 years ago
Ten days after this issue was created, commit https://github.com/llvm/llvm-project/commit/50ba983d25c0885745bd0502ecc03e65f408440e added "armv7hl-redhat-linux-gnueabi"
to ARMHFTriples
as the issue suggests. The issue claims that ppc64-redhat-linux is not supported, but "ppc64-redhat-linux"
was added to PPC64Triples
by https://github.com/llvm/llvm-project/commit/4a4932c29bcd9b6638f6bebda9453703e9b69bd7, which was present in 3.2 which is the version of Clang the issue was opened with. It doesn't look like "armv5tel-redhat-linux"
ever made it into ARMTriples
as the issue suggests.
The issue https://github.com/llvm/llvm-project/issues/15929 mentions the armv7hl-redhat-linux-gnueabi triple. The author says that support is "half-baked" and claims to "have heard that there is an intention to rework the entire LLVM triplet code". If this is no longer a problem then these can both be closed. If this is still a problem, these issues are similar enough that they could potentially be consolidated.
Sorry for bumping this without a clear path forward, hopefully someone who knows more about this than I do can comment.
@widberg Nice job doing the archeology and finding related issue! Can you also annotate code in descriptions with markdown? Old markup has been butchered during migration from bugzilla.
I have noticed the screwy code blocks. However, I cannot edit the issues as I am not a contributor.
Note: Variables like ARMTriples
are now at Generic_GCC::GCCInstallationDetector::CollectLibDirsAndTriples(
. I have a comment there that we should not hard code new target triples there.
Extended Description
Clang on Fedora ARM does not work well because clang does not recognize the Fedora ARM triplets and fallback to software floating point, causing build failures like this:
See this Fedora ARM bug: https://bugzilla.redhat.com/show_bug.cgi?id=803433
Earlier I tried a simple naive patch like:
but it was not sufficient - maybe fixes are also needed to on the llvm side, perhaps?
(Similarly ppc64-redhat-linux is also not supported.)