If LTO is enabled with the wrong linker/ar:
- with the checks, it will exit at configure with an error. I can change this in a warning and disabling LTO if preferred.
- without the checks compilation will fail

If LTO is enabled with the wrong compiler (e.g. old gcc), you may get a bunch of warnings at compile time, and a binary that won't pass some of the tests in make check.

On 10/28/2020 2:44 AM, Paolo Bonzini wrote:
On 27/10/20 21:42, Daniele Buono wrote:
Ok, no problem. I can definitely disable the check on GCC.

Paolo, would you like me to disable checks on AR/linker for lto too?
If so, should I add some of this information on a document, perhaps
docs/devel/lto.rst, so it is written somewhere for future uses?

I am not sure of the effects.  Does it simply effectively disable LTO or
is it something worse?

I'll look into the SCSI issue.

Paolo


Reply via email to