Hello All, When a plugin calls fatal_error, the compilation naturally fails, but the last error message is misleading, it says (while getting a bug in the MELT plugin for example)
cc1: fatal error: MELT plugin module compilation failed (512) in /home/basile/tmp for command make -s -f /usr/lib/gcc/x86_64-linux-gnu/4.7/plugin/melt-module-0.9.7-rc1.mk GCCMELT_MODULE_SOURCEBASE=/tmp/filegInaXb-GccMeltTmp-e6c45b3/MELTrun0001_eXt GCCMELT_MODULE_BINARYBASE=/tmp/filegInaXb-GccMeltTmp-e6c45b3/MELTrun0001_eXt MELTGCC_BUILD_WITH_CXX=YesPlugin GCCMELT_CFLAGS=-I\ /usr/lib/gcc/x86_64-linux-gnu/4.7/plugin/melt-headers/0.9.7-rc1\ -I\ /usr/lib/gcc/x86_64-linux-gnu/4.7/plugin/include\ -I\ /usr/lib/gcc/x86_64-linux-gnu/4.7/plugin/include/c-family\ \ -DIN_GCC\ -DMELT_IS_PLUGIN\ -O GCCMELT_MODULE_WORKSPACE=/tmp/filegInaXb-GccMeltTmp-e6c45b3/ GCCMELT_MODULE_FLAVOR=runextend melt_module compilation terminated. The bug is not reproducible, so it is likely a hardware or OS problem. This last sentence is very confusing. I would like to replace it with e.g. The bug is not reproducible, so it could be a plugin, hardware or OS problem But I didn't find that string with grep on GCC trunk's source files. Where does that message come from? Regards. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***