https://sourceware.org/bugzilla/show_bug.cgi?id=19985
Bug ID: 19985 Summary: ld/configure.tgt: enable BE support for ppc64le Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: lenohou at gmail dot com Target Milestone: --- Sorry, We described details in Gentoo Bugzilla#580614. 1) When use CHOST="powerpc64le-unknown-linux-gnu" to build binutils. there is no biarch support.See current supported emulations leno@localhost ~ $ powerpc64le-unknown-linux-gnu-ld -V GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 Supported emulations: elf64lppc elf32lppc elf32lppclinux elf32lppcsim But we want elf64ppc for building grub2. If we there is no elf64ppc emulation, we can't compiling grub2 and grub2-install for ppc64le platform. 2) Following are the emulations what we want leno@localhost ~ $ powerpc64le-unknown-linux-gnu-ld -V GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 Supported emulations: elf64lppc elf32lppc elf32lppclinux elf32lppcsim elf32ppclinux elf32ppc elf32ppcsim elf64ppc 3) We found that --enable-targets=all make on sense to build the above emulations what we want, Workaround solution is --enable-targets="powerpc-linux-gnu" built the targets we want. But, there is no other arch-specific handling like this. Instead, binutils itself handles things by selecting a default set of supported targets based on the active host.and when i glance in there, ld/configure.tgt: powerpc*-*-elf* | powerpc*-*-eabi* | powerpc*-*-sysv* \ | powerpc*-*-linux* | powerpc*-*-netbsd* | powerpc*-*-openbsd* \ | powerpc*-*-solaris* | powerpc*-*-kaos* | powerpc*-*-vxworks*) case "${targ}" in *64*) targ_emul=elf64ppc targ_extra_emuls="elf32ppc elf32ppclinux elf32ppcsim" targ_extra_libpath="elf32ppc elf32ppclinux" td=tdir_elf32ppc case "${targ}" in powerpc*le-*) td=tdir_elf32lppc;; esac eval ${td}=`echo "${targ_alias}" | sed -e 's/64//'` eval ${td}linux=\$${td} eval ${td}sim=\$${td} ;; seems there is big-endian support for powerpc64le-unknown-linux-gnu -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils