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

make fails even if cmake suceeds

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.2.9
    • 10.2
    • Compiling
    • None
    • Centos 7

    Description

      compilaton fails

      cmake ../server -DBUILD_CONFIG=mysql_release -DWITH_JEMALLOC=yes
      cmake finishes fine, but make fails
      [  2%] Building C object pcre/CMakeFiles/pcre.dir/pcre_byte_order.c.o
      In file included from /usr/src/server/pcre/pcre_byte_order.c:50:0:
      /usr/src/server/pcre/pcre_internal.h:467:2: error: #error LINK_SIZE must be either 2, 3, or 4
       #error LINK_SIZE must be either 2, 3, or 4
        ^
      make[2]: *** [pcre/CMakeFiles/pcre.dir/pcre_byte_order.c.o] Error 1
      make[1]: *** [pcre/CMakeFiles/pcre.dir/all] Error 2
      make: *** [all] Error 2
      

      Also, the repository version does not load jemalloc. I can load it when using mysqld_safe, using the preload var, but how do I do this with systemd and mariadb.service?

      Attachments

        Activity

          People

            serg Sergei Golubchik
            philip_38 Philip orleans
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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