#4858 kojid: arm: fix host triplet on arm builders
Closed: Fixed None Opened 9 years ago by kwizart.

= bug description =
Currently armv7 builders aren't using the appropriate host triplet because it's specific for armhfp. It should be using redhat-linux-gnueabi and not redhat-linux-gnu like others arches.

= bug analysis =
armhfp (hard floating point) architecture is using GNU Extended ABI to differenciate from previous armv7 softfp/soft GNU one.

= fix recommendation =
Currently, the fedora infrastructure doesn't maintain this old arm 32bit abi so we can assume every koji arm* builders to use this "new" ABI.

Also, aarch64 builders are using another aarch64 prefix for the name which this patch handles right since aarch64 is using redhat-linux-gnu.

This patch should have limited or no impact to most gcc based packages because gcc knowns the %{_host} triplet for itself. But it will fix llvm/clang build usability which rely on the appropriate host triplet to interface with gcc.

This was tested with llvm 3.5.2/3.6.2 to build mesa with clang.


as discussed in person at flock, there is a reason it is done as it is. there happens to be many bugs in llvm around triplet handling.

Log in to comment on this ticket.

Metadata