Frank Steinmetzger <[email protected]> writes: > On Mon, Mar 12, 2018 at 01:40:48AM +0100, David Kastrup wrote: >> Frank Steinmetzger <[email protected]> writes: >> > […] >> > This snippet causes Lilypond to crash on my machines. Both run Gentoo Linux >> > with identical versions, namely Lilypoind 2.18.2. I installed 2.18.2 on an >> > Ubuntu and an Arch installation. Both of them have no problem. :'-( >> >> You are likely compiling 2.18.2 with a compiler version that is too new >> (and optimises out a this == 0 comparison). There is an issue/patch in >> the 2.19 development fixing this but you might find a compiler option >> that leaves off this optimization. > > FWIW: I’m on gcc 6.4.0, the compiler flags used to build Lilypond are: > -march=native -O2 -fomit-frame-pointer -pipe -ggdb > AFAIR, -O2 is the default on a Gentoo system.
All utterly irrelevant. You'd need something like -fno-delete-null-pointer-check (I am not sure this is the actual option: I cannot find something more specific in the manual). > There is 2.19.80 available in the repository, so I could give it a try easily. Probably the easiest way out. -- David Kastrup _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
