]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[build] Refuse to attempt building with the GNU gold linker
authorMichael Brown <mcb30@ipxe.org>
Tue, 5 Apr 2011 13:59:27 +0000 (14:59 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 5 Apr 2011 13:59:27 +0000 (14:59 +0100)
commit6e6ecacebf521b5ce91d8c141ca095e180fe762f
tree60ff322b58ca7bb3498acea92bc5bc10f522783f
parent7514172b50e5bced48621ab9dfbe72491dd6d53c
[build] Refuse to attempt building with the GNU gold linker

GNU gold (part of newer binutils builds) does not appear to be
designed to support generic linker functionality, since its source
code contains several Linux-specific hard-coded assumptions about the
layout of ELF binaries.  Attempting to build iPXE using GNU gold will
generally cause some kind of "linker internal error".

Provide an explicit error message suggesting the use of GNU ld
instead.

Reported-by: Chris Hills <chaz@chaz6.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/Makefile.housekeeping