On Sun, 2022-08-21 at 19:39 -0700, Reid Wahl via Gcc-help wrote: For the title: -fno-builtin only prevents gcc to convert foo() to __builtin_foo(). If you write __builtin_foo() directly built-in will be used with or without -fno-builtin. The remaining discussion is not related to GCC anyway. _FORTIFY_SOURCE is a Glibc (not GCC) feature, and it's just enabled by default because the distro is *too* smart... I completely agree to add - D_FORTIFY_SOURCE when they build their .deb packages, but hard wiring this into GCC is just puzzling new users and causing them to wrongly believe this was a "feature" of vanilla GCC. To make things worse, many people use Ubuntu as their first Linux distro... -- Xi Ruoyao <xry111@xxxxxxxxxxx> School of Aerospace Science and Technology, Xidian University