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

      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

            Assignee:
            Unassigned
            Reporter:
            zhrzhang Zhirui Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: