This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] --enable-linker-build-id by default
- From: Roland McGrath <roland at redhat dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: Alexandre Oliva <aoliva at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 5 Oct 2010 12:37:07 -0700 (PDT)
- Subject: Re: [PATCH] --enable-linker-build-id by default
- References: <20101005050958.3841D401B2@magilla.sf.frob.com> <4CAB37D5.2040105@gnu.org>
> Alex, can this do something bad to bootstrap-debug? I wonder if having
> different -g settings for stage2 and stage3 would cause different build
> IDs and ultimately cause a comparison script.
Different output of any kind (including DWARF and symbol tables) in the
final linked binaries will produce different build IDs, yes. It should be
easy enough to ignore those in comparisons. IIRC there is some similar
situation already for ignoring timestamps or something, but I don't really
know where all the comparison stuff is.
Thanks,
Roland