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

Tokudb compile failure on gcc-6.1/5.4.0

    Details

      Description

      Attached is the build log:

      Two errors:

      [  8%] Building C object strings/CMakeFiles/strings.dir/ctype-win1250ch.c.o
      cd /build/build/strings && /usr/bin/gcc-6  -DDISABLE_MYSQL_THREAD_H -DHAVE_CONFIG_H -I/build/build/include -I/source/include  -m64 -O3 -g -mtune=native -fPIC -O -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing  -Wno-uninitialized -DENABLED_DEBUG_SYNC -ggdb3 -DSAFE_MUTEX -DSAFEMALLOC -Wall -Wextra -Wformat-security -Wvla -Wwrite-strings -Wdeclaration-after-statement   -o CMakeFiles/strings.dir/ctype-win1250ch.c.o   -c /source/strings/ctype-win1250ch.c
      In file included from /source/zlib/zconf.h:12:0,
                       from /source/zlib/zlib.h:34,
                       from /source/storage/tokudb/PerconaFT/ft/serialize/compress.h:41,
                       from /source/storage/tokudb/PerconaFT/ft/serialize/sub_block.h:41,
                       from /source/storage/tokudb/PerconaFT/ft/txn/rollback.h:42,
                       from /source/storage/tokudb/PerconaFT/ft/logger/log.h:48,
                       from /source/storage/tokudb/PerconaFT/ft/ft.h:45,
                       from /source/storage/tokudb/PerconaFT/ft/ft-internal.h:47,
                       from /source/storage/tokudb/PerconaFT/ft/ft-flusher.h:41,
                       from /source/storage/tokudb/PerconaFT/src/ydb.cc:52:
      /build/build/include/config.h:681:2: error: #error <my_config.h> MUST be included first!
       #error <my_config.h> MUST be included first!
        ^~~~~
      yes
      

        8%] Building CXX object storage/tokudb/PerconaFT/locktree/CMakeFiles/locktree_static.dir/txnid_set.cc.o
      cd /build/build/storage/tokudb/PerconaFT/locktree && /usr/bin/g++-6   -DHAVE_CONFIG_H -DTOKUDB_VERSION=5.6.30-76.3 -DTOKU_DEBUG_TXN_SYNC=1 -DTOKU_PTHREAD_DEBUG=1 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=600 -D__LONG_LONG_SUPPORTED -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/build/build/storage/tokudb/PerconaFT/buildheader -I/build/build/include -I/build/build/storage/tokudb/PerconaFT/./xz/include -I/build/build/storage/tokudb/PerconaFT/./snappy/include -I/source/storage/tokudb/PerconaFT/portability -I/source/storage/tokudb/PerconaFT -I/build/build/storage/tokudb/PerconaFT -I/build/build/storage/tokudb/PerconaFT/portability -isystem /source/zlib -I/source/storage/tokudb/PerconaFT/locktree -isystem /usr/local/include  -std=c++11 -Wall -Werror -Wcast-align -Wshadow -Wmissing-format-attribute -Wpointer-arith -Wmissing-declarations -Wno-missing-noreturn -Wextra -Wno-error=strict-overflow -fno-omit-frame-pointer -Wpacked -fno-exceptions -fno-rtti -Wno-pointer-bool-conversion -Wno-ignored-attributes -Wno-error=maybe-uninitialized -Wno-error=missing-format-attribute -Wmissing-format-attribute -Wlogical-op -Wtrampolines -Wswitch -Winit-self -Wstrict-null-sentinel -Wno-missing-field-initializers -Wno-missing-field-initializers -std=c++11 -Wno-deprecated-declarations -m64 -O3 -g -mtune=native -fPIC -fno-exceptions -fno-rtti -Wno-vla -Wno-vla -g3 -O0 -O -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -Wno-uninitialized -DENABLED_DEBUG_SYNC -ggdb3 -DSAFE_MUTEX -DSAFEMALLOC -Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual -Wno-unused-parameter -Wno-vla -DTOKUDB_DEBUG   -fvisibility=hidden -fPIC  -o CMakeFiles/locktree_static.dir/txnid_set.cc.o -c /source/storage/tokudb/PerconaFT/locktree/txnid_set.cc
      no
      checking whether pthreads work with -kthread... cc1plus: error: unrecognized command line option '-Wno-pointer-bool-conversion' [-Werror]
      cc1plus: all warnings being treated as errors
      no
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                danblack Daniel Black
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: