[Bug gas/15457] New: GAS should generate DW_FORM_strp when emitting debug info
http://sourceware.org/bugzilla/show_bug.cgi?id=15457 Bug #: 15457 Summary: GAS should generate DW_FORM_strp when emitting debug info Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassig...@sourceware.org ReportedBy: ppluzhni...@google.com Classification: Unclassified This is a clone from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57238 On Linux/x86_64 gcc -c -gdwarf-4 t.c generates DW_AT_comp_dir: (indirect string, offset: 0x4e): /tmp but "gcc -c -g t.s" generates DW_AT_comp_dir: /tmp which the linker can't merge for multiple TUs, and which can consume quite a bit of space. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/15457] GAS should generate DW_FORM_strp when emitting debug info
http://sourceware.org/bugzilla/show_bug.cgi?id=15457 Paul Pluzhnikov changed: What|Removed |Added CC||ccoutant at google dot com -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/15457] GAS should generate DW_FORM_strp when emitting debug info
http://sourceware.org/bugzilla/show_bug.cgi?id=15457 Cary Coutant changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned at sourceware|ccoutant at google dot com |dot org | -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/15444] Use of -g for large project results in: relocation truncated to fit: R_X86_64_32 against `.debug_info'
http://sourceware.org/bugzilla/show_bug.cgi?id=15444 --- Comment #17 from Peeter Joot 2013-05-10 20:59:48 UTC --- Looks like ICC is definitely triggering this (we are getting close to the limit with g++ too). With g++: $ objcopy --only-keep-debug libdb2e.so.1 libdb2e.so.1.debug $ objcopy --strip-debug libdb2e.so.1 libdb2e.so.1.nodebug $ ls -l libdb2e.so.1.debug libdb2e.so.1.nodebug -rwxr-xr-x 1 peeterj pdxdb2 2336638415 2013-05-10 16:17 libdb2e.so.1.debug -rwxr-xr-x 1 peeterj pdxdb2 390515219 2013-05-10 16:18 libdb2e.so.1.nodebug With ICC: -rw-r--r-- 1 peeterj pdxdb2 6308565713 2013-05-10 16:11 libdb2e.so.1.debug -rw-r--r-- 1 peeterj pdxdb2 501988212 2013-05-10 16:17 libdb2e.so.1.nodebug The intel shared lib is 1.28x bigger, but it is generating 2.7x times more debug code with -g (for a grand total of 5.9 Gb of -g info). -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/15444] Use of -g for large project results in: relocation truncated to fit: R_X86_64_32 against `.debug_info'
http://sourceware.org/bugzilla/show_bug.cgi?id=15444 --- Comment #18 from H.J. Lu 2013-05-10 21:13:25 UTC --- (In reply to comment #17) > Looks like ICC is definitely triggering this (we are getting close to the > limit > with g++ too). > > The intel shared lib is 1.28x bigger, but it is generating 2.7x times more > debug code with -g (for a grand total of 5.9 Gb of -g info). Please report this to your Intel support representative. They may be able to fix ICC. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/15444] Use of -g for large project results in: relocation truncated to fit: R_X86_64_32 against `.debug_info'
http://sourceware.org/bugzilla/show_bug.cgi?id=15444 --- Comment #19 from Peeter Joot 2013-05-10 21:19:37 UTC --- Already done;) As for this defect. Shall we keep it to fix the gold linker so that it also fails with this relocation error instead of silently ignoring it? (or close this, and open a separate report for that issue). -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/15444] Use of -g for large project results in: relocation truncated to fit: R_X86_64_32 against `.debug_info'
http://sourceware.org/bugzilla/show_bug.cgi?id=15444 --- Comment #20 from H.J. Lu 2013-05-10 21:26:22 UTC --- (In reply to comment #19) > > As for this defect. Shall we keep it to fix the gold linker so that it also > fails with this relocation error instead of silently ignoring it? (or close > this, and open a separate report for that issue). Please open a separate gold bug. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/15460] New: lack of "relocation truncated to fit: R_X86_64_32 against `.debug_info'" failure for too large debug info
http://sourceware.org/bugzilla/show_bug.cgi?id=15460 Bug #: 15460 Summary: lack of "relocation truncated to fit: R_X86_64_32 against `.debug_info'" failure for too large debug info Product: binutils Version: 2.24 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gold AssignedTo: i...@airs.com ReportedBy: peeter.j...@gmail.com CC: ccout...@google.com Classification: Unclassified As noted in: http://sourceware.org/bugzilla/show_bug.cgi?id=15444#c14 the gold linker should also fail when the size of the debug info exceeds the 32-bit limits. Example: with 6Gb of debug data, ld.bfd produces the diagnostic: relocation truncated to fit: R_X86_64_32 against `.debug_info' and then fails. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/15444] Use of -g for large project results in: relocation truncated to fit: R_X86_64_32 against `.debug_info'
http://sourceware.org/bugzilla/show_bug.cgi?id=15444 --- Comment #21 from Peeter Joot 2013-05-11 01:34:39 UTC --- http://sourceware.org/bugzilla/show_bug.cgi?id=15460 is opened. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils