https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92680
Bug ID: 92680 Summary: PGO bootstrap is broken with --with-build-config=bootstrap-lto-lean and in-itree mpfr Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: hubicka at gcc dot gnu.org Target Milestone: --- Build with bootstrap-lto-lean with in-tree mpfr fails in profile mismatch on set_d.o. This is caused by fact that mpfr actually misconfigures itself with LTO. Its configure script scans assembly to detect format of long double and this gives wrong answer with LTO leading to suboptimal configuration.