This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 0/4] Fixes for support for 'ld --build-id' to pe/coff
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Nicholas Clifton <nickc at redhat dot com>
- Cc: Jon TURNEY <jon dot turney at dronecode dot org dot uk>, binutils at sourceware dot org
- Date: Wed, 25 Jun 2014 14:04:48 +0200
- Subject: Re: [PATCH 0/4] Fixes for support for 'ld --build-id' to pe/coff
- Authentication-results: sourceware.org; auth=none
- References: <1397151908-4336-1-git-send-email-jon dot turney at dronecode dot org dot uk> <20140416153934 dot GA6431 at ednor dot casa dot cgf dot cx> <537224C9 dot 4040501 at dronecode dot org dot uk> <5376228B dot 1040303 at redhat dot com>
Hello Nick,
On Fri, 16 May 2014 16:36:59 +0200, Nicholas Clifton wrote:
> Oops - very sorry for dropping the ball on these patches. I have now
> checked them in (all 4).
since this patch on i686 host (that is without --enable-64-bit-bfd):
./configure --enable-targets=all;make
will fail with:
ei386pep.c:(.text+0x1fe1): undefined reference to `_bfd_pex64i_swap_debugdir_out'
ei386pep.c:(.text+0x20a7): undefined reference to `_bfd_pex64i_write_codeview_record'
collect2: error: ld returned 1 exit status
Makefile:1031: recipe for target 'ld-new' failed
It happens since:
61e2488cd8497d158303a78563ad40f51f5c3f8e is the first bad commit
commit 61e2488cd8497d158303a78563ad40f51f5c3f8e
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date: Tue Apr 8 10:59:43 2014 +0100
Add support for generating and inserting build IDs into COFF binaries.
Similar failure for different targets has been fixed recently by:
[PATCH] bfd/targets: create elf64 selvecs only if 64-bit bfd support is enabled.
https://sourceware.org/ml/binutils/2014-06/msg00176.html
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=886aba9eff0eba428e634f579e8999b67da01b57
Jan