Skip to content
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

DBG_MALLOC should disable compiler optimizations #838

Closed
liviuchircu opened this issue Mar 23, 2016 · 1 comment
Closed

DBG_MALLOC should disable compiler optimizations #838

liviuchircu opened this issue Mar 23, 2016 · 1 comment
Assignees
Milestone

Comments

@liviuchircu
Copy link
Member

It makes no sense to run with DBG_MALLOC in order to troubleshoot a crash / leak / race while enabling compiler optimizations (-O9), just to make your life harder.

In this case, OpenSIPS should automatically compile with -O0.

@liviuchircu liviuchircu self-assigned this Mar 23, 2016
@liviuchircu liviuchircu added this to the 2.2 milestone Mar 23, 2016
@ovidiusas
Copy link
Member

When DBG_MALLOC is set, the optimizations are disabled now.
Commit: 195a7e6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants