bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/19109] Cannot configure default flag_compress_debug


From: hjl.tools at gmail dot com
Subject: [Bug gas/19109] Cannot configure default flag_compress_debug
Date: Tue, 13 Oct 2015 15:09:03 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=19109

--- Comment #16 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Nick Clifton from comment #15)
> Hi H.J.
> 
> (In reply to H.J. Lu from comment #14)
> > I'd like to see a plan and a timeline how we move forward with this.
> 
> OK, how about this:
> 
>   1. We apply the patch, change the default to all targets back to 
>      not compressing debug sections.  You add a patch to your binutils
>      releases that re-enables compressed debug sections by default for
>      x86/x86_64 linux targets.
> 
>      If there are any bug reports about problems with compressed debug
>      sections we fix them as a matter of priority.

Do valgrind and libbacktrace support compressed debug sections? Do we have
a plan to address those tools which read debug sections in shared library
and executable?

>   2. After the next major binutils release (2.26) we change the default
>      to be compressed debug sections.  We add an entry in the gas and ld
>      NEWS files about this (noting how the default can also be changed
>      by a configure option).  Linux distro maintainers who use the
>      development binutils sources will doubtless complain to us if they
>      find problems with this change.  If we can fix them, we do so,
>      otherwise we revert the change on a per-target basis.

I assume compression will only be turned on by default for Linux targets,
not all ELF targets nor non-ELF targets.

>   3. For the problem targets we maintain an eye on the issues, helping
>      where we can, with the objective of having every major target
>      supporting compressed debug sections by the time that 2.27 is
>      released.
> 
> Does this sound OK ?

My only concern is when we turn on compression by default in linker,
we will run into problems if we don't fix those tools which read debug
sections in shared library and executable.  We need a way to make it
less painful to enable compression support in those tools.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]