Re: Re: Re: GCC ICE bug with segfault...

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

 



Well you should really have said you were using the PCH
because it is a known issue and a patch is available at
https://github.com/Alexpux/MINGW-packages/blob/master/mingw-w64-gcc-git/0010-Fix-using-large-PCH.patch .

------------------				 
Best regards,
lh_mouse
2016-08-23

-------------------------------------------------------------
发件人:leon zadorin <leonleon77@xxxxxxxxx>
发送日期:2016-08-23 09:06
收件人:gcc-help
抄送:
主题:Re: Re: GCC ICE bug with segfault...

On Tue, Aug 23, 2016 at 10:24 AM, leon zadorin <leonleon77@xxxxxxxxx> wrote:
> On Mon, Aug 22, 2016 at 11:54 PM, lhmouse <lh_mouse@xxxxxxx> wrote:
>> Got 6.2 and tried it. No ICE.
>> Perhaps the bug occurs on trunk only.
>
> Ah yes -- I think I recall now (just rebuilt 6.1 on my end, no ICE for
> the reported -Wall bug). I was having unrelated issues with 6.1 (from
> distant memory, if using precompiled header, c++ compiler would exit
> early and silently when building the final exe). I was going to
> experiment with things like -Wall, -Winvalid-pch, -v, -H options,

Ha, all good :) host-mingw32.c has limit pch_VA_max_size = 128 * 1024 * 1024
whereas my precomp header is about 400MB (I've forgotten about this
when downloading 6.1 sources), changing this limit helps indeed :)
sorry for the noise as usual :)






[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux