-
Notifications
You must be signed in to change notification settings - Fork 7
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
remove compile option -fno-stack-protector
#529
Conversation
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.
I don't think it's good idea.
Just why? Yes, it should be same by default, but for what reason we need to do something implicit instead of explicit
This PR removes an explicitly set compile option, so we use less custom options and more rely on the defaults.
|
Well and potentially slower, our perf tests don't really prove that it is not slower.
Already done, if it's not default it's strange compiler.
I don't agree, for different compilers, os etc it could be different defaults, so we implicit could have different in terms of options binaries
You probably meant oskar + circleci. |
Yes, the potential slowdown is of course a disadvantage. That's why I ran the performance tests.
Why is there a performance difference then when removing the option from our build scripts?
Agree, but that is true for all other options which we don't set explicitly.
I agree this option, if we want to set it explicitly, should be set by our CMake and not by anything outside. |
I already wrote, and you ignored it.
For strange/new compiler it could be.
In ideal world all options are explicit. But we couldn't do it, so I suggest to do not make more implicit options |
Closing as obsolete. |
Removes compile option -fno-stack-protector, which is potentially not needed anymore. This can slightly simplify the build process.
ArangoDB PR: arangodb/arangodb#19464
Performance test run: https://jenkins.arangodb.biz/view/Performance/job/perf-simple-branch/96/