Re: hardening=+all caused CPPFLAGS missing (-D_FORTIFY_SOURCE=2)
On Thu, Nov 05, 2020 at 10:58:16AM -0500, Tong Sun wrote:
> On Thu, Nov 5, 2020 at 10:52 AM Carlos Henrique Lima Melara wrote:
> > On Thu, Nov 05, 2020 at 08:49:33AM -0500, Tong Sun wrote:
> > >
> > So, looking at the build log after you removed the export from d/rules 
> > seens to build with -D_FORTIFY_SOURCE=2 (look at line 1223).
> >  https://salsa.debian.org/debian/shc/-/jobs/1138271
> > > On Thu, Nov 5, 2020 at 8:21 AM Andrey Rahmatullin wrote:
> > > > On Thu, Nov 05, 2020 at 08:08:17AM -0500, Tong Sun wrote:
> > > > >
> > > > > Anything else I can do?
> > > >
> > > > If blhc complains even without this line, I suspect it captures the
> > > > comnpilation lines from the tests, in which case you can either ignore
> > > > that or change the test commands. Always read the build log manually
> > > > before trying to fix blhc output.
> > This may be what's happening.
> So I just ignore it, without trying to fix blhc?
I think you can ignore for now but would be really nice if you could report
it to the upstream or fill a bug in the blhc package.
Maybe someone else could opinion on this matter too.