This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR81968
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Richard Biener <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 10 Jan 2018 12:19:19 +0100
- Subject: Re: [PATCH] Fix PR81968
- Authentication-results: sourceware.org; auth=none
- References: <alpine.LSU.2.20.1801101102010.32271@zhemvz.fhfr.qr>
Hi Richard,
> This joint work rewrites LTO debug section copying to not leave
> discarded sections around as SHT_NULL but to really discard them
> and deal with the fallout (remapping all remaining section references).
> This is to avoid diagnostics from the Solaris linker which doesn't
> like those.
>
> LTO bootstrapped on x86_64-unknown-linux-gnu, I also tested the
> "incredibly large # of sections" testcase to verify SHN_XINDEX
> handling. A regular bootstrap & test run is currently in progress.
>
> Rainer, can you check this patch on Solaris? Maybe we can finally
> close that PR ...
I did so last night and we're almost there: only (part of) the
gcc.dg/debug/pr41893-1.c -gdwarf-2 -g3 failure remains. I'll report the
details in the PR.
Thanks a lot for all your work on this.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University