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

Correct tokudb-backup-plugin to avoid collision between -std=c++11 and -std=gnu++03.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 5.6.x, 5.7.x, Not 8.0.x
    • Fix Version/s: 5.6.48-88.0, 5.7.30-33
    • Component/s: None
    • Labels:
      None

      Description

      -std=c+11 is shadowed by compiler_options.cmake that sets -std=gnu+03 for clang-6 or newer:

      cd /data/mysql-server/percona-5.6-deb-clang9-toku/plugin/tokudb-backup-plugin/Percona-TokuBackup/backup && /usr/bin/clang++-9  -DHAVE_CONFIG_H -DHAVE_LIBEVENT2 -DHAVE_TLSv13 -DHotBackup_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/data/mysql-server/percona-5.6-deb-clang9-toku/include  -Werror -W -Wall -Wshadow -std=c++11 -Wno-deprecated-declarations  -fPIC -Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual -Wno-unused-parameter -Wno-null-conversion -Wno-unused-private-field -Werror -Wno-vla -g -fno-omit-frame-pointer -fno-strict-aliasing -std=gnu++03 -DENABLED_DEBUG_SYNC -fPIC   -fvisibility=default -fvisibility-inlines-hidden  -o CMakeFiles/HotBackup.dir/backup_debug.cc.o -c /data/mysql-server/percona-5.6/plugin/tokudb-backup-plugin/Percona-TokuBackup/backup/backup_debug.cc
      

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              przemyslaw.skibinski Przemyslaw Skibinski
              Reporter:
              przemyslaw.skibinski Przemyslaw Skibinski
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 5 hours
                  5h