-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To link executables with -no-pie #582
Conversation
Unit testing passed. |
Could you describe the problem caused by glog in more detail? |
Actually, glog introduced a bug that will cause the symbol resolve fail for PIE, which is exactly the version we are currently using, which has been fixed the the latest release. |
@dutor I have a question, why not use the latest version of glog ? |
First, it makes little sense to us to enable PIE, by default. Second, we should try our best to reduce mandatory requirements on our dependencies, especially when we have better options to deal with the problems. FYI. we are going to move the third-party out from our repo. |
|
LGTM! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Unit testing passed. |
* add lock at processor level * add comments and fix issues in MockKVStore * add lock to delete vertices, delete tags, and sync data * remove todo comment * fix in src/storage/kv/SyncDataProcessor.cpp * fix SyncDataProcessor DeleteTagsProcessor DeleteVerticesProcessor * fix scope Conflicts: src/storage/exec/TagNode.h src/storage/exec/UpdateNode.h * add lock to AddVerticesProcessor * change lock scope in AddVerticesProcessor * not use unique_ptr * remove unique_ptr in AddVerticesProcesso * remove unique_ptr to all other files * remove comment in nebula store * add override in indextestuils.h Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
Some compilers are built with
-enable-default-pie
. That is no problem generally, but glog is buggy to deal with this when retrieve the backtrace. So we disable pie from our own side.