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

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

    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
      

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            elenst Elena Stepanova added a comment -

            Please provide the whole build log.

            Show
            elenst Elena Stepanova added a comment - Please provide the whole build log.
            Hide
            zhrzhang Zhirui Zhang added a comment -

            Today I run make again and again, and it seems all things are OK. So I must took a mistake before. I'm so sorry about that. Please close this issue.

            Show
            zhrzhang Zhirui Zhang added a comment - Today I run make again and again, and it seems all things are OK. So I must took a mistake before. I'm so sorry about that. Please close this issue.

              People

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

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: