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

mariadb server build with ASAN fails

    XMLWordPrintable

Details

    • 10.1.17-1

    Description

      build of mariadb server with clang 3.9.0 and with ASAN fails.

      $ CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_ASAN=ON ../mariadb-server
      -- Running cmake version 3.6.0
      -- The C compiler identification is Clang 3.9.0
      -- The CXX compiler identification is Clang 3.9.0
      -- Check for working C compiler: /home/rfp/usr/local/clang/bin/clang
      -- Check for working C compiler: /home/rfp/usr/local/clang/bin/clang -- works
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Check for working CXX compiler: /home/rfp/usr/local/clang/bin/clang++
      -- Check for working CXX compiler: /home/rfp/usr/local/clang/bin/clang++ -- works
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Looking for SHM_HUGETLB
      -- Looking for SHM_HUGETLB - found
      -- MariaDB 10.1.17
      -- Looking for sys/types.h
      -- Looking for sys/types.h - found
      -- Looking for stdint.h
      -- Looking for stdint.h - found
      -- Looking for stddef.h
      -- Looking for stddef.h - found
      -- Check size of void *
      -- Check size of void * - done
      -- Packaging as: mariadb-10.1.17-Linux-x86_64
      -- Performing Test HAVE_VISIBILITY_HIDDEN
      -- Performing Test HAVE_VISIBILITY_HIDDEN - Success
      -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
      -- Performing Test HAVE_C__fsanitize_address__O1__Wno_error__fPIC
      -- Performing Test HAVE_C__fsanitize_address__O1__Wno_error__fPIC - Success
      -- Performing Test HAVE_CXX__fsanitize_address__O1__Wno_error__fPIC
      -- Performing Test HAVE_CXX__fsanitize_address__O1__Wno_error__fPIC - Success
      -- Performing Test HAVE_C__faddress_sanitizer__O1__fPIC
      -- Performing Test HAVE_C__faddress_sanitizer__O1__fPIC - Failed
      -- Performing Test HAVE_CXX__faddress_sanitizer__O1__fPIC
      -- Performing Test HAVE_CXX__faddress_sanitizer__O1__fPIC - Failed
      CMake Error at CMakeLists.txt:202 (MESSAGE):
        Do not know how to enable address sanitizer
       
      -- Configuring incomplete, errors occurred!
      

      Attachments

        Activity

          People

            svoj Sergey Vojtovich
            prohaska7 Rich Prohaska
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.