Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-36036

v11.4.5 build on Fedora41/gcc14 FAILs; v11.4.4 OK (error: `mutex_owner` was not declared in this scope)

Details

    • Bug
    • Status: Confirmed (View Workflow)
    • Blocker
    • Resolution: Unresolved
    • 11.4.5
    • 10.6, 10.11, 11.4
    • Compiling
    • Fedora41 + gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)

    Description

      BUILD: mariadb-lts git_mariadb_11.4.4
      on Fedora41 + gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)
      OK
      -> log: https://pastebin.com/aHQzV8Qk

      BUILD: mariadb-lts git_mariadb_11.4.5
      on Fedora41 + gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)
      FAILS
      -> https://pastebin.com/5FRnJnfy, line # 907

      ```

      ...
      /builddir/build/BUILD/mariadb-lts-git_mariadb_11.4.5-build/server.git-e2c746b03313677dd880ed7f5ada49c17c8c1b1c/storage/innobase/include/trx0trx.h: In member function ‘void trx_t::mutex_lock()’:
      /builddir/build/BUILD/mariadb-lts-git_mariadb_11.4.5-build/server.git-e2c746b03313677dd880ed7f5ada49c17c8c1b1c/storage/innobase/include/trx0trx.h:674:13: error: ‘mutex_owner’ was not declared in this scope
      674 | assert(!mutex_owner.exchange(pthread_self(),

      ^~~~~~~~~~~
      /builddir/build/BUILD/mariadb-lts-git_mariadb_11.4.5-build/server.git-e2c746b03313677dd880ed7f5ada49c17c8c1b1c/storage/innobase/include/trx0trx.h: In member function ‘void trx_t::mutex_unlock()’:
      /builddir/build/BUILD/mariadb-lts-git_mariadb_11.4.5-build/server.git-e2c746b03313677dd880ed7f5ada49c17c8c1b1c/storage/innobase/include/trx0trx.h:680:12: error: ‘mutex_owner’ was not declared in this scope
      680
      assert(mutex_owner.exchange(0, std::memory_order_relaxed) ==
      ^~~~~~~~~~~
      ...
      ```

      Attachments

        Issue Links

          Activity

            arkamar Petr Vaněk added a comment -

            Similar/same issue was reported in gentoo with the full log, see https://bugs.gentoo.org/949720.

            arkamar Petr Vaněk added a comment - Similar/same issue was reported in gentoo with the full log, see https://bugs.gentoo.org/949720 .
            pgnd pgnd added a comment -

            > your cmake line

            the attachment, `cmake.txt`

            WORKS for 11.4.4/release build
            FAILS for 11.4.5/release build
            WORKS for 11.6/branch build

            pgnd pgnd added a comment - > your cmake line the attachment, `cmake.txt` WORKS for 11.4.4/release build FAILS for 11.4.5/release build WORKS for 11.6/branch build
            arkamar Petr Vaněk added a comment -

            I have bisected the issue between 11.4.4 and 11.4.5 to the commit 43233fe469fd ("Fix -DBUILD_CONFIG=mysql_release to keep standard cmake flags").

            arkamar Petr Vaněk added a comment - I have bisected the issue between 11.4.4 and 11.4.5 to the commit 43233fe469fd ("Fix -DBUILD_CONFIG=mysql_release to keep standard cmake flags").
            pgnd pgnd added a comment -

            same as mentioned above, correct?

            > Daniel Black added a comment - 2025-02-06 23:56
            > regression from 43233fe469fd85d7c64978f01ed68de3288d43cc

            pgnd pgnd added a comment - same as mentioned above, correct? > Daniel Black added a comment - 2025-02-06 23:56 > regression from 43233fe469fd85d7c64978f01ed68de3288d43cc
            arkamar Petr Vaněk added a comment -

            ah, yes, the same one.

            arkamar Petr Vaněk added a comment - ah, yes, the same one.

            People

              cvicentiu Vicențiu Ciorbaru
              pgnd pgnd
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.