On 11/4/20 2:06 PM, Tom Stellard wrote:
On 11/4/20 3:57 PM, Jakub Jelinek wrote:
> On Wed, Nov 04, 2020 at 03:51:40PM -0500, Neal Gompa wrote:
>>> Well, gcc really should have either weak or strong dependency on
>>> make too
>>> given that -flto is now used everywhere.
>>
>> The goal of this change seems to include removal of Make as a
>> dependency for the LTO wrapper used by GCC.
>
> That is definitely not something that really happened in GCC, the only
> change that has been done is to make sure that gcc -flto doesn't fail
> because of missing make, but missing make will just mean that the
> compilation will be significantly slower.
>
My understanding was that the performance of gcc -flto when using
something other than make (e.g. ninja) to build was the same whether
or not you have make installed[1]. Is this correct?
I thought you had to be using make to get the parallelization benefits
of -flto=auto.
It will fall back to #cpu threads available if the jobserver isn't
available. At least that's how it's supposed to work.
jeff