This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/81968] [8 regression] early lto debug objects make Solaris ld SEGV


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81968

--- Comment #8 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #6 from rguenther at suse dot de <rguenther at suse dot de> ---
> On Mon, 28 Aug 2017, ro at CeBiTec dot Uni-Bielefeld.DE wrote:
[...]
> Thanks.  Can you check whether the above patch resolves the extra
> warning about section flags?  The symtab entry one will prevail
> of course.

Sure: it did indeed in last night's sparc-sun-solaris2.11 and
i386-pc-solaris2.11 bootstraps.  Thanks.

However, I noticed now that I'd missed another ld warning:

ld: warning: file /var/tmp//ccS6p31cdebugobjtem: section [29].symtab:
symbol[30]: global symbol has no name

and some more.  Seen e.g in gcc.dg/debug/pr41893-1.c with -gdwarf-2 -g3.
And indeed elfdump -s shows

ro@colima 112 > elfdump -s /var/tmp//ccCyYAtcdebugobjtem |grep GLOB
   [29]       0    0  NOTY GLOB  D    0 UNDEF                     
   [31]       0    0  NOTY GLOB  D    0 UNDEF

        Rainer

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]