On 7/28/20 4:39 PM, Jeff Law wrote:
On Tue, 2020-07-28 at 15:29 -0500, Michael Catanzaro wrote:
> On Tue, Jul 28, 2020 at 2:01 pm, Jeff Law <law(a)redhat.com> wrote:
>> If this is a new failure (say in the last week), it could be an out
>> of memory
>> scenario. Try disabling LTO. The standard way to do that is
>>
>> %define _lto_cflags %{nil}
>>
>> In your %build stanza in the spec file.
>>
>> Heff
>
> I agree, it's almost certainly OOM because it says "fatal error:
> Killed." I've never seen that happen for any reason other than OOM.
I've seen it happen for a variety of reasons. Please test with LTO disabled and
let me know if that helps.
jeff
Disabling LTO with '%define _lto_cflags %{nil}' fixed it.