------------------------------------------------------------------------- Dave Malcolm wrote in https://bugzilla.redhat.com/show_bug.cgi?id=1986172 ------------------------------------------------------------------------- mariadb.spec: https://src.fedoraproject.org/rpms/mariadb/blob/rawhide/f/mariadb.spec#_799 currently disables LTO, with this message in %build: # This package has static probe points which do not currently # work with LTO and result in undefined symbols at link time. # This is being worked on in upstream GCC %define _lto_cflags %{nil} This was added to Fedora's mariadb.spec by Jeff Law on 2020-08-05 in https://src.fedoraproject.org/rpms/mariadb/c/cdfc0ff97706d24ab636f0962a205bfba93d6771 (3:10.4.13-6) Although the message says "This is being worked on in upstream GCC", I work on upstream GCC and I wasn't able to find a bug report about this in the upstream tracker (Jeff is no longer at Red Hat). It would be good to re-enable LTO for mariadb in Fedora, CentOS stream, and RHEL 9, so that it can benefit from LTO (smaller/faster binaries, deeper analysis for compiler warnings, etc). Please try removing the %global _lto_cflags %{nil} from the specfile. If you still run into issues, please let me know via this bug so that the toolchain team can fix things appropriately. Thanks! ------------------------------------------------------------------------- Michal Schorm wrote: ------------------------------------------------------------------------- The LTO for MariaDB currently seems broken: https://jira.mariadb.org/browse/MDEV-25633 Though, we should verify whether Fedora build would suffer of the same issue as the Debian build described in the upstream issue. ------------------------------------------------------------------------- Michal Schorm wrote later: ------------------------------------------------------------------------- I made a successful scratch build with LTO enabled and I haven't encountered the error described in the upstream JIRA issue mentioned in the comment 1 during a swift testing of the core replication functionality. I will take a closer look at it in Fedora.
FEDORA-2021-72d5918529 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-72d5918529
FEDORA-2021-acef1dc8cf has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-acef1dc8cf
FEDORA-2021-acef1dc8cf has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-acef1dc8cf` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-acef1dc8cf See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-72d5918529 has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-72d5918529` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-72d5918529 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-MODULAR-2021-094ff554ca has been submitted as an update to Fedora 34 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2021-094ff554ca
FEDORA-MODULAR-2021-c8639f6351 has been submitted as an update to Fedora 35 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2021-c8639f6351
FEDORA-MODULAR-2021-c8639f6351 has been pushed to the Fedora 35 Modular testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2021-c8639f6351 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-MODULAR-2021-094ff554ca has been pushed to the Fedora 34 Modular testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2021-094ff554ca See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-acef1dc8cf has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-72d5918529 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-MODULAR-2021-094ff554ca has been pushed to the Fedora 34 Modular stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-MODULAR-2021-c8639f6351 has been pushed to the Fedora 35 Modular stable repository. If problem still persists, please make note of it in this bug report.