[Bug 818502] New: Build failure when debugedit tool fails to recognise .debug_gdb_scripts debug section
https://bugzilla.novell.com/show_bug.cgi?id=818502 https://bugzilla.novell.com/show_bug.cgi?id=818502#c0 Summary: Build failure when debugedit tool fails to recognise .debug_gdb_scripts debug section Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: graham@andtech.eu QAContact: adrian@suse.com Found By: --- Blocker: --- Created an attachment (id=537944) --> (http://bugzilla.novell.com/attachment.cgi?id=537944) 32 bit go tool binary from failed i586 build User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; tr-TR) AppleWebKit/533.20.25 (KHTML, like Gecko) Version/5.0.4 Safari/533.20.27 Building Go language ELF binaries fails for i586 arch when finalising the build using the debugedit tool from the RPM package. The build failure error message is as follows: [ 153s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/go [ 153s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/go-1.1rc1-41.1.i386/usr/bin/go [ 153s] /usr/lib/rpm/debugedit: /home/abuild/rpmbuild/BUILDROOT/go-1.1rc1-41.1.i386/usr/bin/go: Unknown debugging section .debug_gdb_scripts [ 153s] Failed to write file: invalid section alignment However when examining the binary in question using readelf, the section alignment appears to be OK: There are 33 section headers, starting at offset 0x134: Section Headers: [Nr] Name Type Addr Off Size ES Flg Lk Inf Al [ 0] NULL 00000000 000000 000000 00 0 0 0 [ 1] .text PROGBITS 08048c00 000c00 1d0e92 00 AX 0 0 16 [ 2] .rodata PROGBITS 08219aa0 1d1aa0 135380 00 A 0 0 32 [ 3] .typelink PROGBITS 0834ee20 306e20 0007cc 00 A 0 0 4 [ 4] .gosymtab PROGBITS 0834f600 307600 117b94 00 A 0 0 32 [ 5] .gopclntab PROGBITS 084671a0 41f1a0 01c702 00 A 0 0 32 [ 6] .rel REL 084838a8 43b8a8 000008 08 A 13 0 4 [ 7] .gnu.version VERSYM 084838c0 43b8c0 00002c 02 A 13 0 2 [ 8] .gnu.version_r VERNEED 08483900 43b900 000060 00 A 12 2 4 [ 9] .hash HASH 08483960 43b960 000078 04 A 13 0 4 [10] .rel.plt REL 084839e0 43b9e0 000088 08 A 13 0 0 [11] .plt PROGBITS 08483a80 43ba80 000120 04 AX 0 0 4 [12] .dynstr STRTAB 08483ba0 43bba0 000157 00 A 0 0 1 [13] .dynsym DYNSYM 08483d00 43bd00 000160 10 A 12 0 4 [14] .shstrtab STRTAB 00000000 43be60 00018c 00 0 0 1 [15] .got PROGBITS 08484000 43c000 000004 04 WA 0 0 4 [16] .got.plt PROGBITS 08484020 43c020 000050 04 WA 0 0 4 [17] .dynamic DYNAMIC 08484080 43c080 000098 08 WA 12 0 4 [18] .noptrdata PROGBITS 08484120 43c120 010bd4 00 WA 0 0 32 [19] .data PROGBITS 08494d00 44cd00 007cb4 00 WA 0 0 32 [20] .bss NOBITS 0849c9c0 4549c0 005a8c 00 WA 0 0 32 [21] .noptrbss NOBITS 084a2460 45a460 007dc0 00 WA 0 0 32 [22] .interp PROGBITS 08048bed 000bed 000013 00 A 0 0 1 [23] .symtab SYMTAB 00000000 455000 022120 10 24 289 4 [24] .strtab STRTAB 00000000 477120 035516 00 0 0 1 [25] .debug_abbrev PROGBITS 00000000 4ac636 0000d3 00 0 0 1 [26] .debug_line PROGBITS 00000000 4ac709 02dce5 00 0 0 1 [27] .debug_frame PROGBITS 00000000 4da3ee 02af84 00 0 0 1 [28] .debug_info PROGBITS 00000000 505372 0bb09c 00 0 0 1 [29] .debug_pubnames PROGBITS 00000000 5c040e 03d74d 00 0 0 1 [30] .debug_pubtypes PROGBITS 00000000 5fdb5b 0158e2 00 0 0 1 [31] .debug_aranges PROGBITS 00000000 61343d 000ee0 00 0 0 1 [32] .debug_gdb_script PROGBITS 00000000 61431d 00002c 00 0 0 1 Key to Flags: W (write), A (alloc), X (execute), M (merge), S (strings) I (info), L (link order), G (group), T (TLS), E (exclude), x (unknown) O (extra OS processing required) o (OS specific), p (processor specific) Reproducible: Always This does not affect x86_64 builds, 64bit binaries are correctly updated by debugedit. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=818502
https://bugzilla.novell.com/show_bug.cgi?id=818502#c2
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=818502
https://bugzilla.novell.com/show_bug.cgi?id=818502#c3
Richard Biener
https://bugzilla.novell.com/show_bug.cgi?id=818502
https://bugzilla.novell.com/show_bug.cgi?id=818502#c4
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=818502
https://bugzilla.novell.com/show_bug.cgi?id=818502#c5
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=818502
https://bugzilla.novell.com/show_bug.cgi?id=818502#c6
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=818502
https://bugzilla.novell.com/show_bug.cgi?id=818502#c7
--- Comment #7 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=818502
https://bugzilla.novell.com/show_bug.cgi?id=818502#c8
--- Comment #8 from Graham Anderson
https://bugzilla.novell.com/show_bug.cgi?id=818502
https://bugzilla.novell.com/show_bug.cgi?id=818502#c9
Sascha Peilicke
https://bugzilla.novell.com/show_bug.cgi?id=818502
https://bugzilla.novell.com/show_bug.cgi?id=818502#c10
--- Comment #10 from Graham Anderson
The RPM patch fixed the unknown section warning from debugedit, but the section alignment issue is still present (Factory, i586, recent rpm). BTW, it comes from libelf0 directly:
% /usr/lib/rpm/debugedit go.bad Failed to write file: invalid section alignment
However, stripping the binary helps:
% strip go.bad % /usr/lib/rpm/debugedit go.bad %
So work-arounded in devel:languages:go / go rev 176. I'll dig a bit deeper and thus re-assign to me.
Thanks Sascha, and thanks for the bump to Go 1.1.2 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=818502
https://bugzilla.novell.com/show_bug.cgi?id=818502#c11
Sascha Peilicke
http://bugzilla.novell.com/show_bug.cgi?id=818502
http://bugzilla.novell.com/show_bug.cgi?id=818502#c12
Matwey Kornilov
http://bugzilla.novell.com/show_bug.cgi?id=818502
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=818502
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=818502
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=818502
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=818502
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=818502
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=818502
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=818502
http://bugzilla.novell.com/show_bug.cgi?id=818502#c13
--- Comment #13 from Bernhard Wiedemann
http://bugzilla.novell.com/show_bug.cgi?id=818502
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=818502
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=818502
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=818502
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=818502
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=818502
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=818502
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=818502
http://bugzilla.novell.com/show_bug.cgi?id=818502#c14
--- Comment #14 from Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=818502
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=818502
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com