[MDEV-7902] Compiling failure when set cmake flag with "-DCMAKE_BUILD_TYPE=debug" Created: 2015-04-03  Updated: 2020-12-30  Due: 2015-04-24  Resolved: 2015-04-07

Status: Closed
Project: MariaDB Server
Component/s: Compiling
Affects Version/s: 10.0.17
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Zhirui Zhang Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: compile, debug
Environment:

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



 Comments   
Comment by Elena Stepanova [ 2015-04-03 ]

Please provide the whole build log.

Comment by Zhirui Zhang [ 2015-04-07 ]

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.

Generated at Thu Feb 08 07:23:08 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.