[Bug 210331] New: binutils breaks brp-strip-debug on x86_64
https://bugzilla.novell.com/show_bug.cgi?id=210331 Summary: binutils breaks brp-strip-debug on x86_64 Product: openSUSE 10.2 Version: Alpha 5 Platform: x86-64 OS/Version: Other Status: NEW Severity: Blocker Priority: P5 - None Component: Basesystem AssignedTo: schwab@novell.com ReportedBy: cthiel@novell.com QAContact: qa@suse.de CC: aj@novell.com, jw@novell.com, lrupp@novell.com, mls@novell.com, kukuk@novell.com Building (e.g.) coreutils on x86_64 results in extra large binaries. Looking at the rpm size header of coreutils in STABLE for x86_64 reveals a payload size of 193 MB, which is the unstripped size. Looking at the file size with ls and du: $ ls -lh -rwxr-xr-x 1 99 99 2,1M 2006-10-05 20:45 basename $ du -sh basename 40K basename $ Looks like a sparse file, eh? While debugging this problem, we rebuilt coreutils with binutils from alpha4 (2.17.50.0.3-6), which fixed the problem for us ;( This is only happening on x86_64 and blocking the release of openSUSE 10.2 Alpha5 right now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=210331 ------- Comment #2 from cthiel@novell.com 2006-10-05 13:15 MST ------- We already tried to revert some patches in binutils, after looking at the changelog, which pointed us to: ------------------------------------------------------------------- Mon Sep 25 11:35:32 CEST 2006 - schwab@suse.de - Update to binutils 2.17.50.0.4. [...] 4. Fix objcopy/strip on .o files with section groups. PR 3181. [...] 6. Fix "strip --strip-debug" on .o files generated with "gcc -feliminate-dwarf2-dups". PR 3186. [...] ------------------------------------------------------------------- Reverting the patch that fixed PR 3186 didn't change anything, reverting PR 3181 didn't really apply :( Building binutils without the suse-* patches segfaulted: /bin/sh: line 1: 13289 Segmentation fault ./s390-mkopc <../../opcodes/s390-opc.txt >s390-opc.tab -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=210331 rschiele@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rschiele@gmail.com ------- Comment #3 from rschiele@gmail.com 2006-10-05 14:37 MST ------- This is neither related to the update to 2.17.50.0.4 nor is it related to debugging symbols. With the upgrade to 2.17.50.0.5 a bug was introduced into the linker although I don't know yet what exactly is causing this... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=210331 ------- Comment #4 from rschiele@gmail.com 2006-10-05 15:59 MST ------- This is triggered by H.J. Lu's fix for PR ld/3223 and PR ld/3267. This makes the linker to store an null-sized INIT_ARRAY section into the binary with a miscalculated offset address. Actually the offset address is the real address | 0x00200000. An ugly workaround is to comment out the line && !os->section_relative_symbol to get back the old behaviour. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=210331 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hongjiu.lu@intel.com ------- Comment #5 from aj@novell.com 2006-10-06 00:19 MST ------- HJ, could you look at this, please? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=210331 rschiele@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|binutils breaks brp-strip- |ld creates stores INIT_ARRAY section with |debug on x86_64 |miscalculated offset in binary on x86_64 ------- Comment #6 from rschiele@gmail.com 2006-10-06 03:14 MST ------- Fix summary. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=210331 ------- Comment #7 from hongjiu.lu@intel.com 2006-10-06 06:14 MST ------- Can you open a bug report at http://sourceware.org/bugzilla/ with a testcase? I am on vacation and will be back in Oct 15. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=210331 ------- Comment #8 from hongjiu.lu@intel.com 2006-10-06 07:41 MST ------- I opened a bug: http://sourceware.org/bugzilla/show_bug.cgi?id=3314 and the patch is at http://sourceware.org/ml/binutils/2006-10/msg00043.html -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=210331 ------- Comment #9 from hongjiu.lu@intel.com 2006-10-06 10:20 MST ------- The updated patch is at http://sourceware.org/ml/binutils/2006-10/msg00045.html -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=210331 ------- Comment #10 from cthiel@novell.com 2006-10-09 07:58 MST ------- As AJ has already put the proposed patch into our binutils, this bug could be closed, right? Andreas? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=210331 ------- Comment #11 from aj@novell.com 2006-10-09 12:58 MST ------- We should test it first. But yes, the updated patch is in our package now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=210331 mmarek@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |postadal@novell.com ------- Comment #12 from mmarek@novell.com 2006-10-10 04:59 MST ------- When trying to build a debuginfo package, I'm getting errors like "/usr/lib/rpm/debugedit: /var/tmp/less-394-build/usr/bin/less: Could not find DWARF-2 abbreviation 117" on x86_64 with latest binutils. The debug package doesn't contain any source files then. Could it be related to this bug or is it another issue? # rpm -q binutils binutils-2.17.50.0.5-5 # LANG=C rpm -q --changelog binutils | head -5 * Fri Oct 06 2006 - aj@suse.de - Improve last patch. * Fri Oct 06 2006 - aj@suse.de - Fix PR210331 (wrong size of empty loadable sections). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=210331 ------- Comment #14 from rschiele@gmail.com 2006-10-10 06:15 MST ------- This is unrelated to this bug. For some reason debugedit does not like the crti.o and crtn.o file as shipped with current glibc. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=210331 schwab@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |aj@novell.com ------- Comment #15 from schwab@novell.com 2006-10-12 05:56 MST ------- Please tell me when it's tested. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=210331 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|aj@novell.com | ------- Comment #16 from aj@novell.com 2006-10-12 08:53 MST ------- The package is checked into our distribution and the sizes look normal again. I did not check the binaries itself. I'm fine with closing this as fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=210331 schwab@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Fixed in Milestone|--- |Alpha 5 plus ------- Comment #17 from schwab@novell.com 2006-10-12 09:43 MST ------- So be it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com