Re: [PATCH] driver: Fix bootstrap with --enable-default-pie

2023-12-05 Thread Richard Biener
On Tue, 5 Dec 2023, Jakub Jelinek wrote: > Hi! > > On IRC Iain mentioned bootstrap is broken for him presumably since > r14-5791 -fhardened addition. I think it is only a problem with > --enable-default-pie when the case OPT_pie: wants to fall through > into case OPT_r: and warns. > Before the p

[PATCH] driver: Fix bootstrap with --enable-default-pie

2023-12-05 Thread Jakub Jelinek
Hi! On IRC Iain mentioned bootstrap is broken for him presumably since r14-5791 -fhardened addition. I think it is only a problem with --enable-default-pie when the case OPT_pie: wants to fall through into case OPT_r: and warns. Before the patch validated = true; was set up if ENABLE_DEFAULT_PIE