[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/19197] gold trunk cannot build LInux kernel

From: hjl.tools at gmail dot com
Subject: [Bug gold/19197] gold trunk cannot build LInux kernel
Date: Mon, 02 Nov 2015 13:26:28 +0000


--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Markus Trippelsdorf from comment #2)
> address@hidden linux % cat foo.c
> void foo () {};
> address@hidden linux % cat setup.ld
> OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
> address@hidden linux % ld.bfd -m elf_x86_64 -T setup.ld foo.o

What does "readelf -h a.out" say here?

> address@hidden 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]