When using gentoo-hardened with the new fortify-source-3.patch built into gcc-12.2.1_p20230428-r1 , net-vpn/i2pd package with the i2p-hardening USE flag enabled: results in a warning about a definition redefined collision. <command-line>: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition Meaning the package has _F_S=2 hardcoded internally: @ CMakeLists.txt line 134 : add_definitions("-D_FORTIFY_SOURCE=2") @ & build.ninja (generated command) that flag should be stripped so _F_S=3 can take effect from the gcc spec profile without conflict.
Created attachment 864560 [details] i2pd build.log FORTIFY_SOURCE redefined