Date: Sat, 20 Feb 2021 10:10:51 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 253716] LTO seems to be broken in 13-BETA3 Message-ID: <bug-253716-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253716 Bug ID: 253716 Summary: LTO seems to be broken in 13-BETA3 Product: Base System Version: 13.0-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: dmilith@me.com My software build system's been using LTO for builds for years now. I append "-flto=3Dthin -ffat-lto-objects -fuse-linker-plugin -Wl,--thinlto-jobs=3D8" to CFLAGS/CXXFLAGS and it worked nicely until 13-BE= TA1 (last tested one). Yesterday I updated to 13-BETA3, and same options now cause linker issues. Example for Make 4.3: http://s.verknowsys.com/a1b9805fa9c33b148d5ef8d479f3f47c.png (it also breaks with fat LTO enabled, not only with Thin) It builds fine if I just remove "-flto" option. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253716-227>