This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] --enable-linker-build-id by default


On 10/05/2010 07:09 AM, Roland McGrath wrote:
It benefits all of us to have as many user binaries as possible built
with build IDs.  Any time a user has a binary or a core file and one
of us is asked to help figure out some problem, we can take advantage
of the possibilities to match up build IDs with known binaries.  Many
system builders for GNU/Linux are enabling them now, but there will
always be some system builders who don't know to do so, and people and
organizations that build their own compilers with mostly-default
configure settings, and we still wind up having to help these people.
There is nothing inherently specific to GNU/Linux about the benefits
of build IDs, so this applies to any other target just as well when
the target's linker supports it.

Let's make it the default for everyone who doesn't ask especially not
to have it at configure time, when the configure-time linker supports it.

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.


Can you check and commit it for Roland if it is fine, or otherwise work out together something that will work?

Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]