Uploaded image for project: 'Percona Server for MySQL'
  1. Percona Server for MySQL
  2. PS-6761

MacOS error in threadpool_unix.cc: there was no matching member function for call to 'compare_exchange_weak'.

Details

    • Bug
    • Status: Done
    • Low
    • Resolution: Fixed
    • None
    • 8.0.19-10
    • None
    • None

    Description

      It fails even with "-DMYSQL_MAINTAINER_MODE=OFF".
      Reported at https://travis-ci.org/percona/percona-server/jobs/634823474

      /Users/travis/build/percona/percona-server/sql/threadpool_unix.cc:1308:35: error: no matching member function for call to 'compare_exchange_weak'
          pool_timer.next_timeout_check.compare_exchange_weak(old, abstime);
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
      /Applications/Xcode-9.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/atomic:962:10: note: candidate function not viable: no known conversion from 'ulong' (aka 'unsigned long') to 'unsigned long long &' for 1st argument
          bool compare_exchange_weak(_Tp& __e, _Tp __d,
      

      Attachments

        Activity

          People

            przemyslaw.skibinski Przemyslaw Skibinski
            przemyslaw.skibinski Przemyslaw Skibinski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h

                Smart Checklist