Re: [PATCH] Register --sysroot in the driver switches table

2022-01-10 Thread Olivier Hainque via Gcc-patches
> On 10 Jan 2022, at 09:00, Richard Biener wrote: > > On Wed, Jan 5, 2022 at 6:58 PM Olivier Hainque via Gcc-patches > wrote: >> >> >> >>> On 5 Jan 2022, at 10:26, Olivier Hainque wrote: >>> >>> The change should also set "validated" true >>> when requesting to save --sysroot. >> >>

Re: [PATCH] Register --sysroot in the driver switches table

2022-01-10 Thread Richard Biener via Gcc-patches
On Wed, Jan 5, 2022 at 6:58 PM Olivier Hainque via Gcc-patches wrote: > > > > > On 5 Jan 2022, at 10:26, Olivier Hainque wrote: > > > > The change should also set "validated" true > > when requesting to save --sysroot. > > The attached adjustment fixes the failure I could reproduce, > bootstraps

Re: [PATCH] Register --sysroot in the driver switches table

2022-01-05 Thread Olivier Hainque via Gcc-patches
> On 5 Jan 2022, at 10:26, Olivier Hainque wrote: > > The change should also set "validated" true > when requesting to save --sysroot. The attached adjustment fixes the failure I could reproduce, bootstraps and regtests fine on x86_64-linux, and passes a build + a couple of in-house

Re: [PATCH] Register --sysroot in the driver switches table

2022-01-05 Thread Olivier Hainque via Gcc-patches
Hi Martin, > On 5 Jan 2022, at 08:45, Martin Liška wrote: > > On 12/20/21 22:28, Olivier Hainque via Gcc-patches wrote: > I think the patch broke my cross-rx-gcc12 package, failing now with: > configure: error: in >

Re: [PATCH] Register --sysroot in the driver switches table

2022-01-04 Thread Martin Liška
On 12/20/21 22:28, Olivier Hainque via Gcc-patches wrote: Hello, This change adjusts the processing of --sysroot to save the option in the internal "switches" array, which lets self-specs test for it and provide a default value possibly dependent on environment variables, as in

Re: [PATCH] Register --sysroot in the driver switches table

2021-12-30 Thread Olivier Hainque via Gcc-patches
> On 28 Dec 2021, at 17:38, Jeff Law wrote: >> gcc/ >> * gcc.c (driver_handle_option): do_save --sysroot. > OK. Thanks for the prompt review Jeff! I have another simple one coming :)

Re: [PATCH] Register --sysroot in the driver switches table

2021-12-28 Thread Jeff Law via Gcc-patches
-the-driver-switches-table.patch From 964829ee06ffe1bedcbab6a3b4c92c5d161aaaed Mon Sep 17 00:00:00 2001 From: Olivier Hainque Date: Mon, 20 Dec 2021 17:47:24 +0000 Subject: [PATCH] Register --sysroot in the driver switches table This change adjusts the processing of --sysroot to save the option in th

[PATCH] Register --sysroot in the driver switches table

2021-12-20 Thread Olivier Hainque via Gcc-patches
Date: Mon, 20 Dec 2021 17:47:24 + Subject: [PATCH] Register --sysroot in the driver switches table This change adjusts the processing of --sysroot to save the option in the internal "switches" array, which lets self-specs test for it and provide a default value possibly d