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

TokuDB fails to build with CLang

    XMLWordPrintable

Details

    Description

      [ 62%] Building CXX object storage/tokudb/ft-index/ft/CMakeFiles/ft.dir/txn/rollback.cc.o
      /home/vicentiu/Workspace/MariaDB/storage/tokudb/ft-index/ft/logger/recover.cc:788:76: error: missing field 'last_total' initializer [-Werror,-Wmissing-field-initializers]
          toku_txn_progress_extra extra = { time(NULL), l->lsn, "commit", l->xid };
                                                                                 ^
      /home/vicentiu/Workspace/MariaDB/storage/tokudb/ft-index/ft/logger/recover.cc:831:75: error: missing field 'last_total' initializer [-Werror,-Wmissing-field-initializers]
          toku_txn_progress_extra extra = { time(NULL), l->lsn, "abort", l->xid };
                                                                                ^
      [ 62%] Building CXX object storage/tokudb/ft-index/ft/CMakeFiles/ft_static.dir/serialize/ft-node-deserialize.cc.o
      [ 62%] Built target auth_0x0100
      [ 62%] Built target auth_socket
      /home/vicentiu/Workspace/MariaDB/storage/tokudb/ft-index/ft/logger/recover.cc:1366:86: error: missing field 'last_total' initializer [-Werror,-Wmissing-field-initializers]
          toku_txn_progress_extra extra = { time(NULL), ZERO_LSN, "abort live", txn->txnid };
                                                                                           ^
      /home/vicentiu/Workspace/MariaDB/storage/tokudb/ft-index/ft/logger/recover.cc:788:76: error: missing field 'last_total' initializer [-Werror,-Wmissing-field-initializers]
          toku_txn_progress_extra extra = { time(NULL), l->lsn, "commit", l->xid };
                                                                                 ^
      /home/vicentiu/Workspace/MariaDB/storage/tokudb/ft-index/ft/logger/recover.cc:831:75: error: missing field 'last_total' initializer [-Werror,-Wmissing-field-initializers]
          toku_txn_progress_extra extra = { time(NULL), l->lsn, "abort", l->xid };
                                                                                ^
      3 errors generated.
      storage/tokudb/ft-index/ft/CMakeFiles/ft_static.dir/build.make:600: recipe for target 'storage/tokudb/ft-index/ft/CMakeFiles/ft_static.dir/logger/recover.cc.o' failed
      make[2]: *** [storage/tokudb/ft-index/ft/CMakeFiles/ft_static.dir/logger/recover.cc.o] Error 1
      make[2]: *** Waiting for unfinished jobs....
      /home/vicentiu/Workspace/MariaDB/storage/tokudb/ft-index/ft/logger/recover.cc:1366:86: error: missing field 'last_total' initializer [-Werror,-Wmissing-field-initializers]
          toku_txn_progress_extra extra = { time(NULL), ZERO_LSN, "abort live", txn->txnid };
       
      /home/vicentiu/Workspace/MariaDB/storage/tokudb/ft-index/ft/serialize/ft_node-serialize.cc:646:72: error: missing field 'prev' initializer [-Werror,-Wmissing-field-initializers]
                  work[i] = (struct serialize_compress_work) { .base = {{NULL}},
      

      Field initializers are missing during struct creation.

      Attachments

        Issue Links

          Activity

            People

              cvicentiu Vicențiu Ciorbaru
              cvicentiu Vicențiu Ciorbaru
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.