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

Compiling failure when set cmake flag with "-DCMAKE_BUILD_TYPE=debug"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Cannot Reproduce
    • 10.0.17
    • N/A
    • Compiling
    • Centos6.5 Kernel 2.6.32-431.el6.x86_64

    Description

      First, I run cmake with debug option:

      cmake -DWITH_JEMALLOC=yes -DCMAKE_BUILD_TYPE=debug  ../mariadb-10.0.17
      ...
      -- Build files have been written to: /home/strong/project/MySQL_Chinese_Comments_Debug

      Then, I run make and I got an error:

      [ 69%] Building C object storage/maria/unittest/CMakeFiles/ma_test_loghandler_pagecache-t.dir/ma_loghandler_examples.c.o
      Linking CXX executable ma_test_loghandler_pagecache-t
      collect2: ld returned 1 exit status
      make[2]: *** [storage/maria/unittest/ma_test_loghandler_pagecache-t] Error 1
      make[1]: *** [storage/maria/unittest/CMakeFiles/ma_test_loghandler_pagecache-t.dir/all] Error 2
      make: *** [all] Error 2

      Attachments

        Activity

          People

            Unassigned Unassigned
            zhrzhang Zhirui Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.