mingw-cross-env-list
[Top][All Lists]
Advanced

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

Re: [Mingw-cross-env-list] stack smashing on i686 with -O3 since da82d07


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] stack smashing on i686 with -O3 since da82d07dbe
Date: Mon, 02 Nov 2015 13:14:31 +1100

> On 2 Nov 2015, at 05:27, Nagaev Boris <address@hidden> wrote:
> 
> On Fri, Oct 30, 2015 at 10:45 PM, Nagaev Boris <address@hidden> wrote:
>> On Mon, Oct 26, 2015 at 11:16 PM, Moritz Bunkus <address@hidden> wrote:
>>> Hey,
>>> 
>>> addendum: compiling with a i686 gcc 5.2.1 on a 32bit Ubuntu Wily (NOT a
>>> cross-compiler) with -O3 creates a (Linux) binary that does not crash
>>> and that runs without errors within valgrind.
>>> 
>>> So far it looks like an issue limited to mingw in general or mxe in
>>> particular.
>>> 
>>> Kind regards,
>>> mosu
>> 
>> Moritz,
>> 
>> I have found a similar case:
>> https://github.com/mxe/mxe/issues/964
>> Can you verify it, please?
>> 
> 
> The bug was reported to upstream:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68175

This one looks like a different case as it’s triggered with -O3 and isn’t
reproduced on linux.

`-fno-ipa-cp-clone` will prevent the crash.

Cheers,

Tony




reply via email to

[Prev in Thread] Current Thread [Next in Thread]