[Bug gas/19109] Cannot configure default flag_compress_debug

2022-09-30 Thread mliska at suse dot cz
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #42 from Martin Liska --- (In reply to Martin Liska from comment #41) > (In reply to Fangrui Song from comment #40) > > If binutils adds zstd (PR29397), the option > > --enable-compressed-debug-sections= needs to be adjusted:) > >

[Bug gas/19109] Cannot configure default flag_compress_debug

2022-09-30 Thread mliska at suse dot cz
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 Martin Liska changed: What|Removed |Added CC||mliska at suse dot cz --- Comment #41

[Bug gas/19109] Cannot configure default flag_compress_debug

2022-09-14 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #40 fr

[Bug gas/19109] Cannot configure default flag_compress_debug

2022-07-29 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 Alan Modra changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-22 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #38 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4894d80b508ad2626eb2cfd23cfcb5635cdf7442 commit 4894d80b508ad2626eb2cfd23cfcb56

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-21 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #32 from Nick Clifton --- Hi H.J. I have checked in a supplimentary patch. This does three things: * It default x86 Linux gas to not compressing debug sections. This was the whole point of this PR. We can enable compres

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-21 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #34 from Nick Clifton --- Hi H.J. > The new configure change between topevel and gas/ld is inconsistent. > Toplevel configure has > > --enable-compressed-debug-sections={all,gas,gold,ld,none} > > and gas/ld has --enable-compress

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #37 from H.J. Lu --- (In reply to Nick Clifton from comment #36) > Hi H.J. > > > Should --enable-compressed-debug-sections=ld,gas work? > > As opposed to --enable-compressed-debug-sections=all ? Hmm, yes I guess > that it shoul

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-21 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #36 from Nick Clifton --- Hi H.J. > Should --enable-compressed-debug-sections=ld,gas work? As opposed to --enable-compressed-debug-sections=all ? Hmm, yes I guess that it should. Although it will make parsing this option trick

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #35 from H.J. Lu --- (In reply to Nick Clifton from comment #34) > Hi H.J. > > > The new configure change between topevel and gas/ld is inconsistent. > > Toplevel configure has > > > > --enable-compressed-debug-sections={all,gas

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-21 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #31 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6c3bc0f82c625d425b09c01f96b64946abe4118e commit 6c3bc0f82c625d425b09c01f96

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-20 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Version|unspecified

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-20 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #26 from Nick Clifton --- Hi H.J. > A patch to add > > --enable-compressed-debug-sections={all,gas,gold,ld} > Enable compressed debug sections for gas, gold or ld > by default Before the patch goes in

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-20 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #27 from H.J. Lu --- (In reply to Nick Clifton from comment #26) > Hi H.J. > > > A patch to add > > > > --enable-compressed-debug-sections={all,gas,gold,ld} > > Enable compressed debug sections for gas,

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-20 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #29 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=edeefb679201858453502e21446d7a65fedeaf0e commit edeefb679201858453502e21446d7a6

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-20 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #28 from Nick Clifton --- OK - please apply your patch. Cheers Nick -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-bin

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-19 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #25 from H.J. Lu --- A patch is posted at https://sourceware.org/ml/binutils/2015-10/msg00165.html -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-19 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #24 from H.J. Lu --- Created attachment 8729 --> https://sourceware.org/bugzilla/attachment.cgi?id=8729&action=edit A patch A patch to add --enable-compressed-debug-sections={all,gas,gold,ld} Enable

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-19 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #23 from H.J. Lu --- (In reply to Nick Clifton from comment #22) > Hi H.J. > > > How about --enable-assembler-compressed-debug-sections or > > --enable-compressed-debug-sections-in-assembler? > > Either is OK, but ... if we agree

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-19 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #22 from Nick Clifton --- Hi H.J. > How about --enable-assembler-compressed-debug-sections or > --enable-compressed-debug-sections-in-assembler? Either is OK, but ... if we agree that we should also being configuring the linker

Re: [Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-19 Thread Nick Clifton
Hi H.J. How about --enable-assembler-compressed-debug-sections or --enable-compressed-debug-sections-in-assembler? Either is OK, but ... if we agree that we should also being configuring the linker to also generate compressed debug sections by default, then it would make sense to just have o

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-19 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #21 from H.J. Lu --- (In reply to H.J. Lu from comment #19) > Please rename --enable-compressed-debug-sections to make it clear that > it is only for assembler, not linker. How about --enable-assembler-compressed-debug-sections or

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-19 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #20 from Nick Clifton --- Right - I have checked my patch in. H.J. - if you add a patch like this to your sources then x86/x86_64 linux targets will again default to compressing debug sections: diff --git a/gas/configure.ac b/gas

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-19 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #19 from H.J. Lu --- (In reply to cvs-com...@gcc.gnu.org from comment #18) > The master branch has been updated by Nick Clifton : > > https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git; > h=e12fe5554c3b70139f68e33ded9e2a8075

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-19 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #18 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e12fe5554c3b70139f68e33ded9e2a8075b9d484 commit e12fe5554c3b70139f68e33ded

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-14 Thread mjw at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #17 from Mark Wielaard --- That does sound like a good plan for the assembler (lets do a separate discussion about the linker). I do like to see a way for os/target to evaluate the risks/costs/benefits before enabling the default

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #16 from H.J. Lu --- (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 a

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-13 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #15 from Nick Clifton --- 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

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #14 from H.J. Lu --- (In reply to Nick Clifton from comment #13) > (In reply to Mark Wielaard from comment #12) > > > Agreed. Looking at that thread the unconditional enabling was somewhat > > controversial. Could we make it a ta

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-13 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #13 from Nick Clifton --- (In reply to Mark Wielaard from comment #12) > Agreed. Looking at that thread the unconditional enabling was somewhat > controversial. Could we make it a target independent configure option that > is off

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-13 Thread mjw at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #12 from Mark Wielaard --- (In reply to jos...@codesourcery.com from comment #11) > On Mon, 12 Oct 2015, sch...@linux-m68k.org wrote: > > > I'd expect the option's default to be os-dependent, not arch-dependent. > > I agree, as I

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-12 Thread joseph at codesourcery dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #11 from joseph at codesourcery dot com --- On Mon, 12 Oct 2015, sch...@linux-m68k.org wrote: > I'd expect the option's default to be os-dependent, not arch-dependent. I agree, as I said in

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-12 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #10 from Andreas Schwab --- I'd expect the option's default to be os-dependent, not arch-dependent. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-12 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #9 from H.J. Lu --- Yes, I'd like to see compression is on by default for both gas and ld. It will take a long time to get other tools to understand compressed DWARF sections. But we have to start from somewhere. I chose to enable

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-12 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #8 from Nick Clifton --- Hi Mark, > Is there anything target specific about compressed debug sections? Yes and no. If the ABI for a given target does not support compressed debug sections then technically they might be consider

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-12 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #7 from H.J. Lu --- (In reply to Mark Wielaard from comment #5) > (In reply to H.J. Lu from comment #1) > > 1. What are those affected tools? Will they be fixed? When? > > I don't believe any non-binutils tools handle gabi compres

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-12 Thread mjw at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #6 from Mark Wielaard --- (In reply to Nick Clifton from comment #4) > Here is a patch that adds a configure option: > --enable-default-compressed-debug-sections=[yes|no]. This option defaults > to "no" for all targets except x8

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-12 Thread mjw at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #5 from Mark Wielaard --- (In reply to H.J. Lu from comment #1) > 1. What are those affected tools? Will they be fixed? When? I don't believe any non-binutils tools handle gabi compressed elf sections yet. In particular elfutils t

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-12 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #4

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #3 from H.J. Lu --- (In reply to Matthias Klose from comment #2) > in GCC itself, libbacktrace should get support for this. How is libbacktrace affected by this? -- You are receiving this mail because: You are on the CC list for

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-11 Thread doko at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #2 from Matthias Klose --- in GCC itself, libbacktrace should get support for this. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 --- Comment #1 from H.J. Lu --- (In reply to Mark Wielaard from comment #0) > The default for flag_compress_debug is none, except for gas/config/tc-i386.c > which sets it to gabi. Since various tools cannot handle compressed debug > sections y

[Bug gas/19109] Cannot configure default flag_compress_debug

2015-10-10 Thread doko at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=19109 Matthias Klose changed: What|Removed |Added CC||doko at debian dot org,