Details
-
Task
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Following https://github.com/MariaDB/server/pull/3744, it is quite clear that many platform specific flags are defined for obsolete platforms in cmake/build_configurations/mysql_release.cmake
It still is possible that some distribution maintains a specific version / architecture. We should do a bit of research / community outreach asking for user feedback before dropping them.
This task should also cover EoL compiler workarounds & flags.
See PR comments for specific remarks marko.
Attachments
Issue Links
- relates to
-
MDEV-19734 investigate the performance effects of -O2 vs -O3 , possibly -O1 for gcc
-
- Open
-
-
MDEV-35461 Remove redundant checks for standard library functions
-
- Open
-
-
MDEV-35462 Remove redundant checks for obsolete compiler features
-
- Open
-
Also, there is an old discussion about -O2 vs -O3. -O3 is remnant of the autotools build system. I do not remember there was ever a measurement how much does -O3 bring compared to Maybe we can leave the flags as-is, and just use RelWithDebInfo's "-O2 -g" (perhaps even adding -fno-omit-frame-pointer to the mix, to please profiling and other tools that depend on good stack trace)