Re: [PATCH] tools lib symbol: Use -D_FORTIFY_SOURCE=2 for non-debug builds

From: Diederik de Haas
Date: Mon Apr 01 2024 - 07:51:59 EST


On Sunday, 30 April 2023 11:11:26 CEST Uwe Kleine-König wrote:
> On 4/29/23 23:05, Ian Rogers wrote:
> > On Apr 24, 2023 at 3:28 AM Uwe Kleine-König <ukleinek@xxxxxxxxxx> wrote:
> >> Commit 160be157eaba ("tool lib symbol: Add Makefile/Build") failed to
> >> define _FORTIFY_SOURCE to 2, probabaly this was cut&pasted from other
> >> Makefiles with the same problem.
> >>
> >> Fixes: 160be157eaba ("tool lib symbol: Add Makefile/Build")
> >> Signed-off-by: Uwe Kleine-König <ukleinek@xxxxxxxxxx>
> >
> > Acked-by: Ian Rogers <irogers@xxxxxxxxxx>
>
> Thanks
>
> > Same problem here I think:
> > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/to
> > ols/lib/api/Makefile#n42
> Indeed, and similar patch here:
>
> https://lore.kernel.org/all/20230424102049.58338-1-ukleinek@xxxxxxxxxx/

I noticed this (and the other linked) patch haven't been merged yet.
What's needed to move this forward?

Attachment: signature.asc
Description: This is a digitally signed message part.