Red Hat Bugzilla – Bug 1290657
Cross binutils for powerpc lacks little-endian targets
Last modified: 2015-12-11 00:14:18 EST
Description of problem:
Although powerpc is traditionally a big-endian architecture, CPUs have actually supported both endian modes for some time. At least on IBM servers, little-endian is now the encouraged mode of operation.
However, the cross binutils for powerpc targets only includes the emulations for big-endian powerpc.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. $ powerpc64-linux-gnu-ld -V
$ powerpc64-linux-gnu-ld -V
GNU ld version 2.25-5.fc23
Something closer to the output on a native ld on a ppc64le system:
$ uname -a
Linux ibm-p8-virt-01.lab.bos.redhat.com 3.10.0-334.el7_BZ1287474test2.ppc64le #1 SMP Tue Dec 8 13:11:56 EST 2015 ppc64le ppc64le ppc64le GNU/Linux
$ ld -V
GNU ld version 22.214.171.124.1-55.el7 20130226
Sorry, never mind.
Looks like a fix is already there in brew, just hasn't made it to the repositories yet.
Given that powerpc native binutils is configured to include both BE and LE targets, it's not clear that having separate cross-binutils packages for BE and LE targets is the best choic, though.