https://sourceware.org/bugzilla/show_bug.cgi?id=19197
--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Markus Trippelsdorf from comment #2) > markus@x4 linux % cat foo.c > void foo () {}; > > markus@x4 linux % cat setup.ld > OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386") > OUTPUT_ARCH(i386) > > markus@x4 linux % ld.bfd -m elf_x86_64 -T setup.ld foo.o What does "readelf -h a.out" say here? > markus@x4 linux % ld.gold -m elf_x86_64 -T setup.ld foo.o > ld: error: input file is incompatible with elf_x86_64 output emulation What if you remove "-m elf_x86_64" here for both ld.gold and ld.bfd? -- 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