[Bug 261977] lang/gcc12-devel: enable LTO

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 19 Apr 2022 15:23:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261977

Robert Clausecker <fuz@fuz.su> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fuz@fuz.su

--- Comment #17 from Robert Clausecker <fuz@fuz.su> ---
The new LTO bootstrap makes the build dog slow.  lang/gcc11-devel for armv7
failed with QEMU on a Skylake XEON box, timing out after ~70 hours.  The native
build on my RPi 4B is still going strong after 64 hours, total duration
unknown.  This is not an acceptable build time for any package.

If it was me, I would turn off the whole bootstrap thing completely.  The gcc
binary is just as good when compiled with clang and build times will be a lot
better.

-- 
You are receiving this mail because:
You are on the CC list for the bug.