[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: confusing message in Debian gcc "bug is not reproducible, so it is likely a hardware or OS problem"



On 24.09.2012 14:10, Basile Starynkevitch wrote:
> On Mon, Sep 24, 2012 at 01:49:29PM +0200, Matthias Klose wrote:
>> On 24.09.2012 13:27, Basile Starynkevitch wrote:
>>> Hello All,
>>>
>>> See http://gcc.gnu.org/ml/gcc/2012-09/msg00232.html for details about my suggestion.
>>>
>>> The message 
>>>   The bug is not reproducible, so it is likely a hardware or OS problem
>>> is apparently Debian specific http://gcc.gnu.org/ml/gcc/2012-09/msg00234.html
>>
>> this is a patch applied to Debian, Ubuntu, and afaik to Fedora (orginating from
>> Jakub).
>>
>>> But it is very confusing, since plugin failures also trigger it.
>>>
>>> I suggest to replace it with
>>>
>>>    The bug is not reproducible, so it could be a plugin, hardware or OS problem
>>
>> Why should it be a plugin problem if it's not reproducible?
> 
> 
> Ok, to say it in other words:
> 
>    experimentally, a plugin which calls fatal_error (and this is definitely an
>    acceptable behavior for plugins) makes Debian GCC output the original message,
>    which is very confusing since the error is really called by a plugin.
>    I have no idea if a plugin problem is considered or not as a non reproducible bug.
>    But certainly, a fatal_error from a plugin's pass should not make GCC gives a
>    message which suggest hardware issues, while it is simply due to some plugin.
> 
> It would be very nice if the error message contained the "plugin" word (at least
> when some plugin is used).

Basile, maybe you could extend the patch that it only adds the hint for the
plugin if some -plugin options are passed?


Reply to: