Re: [PATCH] Use explicit -I for libstdc++-v3 header files

2012-11-29 Thread Andrew Pinski
On Thu, Nov 29, 2012 at 10:40 AM, H.J. Lu wrote: > On Thu, Nov 29, 2012 at 10:34 AM, Andrew Pinski wrote: >> On Thu, Nov 29, 2012 at 10:30 AM, H.J. Lu wrote: >>> Hi, >>> >>> Since libsanitizer is used for bootstrap and compiled with raw_cxx, >>> we need to use explicit -I for libstdc++-v3 header

Re: [PATCH] Use explicit -I for libstdc++-v3 header files

2012-11-29 Thread H.J. Lu
On Thu, Nov 29, 2012 at 10:34 AM, Andrew Pinski wrote: > On Thu, Nov 29, 2012 at 10:30 AM, H.J. Lu wrote: >> Hi, >> >> Since libsanitizer is used for bootstrap and compiled with raw_cxx, >> we need to use explicit -I for libstdc++-v3 header files in >> libsanitizer. Otherwise, we will get >> >>

Re: [PATCH] Use explicit -I for libstdc++-v3 header files

2012-11-29 Thread Andrew Pinski
On Thu, Nov 29, 2012 at 10:30 AM, H.J. Lu wrote: > Hi, > > Since libsanitizer is used for bootstrap and compiled with raw_cxx, > we need to use explicit -I for libstdc++-v3 header files in > libsanitizer. Otherwise, we will get > > libtool: compile: unrecognized option `-D_GNU_SOURCE' > libtool:

[PATCH] Use explicit -I for libstdc++-v3 header files

2012-11-29 Thread H.J. Lu
Hi, Since libsanitizer is used for bootstrap and compiled with raw_cxx, we need to use explicit -I for libstdc++-v3 header files in libsanitizer. Otherwise, we will get libtool: compile: unrecognized option `-D_GNU_SOURCE' libtool: compile: Try `libtool --help' for more information. This patch

Re: [PATCH] Use explicit -I for libstdc++-v3 header files to build libsanitizer

2012-11-19 Thread H.J. Lu
On Mon, Nov 19, 2012 at 12:09 AM, Jakub Jelinek wrote: > On Sun, Nov 18, 2012 at 09:07:07PM -0800, H.J. Lu wrote: >> This patch adds explicit -I for libstdc++-v3 header files when building >> libsanitizer so that it can be used for bootstrapping GCC. Othewise, >> -funconfigured-libstcd++-v3 will

Re: [PATCH] Use explicit -I for libstdc++-v3 header files to build libsanitizer

2012-11-19 Thread Jakub Jelinek
On Sun, Nov 18, 2012 at 09:07:07PM -0800, H.J. Lu wrote: > This patch adds explicit -I for libstdc++-v3 header files when building > libsanitizer so that it can be used for bootstrapping GCC. Othewise, > -funconfigured-libstcd++-v3 will be used to compile multilib > libsanitizer. OK to install?

[PATCH] Use explicit -I for libstdc++-v3 header files to build libsanitizer

2012-11-18 Thread H.J. Lu
Hi, This patch adds explicit -I for libstdc++-v3 header files when building libsanitizer so that it can be used for bootstrapping GCC. Othewise, -funconfigured-libstcd++-v3 will be used to compile multilib libsanitizer. OK to install? Thanks. H.J. --- 2012-11-18 H.J. Lu * Makefile