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'.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.0.19-10
    • Component/s: None
    • Labels:
      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

            Assignee:
            przemyslaw.skibinski Przemyslaw Skibinski
            Reporter:
            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