17:36 <f_> jvoisin: is fortify-headers expected to work on ancient gcc versions?
17:37 <f_> I get this error when building with gcc6: /usr/include/fortify/fortify-headers.h:56:67: error: missing binary operator before token "("
17:37 <f_> #if _FORTIFY_SOURCE > 2 && defined __has_builtin && __has_builtin (__builtin_dynamic_object_size)
18:10 <f_> the usecase here is compiling kernels in postmarketOS, that are downstream vendor kernels (think 3.x, 4.x)
18:10 <f_> I caught this while upgrading a bunch of our device ports to armv7 from armhf
18:10 <f_> (because they target armv7 devices, and have no reason to be armhf)
18:11 <f_> jvoisin: pmOS repositories have gcc4 and gcc6 packages, if that helps
18:11 <f_> https://pkgs.postmarketos.org/packages?name=gcc4&branch=master&repo=&arch=&origin= https://pkgs.postmarketos.org/packages?name=gcc6&branch=master&repo=&arch=&origin=
As reported on irc: