[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 |
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)
> address@hidden linux % cat foo.c
> void foo () {};
>
> address@hidden linux % cat setup.ld
> OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
> OUTPUT_ARCH(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.
- [Bug gold/19197] New: gold trunk cannot build LInux kernel, markus at trippelsdorf dot de, 2015/11/01
- [Bug gold/19197] gold trunk cannot build LInux kernel, markus at trippelsdorf dot de, 2015/11/01
- [Bug gold/19197] gold trunk cannot build LInux kernel, markus at trippelsdorf dot de, 2015/11/01
- [Bug gold/19197] gold trunk cannot build LInux kernel, markus at trippelsdorf dot de, 2015/11/01
- [Bug gold/19197] gold trunk cannot build LInux kernel, markus at trippelsdorf dot de, 2015/11/01
- [Bug gold/19197] gold trunk cannot build LInux kernel,
hjl.tools at gmail dot com <=
- [Bug gold/19197] gold trunk cannot build LInux kernel, markus at trippelsdorf dot de, 2015/11/02
- [Bug gold/19197] gold trunk cannot build LInux kernel, hjl.tools at gmail dot com, 2015/11/02
- [Bug gold/19197] gold trunk cannot build LInux kernel, markus at trippelsdorf dot de, 2015/11/03
- [Bug gold/19197] gold trunk cannot build LInux kernel, luto at amacapital dot net, 2015/11/03
- [Bug gold/19197] gold trunk cannot build LInux kernel, cvs-commit at gcc dot gnu.org, 2015/11/05
- [Bug gold/19197] gold trunk cannot build LInux kernel, andi at firstfloor dot org, 2015/11/05
- [Bug gold/19197] gold trunk cannot build LInux kernel, markus at trippelsdorf dot de, 2015/11/19