add build option -rdynamic in CMakeList.txt (#3632)

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
Signed-off-by: shengjun.li <shengjun.li@zilliz.com>
pull/3745/head
Cai Yudong 2020-09-08 09:59:11 +08:00 committed by shengjun.li
parent 11c68b20c2
commit b2bbf7b847
2 changed files with 3 additions and 1 deletions

View File

@ -35,7 +35,6 @@ Please mark all changes in change log and use the issue from GitHub
- \#3446 ListIDInSegment get wrong result when delete more than one ids
- \#3448 RHNSWFlatTest failed
- \#3453 Fix server crashed during stability test
- \#3490 Fix ut DBTest.DeleteEntitiesTest assert fail
- \#3482 Server crashed during adding entities
- \#3490 Fix ut DBTest.DeleteEntitiesTest assert fail
- \#3511 SearchTask::nq() should not return 0
@ -68,6 +67,7 @@ Please mark all changes in change log and use the issue from GitHub
- \#3220 Enable -Werror to improve code quality
- \#3449 Upgrade master version to v0.11.0
- \#3465 Optimize gc event executor
- \#3631 Add build option `-rdynamic` in CMakeList.txt
## Task

View File

@ -96,12 +96,14 @@ else ()
message( FATAL_ERROR "Unknown CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}" )
endif ()
# option "-rdynamic" is to print out detailed backtrace info for debug-ease
append_flags( CMAKE_CXX_FLAGS
FLAGS
"-fPIC"
"-DELPP_THREAD_SAFE"
"-fopenmp"
"-Werror"
"-rdynamic"
)
# **************************** Coding style check tools ****************************