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

cant compile successfully storage/tokudb

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 5.5.33a
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Ubuntu 64bit

      Description

      Linking CXX shared library libtokufractaltree.so
      /usr/src/mariadb/storage/tokudb/ft-index/ft/logger.cc: In function '_Z30toku_logger_open_with_last_xidPKcP10tokuloggerm.part.10':
      /usr/src/mariadb/storage/tokudb/ft-index/ft/txn_manager.cc:1019:37: error: 'last_xid_if_clean_shutdown' may be used uninitialized in this function [-Werror=maybe-uninitialized]
           txn_manager->last_xid = last_xid;
                                           ^
      /usr/src/mariadb/storage/tokudb/ft-index/ft/logger.cc:239:11: note: 'last_xid_if_clean_shutdown' was declared here
           TXNID last_xid_if_clean_shutdown;
                 ^
      lto1: all warnings being treated as errors
      lto-wrapper: /usr/bin/c++ returned 1 exit status
      /usr/bin/ld: lto-wrapper failed
      collect2: error: ld returned 1 exit status
      make[2]: *** [storage/tokudb/ft-index/src/libtokufractaltree.so] Error 1
      make[1]: *** [storage/tokudb/ft-index/src/CMakeFiles/tokufractaltree.dir/all] Error 2
      make: *** [all] Error 2
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              serg Sergei Golubchik added a comment -

              how did you compile MariaDB?

              Show
              serg Sergei Golubchik added a comment - how did you compile MariaDB?

                People

                • Assignee:
                  serg Sergei Golubchik
                  Reporter:
                  keichee keichee
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved: