Re: [patch driver]: Fix relocatable toolchain path-replacement in driver

2013-09-11 Thread Joseph S. Myers
On Wed, 11 Sep 2013, Kai Tietz wrote: > > update_path should, as I understand it, always be called with PATH being a > > relocated path (one that has had the configured prefix converted to the > > prefix where the toolchain is in fact installed, using > > make_relative_prefix, or that doesn't need

Re: [patch driver]: Fix relocatable toolchain path-replacement in driver

2013-09-11 Thread Kai Tietz
2013/9/11 Joseph S. Myers : > On Wed, 11 Sep 2013, Kai Tietz wrote: > >> This change fixes a quirk happening for relocated toolchains. Driver >> remembers original-build directory > > The original *build* directory should never be known to the driver; only > the *configured* prefix. > > This area

Re: [patch driver]: Fix relocatable toolchain path-replacement in driver

2013-09-11 Thread Joseph S. Myers
On Wed, 11 Sep 2013, Kai Tietz wrote: > This change fixes a quirk happening for relocated toolchains. Driver > remembers original-build directory The original *build* directory should never be known to the driver; only the *configured* prefix. This area is complicated and subtle; you need to b

[patch driver]: Fix relocatable toolchain path-replacement in driver

2013-09-11 Thread Kai Tietz
Hi, This change fixes a quirk happening for relocated toolchains. Driver remembers original-build directory in std_prefix variable for being able later to modify path. Sadly this std_prefix variable gets modified later on, and so update_path can't work any longer as desired. This patch fixes th