On Sat, 2020-06-27 at 15:47 -0400, Eddy wrote: > > That's to say > > ./configure CFLAGS="-02" > > creates a Denemo binary that crashes on startup while > > ./configure CFLAGS="-00" > > gives one that does not crash? > > That's correct. > > > Out of curiosity what does -O1 do? > > It produces a working binary. > > I tried to track down a list of the compiler optimizations that -O2 > enables that -O1 doesn't, well, life is probably too short for that :), with reputable compilers it is much more common to find that the bug is in the C-code being compiled rather than the compiler's optimizer but in this case the Denemo code at exportlilypond.c:3518 seems to be rock solid, so perhaps it is something in the GtkSourceView library function being called that is triggering the error. Workaround is obvious - as I say I've not noticed it affect the performance...
Thanks for the investigations, Richard > but I can't seem to find that list for the > compiler I'm using: > > Configured with: -- > prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx- > include-dir=/usr/include/c++/4.2.1 > Apple LLVM version 9.1.0 (clang-902.0.39.2) > Target: x86_64-apple-darwin17.7.0 > Thread model: posix > InstalledDir: > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xc > toolchain/usr/bin > > Eddy > > > >
