Mailinglist Archive: opensuse-bugs (4376 mails)

< Previous Next >
[Bug 691290] 2.21.0 binutils ld fails when building kvm package

https://bugzilla.novell.com/show_bug.cgi?id=691290

https://bugzilla.novell.com/show_bug.cgi?id=691290#c1


--- Comment #1 from Richard Guenther <rguenther@xxxxxxxxxx> 2011-05-03 10:40:07
UTC ---
First of all, confirmed. Works with the 2.21 release and fails with the
snapshot I took from the 2.21 branch.

It looks like

= ( 0x6770 - code32seg_start ) ;
*(.rodata.__func__.10274)
= ( 0x6780 - code32seg_start ) ;
*(.rodata.__func__.8035)

is the issue, while the size of the rodata sections is all 0xe the linker
isn't happy with just 0x10 space for them. Spacing them out hides the linker
bug:

= ( 0x6770 - code32seg_start ) ;
*(.rodata.__func__.10274)
= ( 0x6782 - code32seg_start ) ;
*(.rodata.__func__.8035)
= ( 0x6796 - code32seg_start ) ;
*(.rodata.__func__.8048)
= ( 0x67aa - code32seg_start ) ;
*(.rodata.__func__.8075)
= ( 0x67c0 - code32seg_start ) ;
*(.rodata.__func__.8115)

that is extending the space available space to 0x14, increasing it by the
alignment of the sections. Hints at a bug in alignment calculation.

--
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.

< Previous Next >
References