Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.0.16
    • Fix Version/s: 10.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      Mac OS X 10.10.1

      Description

      TokuDB apparently doesn't built on OS X:

      [ 72%] Building CXX object storage/tokudb/ft-index/locktree/CMakeFiles/locktree_static.dir/locktree.cc.o
      In file included from /Users/kolbe/Devel/bzr/maria/10.0.16/storage/tokudb/ft-index/locktree/locktree.cc:99:
      In file included from /Users/kolbe/Devel/bzr/maria/10.0.16/storage/tokudb/ft-index/locktree/locktree.h:94:
      /Users/kolbe/Devel/bzr/maria/10.0.16/storage/tokudb/ft-index/buildheader/db.h:323:1: error: empty struct has size 0 in C, size 1 in C++ [-Werror,-Wextern-c-compat]
      struct __toku_db_lsn {
      ^
      1 error generated.
      make[2]: *** [storage/tokudb/ft-index/locktree/CMakeFiles/locktree_static.dir/locktree.cc.o] Error 1
      make[1]: *** [storage/tokudb/ft-index/locktree/CMakeFiles/locktree_static.dir/all] Error 2
      make: *** [all] Error 2
      

      This should either be fixed, or TokuDB should be disabled on OS X for now.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              elenst Elena Stepanova added a comment -

              See also MDEV-6869

              Show
              elenst Elena Stepanova added a comment - See also MDEV-6869
              Hide
              bailey Charles Bailey added a comment -

              Aside questions about whether Toku is supported under OS X (cf MDEV-6869), the failure arises from addition of -Werror in TokuSetupCompiler.cmake; the clang version Apple releases warns on some constructs in the TokuDB source. Removing -Werror allows the build to complete, and the resulting binaries pass all of the toku tests in the regression suite for 10.1.4. So the attached patch reserves -Werror for maintainer/debug builds.

              Show
              bailey Charles Bailey added a comment - Aside questions about whether Toku is supported under OS X (cf MDEV-6869 ), the failure arises from addition of -Werror in TokuSetupCompiler.cmake; the clang version Apple releases warns on some constructs in the TokuDB source. Removing -Werror allows the build to complete, and the resulting binaries pass all of the toku tests in the regression suite for 10.1.4. So the attached patch reserves -Werror for maintainer/debug builds.

                People

                • Assignee:
                  serg Sergei Golubchik
                  Reporter:
                  kolbe Kolbe Kegel
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated: