This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC5 optimization level causes runtime error in WINE
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Michael Cronenworth <mike at cchtml dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Mon, 9 Mar 2015 10:02:25 +0000
- Subject: Re: GCC5 optimization level causes runtime error in WINE
- Authentication-results: sourceware.org; auth=none
- References: <54FB86B8 dot 4040403 at cchtml dot com> <CAH6eHdRgB_BNBz7TZN04c3vH_LHC3TGOb5cUZtAFazB+phongQ at mail dot gmail dot com> <54FCE28B dot 70009 at cchtml dot com>
On 9 March 2015 at 00:00, Michael Cronenworth wrote:
> On 03/08/2015 07:30 AM, Jonathan Wakely wrote:
>>
>> Do you have any more details available somewhere I can see them? Maybe
>> in Fedora's bugzilla or on the devel@ list?
>
>
> The issue is only affecting 64-bit wine. A bug is opened but doesn't contain
> much additional information.
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1192725
Thanks.
>> Although -fno-strict-aliasing is unlikely to make any difference
>> because strict aliasing is only enabled at -O2 and above.
>>
>> You can also try -fsanitize=undefined to detect undefined behaviour at
>> runtime.
>
>
> As seen in my other e-mail, strict aliasing is disabled by wine. I attempted
> to build with the sanitize option, but gcc loops indefinitely when compiling
> "tools/makedep.c". I let it sit for several hours before breaking out. Wine
> normally takes about 5 minutes to compile on my machine. I can add the
> sanitize option to gcc 4.9 and it compiles makedep.c in a second.
Ouch. Please file a GCC bug and attach the preprocessed source for
makedep.c so we can reproduce and investigate that looping.