[Top][All Lists]

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

Re: Emacs build fails [MSYS2/MINGW64]

From: Angelo Graziosi
Subject: Re: Emacs build fails [MSYS2/MINGW64]
Date: Mon, 29 Apr 2019 13:53:05 +0200 (CEST)

> Il 28 aprile 2019 alle 18.10 Paul Eggert <address@hidden> ha scritto:
> Angelo Graziosi wrote:
> > Starting with this commit:
> > 
> > Paul Eggert :
> > Mark _Noreturn error functions as cold
> > 2019-04-18 00:35:18
> > 
> > the build of Emacs up to master (the last I tried is 75ee20364) fails 
> > (bootstrap-emacs.pdmp SEGMENT FAULT).
> That's odd, since adding __attribute__ ((cold)) should affect only 
> performance. 
> If it causes a core dump, that suggests that there is a bug either somewhere 
> else in Emacs (which __attribute__ ((cold)) happens to tickle) or in the 
> compiler. Can you reproduce the problem when compiling with '-g3 -O0 
> -gdwarf-4' 
> and get a backtrace, as suggested in etc/DEBUG?

Just for completeness...

It seems that it is the optimization flag which causes the issue. Using "-O0" 
on place of "-O2" or "-O3" in my script fixes the issue...

reply via email to

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