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

Build failure in tokudb/ft-index on openSUSE 13.1 with non-debug CMAKE_BUILD_TYPE

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 5.5.35, 10.0.8
    • Component/s: None
    • Labels:
    • Environment:
      openSUSE 13.1 64-bit, Linux linux-gdzu.site 3.11.6-4-desktop, gcc (SUSE Linux) 4.8.1 20130909 [gcc-4_8-branch revision 202388]

      Description

      From 5.5:

      cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo && make -j3
      
      /home/elenst/bzr/5.5-release/storage/tokudb/ft-index/ft/ft-ops.cc: In function 'ft_leaf_run_gc':
      /home/elenst/bzr/5.5-release/storage/tokudb/ft-index/ft/ft-ops.cc:2261:26: error: 'leaf_entry' may be used uninitialized in this function [-Werror=maybe-uninitialized]
           if (leaf_entry->type != LE_MVCC) {
                                ^
      lto1: all warnings being treated as errors
      lto-wrapper: /usr/bin/c++ returned 1 exit status
      /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: lto-wrapper failed
      collect2: error: ld returned 1 exit status
      make[2]: *** [storage/tokudb/ft-index/ft/tdb-recover] Error 1
      make[1]: *** [storage/tokudb/ft-index/ft/CMakeFiles/tdb-recover.dir/all] Error 2
      make[1]: *** Waiting for unfinished jobs....
      

      Same on 10.0.

      Couldn't check if it's reproducible on Tokutek version as it fails to build in some other way.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              There are no comments yet on this issue.

                People

                • Assignee:
                  serg Sergei Golubchik
                  Reporter:
                  elenst Elena Stepanova
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: