Created attachment 893730 [details] ldforcele patch Nick Clifton asked me to formalize this request in a bugzilla for record keeping purposes. We would like to add two changes to the rawhide binutils spec to make it ppc64le ready. One is to conditionally add an additional target for the ppc64le linker. This is currently needed to build grub2 on ppc64le. case %{binutils_target} in ppc64le*) CARGS="$CARGS --enable-targets=powerpc-linux" ;; The second is to add a patch (provided) that through a simple environment variable will allow the linker to respond to configure scripts with the correct information about shared library support. When the configure scripts are trying to determine if shared libraries can be generated, it has a check for ppc64* as a whole, setting the LD option to `ld -m elf64ppc' (instead of `ld -m elf64lppc' on LE). This allows us to time to "fix" libtool related information that is embedded in configure scripts. As part of adding this script, we concur to the following: 1. The patch will be removed after F21 and any remaining packages will be fixed. 2. The patch will be applied conditionally to the ppc64le arch only.
Hi Brent, binutils-2.24-14.fc21 now contains your patches - please give it a try. Cheers Nick
Nick, It built nicely and I will test it today. http://ppc-le.koji.fedoraproject.org/koji/taskinfo?taskID=14776
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22