On Wed, 9 Nov 2011, Tobias Burnus wrote:

> Steve Kargl wrote:
> > With top of tree, I'm seeing
> > 
> > % ../gcc4x/configure --prefix=$HOME/work --enable-languages=c,fortran \
> > --disable-libmudflap --disable-bootstrap
> > % gmake
> 
> I think the issue is that by default the trunk is build (stage 1) by the
> system C compiler and the next stages (Stage 2 and 3) are build by the
> just-build C++ compiler. Thus, the C++ compiler supports the latest C++
> features and also the latest options.
> 
> If one now uses --disable-bootstrap, the system C++ compiler is used to
> compile the first and last stage - but if the system C++ compiler is slightly
> older, it might not support the newest compiler flags.

libitm is a target library, not a host library.  Under no circumstances 
should it ever be built with a C++ compiler other than that newly built as 
part of GCC.  If the C++ compiler is not being built then libitm should 
not be built.  If the C++ compiler is being built, the newly built 
compiler should be what it used to build libitm.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to