Re: PATCH: pass sysroot to cc1plus

2012-12-11 Thread Etienne Le Sueur
Richard Biener wrote: On Mon, Dec 3, 2012 at 9:03 PM, Etienne Le Sueur wrote: First ping... anyone? A sysroot of /dev/null does not sound like something that we should support. If we do the semantics of this setting should be documented somewhere. Richard. On 28/11/12 1:21 PM, Etienne Le S

PATCH: pass sysroot to cc1plus

2012-12-03 Thread Etienne Le Sueur
4.7.2. If this is not the correct way to solve this problem, please suggest a better approach. Regards, Etienne Le Sueur [1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54560 diff --git a/gcc-4.6.3/gcc/cp/lang-specs.h b/gcc-4.6.3/gcc/cp/lang-specs.h index a73aba3..873609a 100644 --- a/gcc

Re: PATCH: pass sysroot to cc1plus

2012-12-03 Thread Etienne Le Sueur
First ping... anyone? On 28/11/12 1:21 PM, Etienne Le Sueur wrote: Hi, With a sysroot of /dev/null, passing a .i file to cc1plus causes it to attempt to open /dev/null/usr/include, which fails. This causes problems for ccache and distcc. There is an open bugzilla ticket at [1]. The patch