Package: binutils Version: 2.22-6 Severity: normal I tried to build xen 4.2 from source on uefi system, xen.efi build fails with this error: ld: unrecognised emulation mode: i386pep Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 i386linux elf_l1om elf_k1om
I posted to xen-devel mailing-list, I found that i386pep emulation is on binutils-mingw-w64 package but to use mingw-w64 ld instead is not correct, that is the complete reply ab$ > Setting LD can be done on the make command line (you shouldn't > modify any sources for this). I don't think, however, that using a > mingw targeting binary will work, as the *same* ld will be used to > link the normal ELF executable (ending up as xen.gz). You should > use a Linux linker (i.e. defaulting to ELF) that *also* supports > i386pep. (Building binutils is, btw, a pretty simple process, so I > don't see why you're not just doing that - all customization you > need is adding "--enable-targets=x86_64-pep" to the configure > script invocation command line.) I think that adding "--enable-targets=x86_64-pep" would solve this problem and possibly others. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/8 CPU cores) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages binutils depends on: ii libc6 2.13-32 ii libgcc1 1:4.7.0-8 ii libstdc++6 4.7.0-8 ii zlib1g 1:1.2.7.dfsg-1 binutils recommends no packages. Versions of packages binutils suggests: pn binutils-doc <none> -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org