This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/81968] [8 regression] early lto debug objects make Solaris ld SEGV
- From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 29 Aug 2017 09:46:53 +0000
- Subject: [Bug lto/81968] [8 regression] early lto debug objects make Solaris ld SEGV
- Auto-submitted: auto-generated
- References: <bug-81968-4@http.gcc.gnu.org/bugzilla/>
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