need GCC options to disable function cloning
Work done by Richard Lowe. The idea has been circled around before...
Updated by John Levon over 1 year ago
- Subject changed from Makefile.master: introduce GCCNEXT to guard options gcc 4 doesn't understand to need GCC options to disable function cloning
- Assignee changed from Toomas Soome to John Levon
For newer GCCs, we need to specify -fno-clone-functions and -fno-ipa-icf as part of Makefile.master's
These options prevent GCC from making copies of functions, and removing identical functions, so dtrace and friends can still find them as expected.
Because GCC4 doesn't understand them, we need to specify them as _gcc6=... etc.
Updated by Electric Monk over 1 year ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 6b544f0e850631b170bc4e905cf726275acfd586 Author: John Levon <email@example.com> Date: 2018-10-09T15:20:47.000Z 9420 need GCC options to disable function cloning Reviewed by: Toomas Soome <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>