This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Dropping support of repo files (tlink)
On 6/20/19 4:21 PM, David Edelsohn wrote:
> On Thu, Jun 20, 2019 at 10:05 AM Martin Liška <mliska@suse.cz> wrote:
>>
>> Hi.
>>
>> In order to not buffer stderr output in LTO mode, I would like to remove
>> support for repo files (tlink). If I'm correctly it's only used by AIX
>> target. Would it be possible to drop that for the future? Is it even
>> used?
>
> AIX currently does not support GCC LTO, but the hope was that GCC
> would not do anything to specifically inhibit that ability to
> eventually support that feature. AIX currently needs collect2. I
> guess that AIX could try to find another mechanism when it adds
> support.
Yes, I'm fine with collect2. I'm more precisely asking about read_report_files
that lives in tlink.c. If I understand correctly, it's parsing output of linker
and tries to find template implementations in a .rpo files that live on a disk.
That's a legacy functionality that I'm targeting to remove.
Thanks,
Martin
>
> Thanks, David
>