Subject: bug#69689: 30.0.50; cannot native compile with -flto in native-comp-compiler-options

From: Björn Bidar <[email-masked]>
Date: Tue, 12 Mar 2024 06:23:03 +0200

StrawberryTea <[email-masked]> writes:

> Hello Emacs developers,
>
> I am trying to native compile Emacs with the -flto flag patched into the
> native-comp-compiler-options variable. However, when I do this, I get
> the following error:

Is the gcc lto plugin really installed?

I set the some option without having any of these errors: 
(setopt native-comp-compiler-options '("-flto"))