[MDEV-19360] Disable _FORTIFY_SOURCE for ASAN builds Created: 2019-04-29 Updated: 2019-06-07 Resolved: 2019-06-07 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling |
| Affects Version/s: | 5.5, 10.1, 10.2, 10.3, 10.4, 10.5 |
| Fix Version/s: | 10.2.25, 10.1.41, 10.3.16, 10.4.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Eugene Kosov (Inactive) | Assignee: | Eugene Kosov (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Those two do not work well together. https://github.com/google/sanitizers/wiki/AddressSanitizer#faq I think it should be fixed in CMakeLists.txt Additionally a check inside source code is needed because some OSs, like Ubuntu, enable _FORTIFY_SOURCE by default. |