need GCC options to disable function cloning
Work done by Richard Lowe. The idea has been circled around before...
Updated by John Levon over 2 years 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 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 6b544f0e850631b170bc4e905cf726275acfd586 Author: John Levon <firstname.lastname@example.org> Date: 2018-10-09T15:20:47.000Z 9420 need GCC options to disable function cloning Reviewed by: Toomas Soome <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>