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

PerconaFT needs different libraries to link to 8.0 debug sync and PFS

    XMLWordPrintable

    Details

      Description

      Here is the diff to get 8.0 to compile

      diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
      index c5bce64..cae895e 100644
      --- a/tools/CMakeLists.txt
      +++ b/tools/CMakeLists.txt
      @@ -1,6 +1,6 @@
      set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS _GNU_SOURCE DONT_DEPRECATE_ERRNO)
      
      -set(tools tokudb_dump tokuftdump tokuft_logprint tdb-recover ftverify)
      +set(tools tokuftdump tokuft_logprint tdb-recover ftverify)
      foreach(tool ${tools})
      add_executable(${tool} ${tool}.cc)
      add_dependencies(${tool} install_tdb_h)
      @@ -10,9 +10,9 @@ foreach(tool ${tools})
      if (DEFINED MYSQL_PROJECT_NAME_DOCSTRING)
      if ((CMAKE_BUILD_TYPE MATCHES "Debug") AND
      (CMAKE_CXX_FLAGS_DEBUG MATCHES " -DENABLED_DEBUG_SYNC"))
      - target_link_libraries(${tool} sql binlog rpl master slave)
      + target_link_libraries(${tool} sql_main sql_gis binlog rpl master slave)
      endif()
      - target_link_libraries(${tool} perconaserverclient)
      + target_link_libraries(${tool} mysqlclient)
      endif ()
      
      add_space_separated_property(TARGET ${tool} COMPILE_FLAGS -fvisibility=hidden)
      

      This needs some thought or better idea on how to do this as FT really shouldn't 'know' about needed libs from MySQL.

        Attachments

          Activity

            People

            Assignee:
            george.lorch George Lorch
            Reporter:
            george.lorch George Lorch
            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 - 1 day, 2 hours, 5 minutes
                1d 2h 5m

                  Smart Checklist