GCC 4.7.0RC: Mangled names in cc1

Ludovic Courtès ludovic.courtes@inria.fr
Fri Mar 9 13:26:00 GMT 2012


Hi,

ludovic.courtes@inria.fr (Ludovic Courtès) skribis:

> Andrew Pinski <pinskia@gmail.com> skribis:
>
>> 2012/3/9 Ludovic Courtès <ludovic.courtes@inria.fr>:
>>
>>> I believe this is not intentional, right?
>>
>> No, this is intentional.  We bootstrap the compiler using the C++
>> front-end now.  We build stage1 with the C compiler and then build
>> stages 2 and 3 with the C++ compiler.
>
> OK.
>
> However, this means that plug-ins must now be built with g++, except
> when GCC was configured with --disable-build-poststage1-with-cxx.  This
> seems difficult to deal with, for plug-in writers.

I’m really concerned about the maintenance difficulties that this change
entails for external plug-ins.

Would something along these lines be acceptable at this stage?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 510 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20120309/e993cba9/attachment.bin>
-------------- next part --------------

(The same should be applied to all the headers listed in
‘PLUGIN_HEADERS’, at least.)

Or was it already considered and rejected?

Thanks,
Ludo’.


More information about the Gcc mailing list