[Bug testsuite/42843] --enable-build-with-cxx plugin tests fail

iains at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jul 12 12:54:00 GMT 2010



------- Comment #10 from iains at gcc dot gnu dot org  2010-07-12 12:54 -------
(In reply to comment #9)
> (In reply to comment #8)
> > Perhaps we just need something like...

> In the native boostrap case, you probably want
> CC_FOR_TARGET / CFLAGS_FOR_TARGET / CXX_FOR_TARGET / CXXFLAGS_FOR_TARGET,
> but you still need COMPILER COMPILER_FLAGS (or its equivalent) in the
> case of non-bootstrap builds (native or otherwise).

since the plugin is to run on the host, looking at the top level makefile
HOST_EXPORTS defines CC - so, as you say, the current settings in gcc/Makefile
are honoring that.  However, it's clear that CC is ending up set to the
bootstrap compiler and not the one built for stage2/3.  I wonder if that means
that HOST_EXPORTS needs to be re-written for each stage.. 

Is there any cross-tool known to support plugins? (I get no response for
cris-elf, s390x, mipsia64 and armel-linux-gnueabi).  No error, just silently
skips all plugin tests.

Or is there a requirement that the host compiler is >= some gcc version in that
case?


-- 

iains at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |iains at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42843



More information about the Gcc-bugs mailing list