https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106170

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <mar...@gcc.gnu.org>:

https://gcc.gnu.org/g:d89fa97ff318b1f892e2629c5a249313872a01b1

commit r13-1558-gd89fa97ff318b1f892e2629c5a249313872a01b1
Author: Martin Liska <mli...@suse.cz>
Date:   Thu Jul 7 12:15:28 2022 +0200

    lto-plugin: use locking only for selected targets

    For now, support locking only for linux targets that are different from
    riscv* where the target depends on libatomic (and fails during
    bootstrap).

            PR lto/106170

    lto-plugin/ChangeLog:

            * configure.ac: Configure HAVE_PTHREAD_LOCKING.
            * lto-plugin.c (LOCK_SECTION): New.
            (UNLOCK_SECTION): New.
            (claim_file_handler): Use the newly added macros.
            (onload): Likewise.
            * config.h.in: Regenerate.
            * configure: Regenerate.

Reply via email to