gnucash-on-windows master: Bug 781476 - Online Banking Wizard Crashes for Windows

John Ralls jralls at code.gnucash.org
Sat Jun 24 20:40:23 EDT 2017


Updated	 via  https://github.com/Gnucash/gnucash-on-windows/commit/15c983d7 (commit)
	from  https://github.com/Gnucash/gnucash-on-windows/commit/f807b4f5 (commit)



commit 15c983d76ccd17f78264984b7260e989718aedc0
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Jun 24 17:39:29 2017 -0700

    Bug 781476 - Online Banking Wizard Crashes for Windows
    
    gcc 4.6+ (tested up to 6.3) will optimize away the frame pointer which
    corrupts the stack when compiling Gwenhywfar. Telling it not to with
    -fno-omit-frame-pointer fixes the crash.

diff --git a/install-impl.sh b/install-impl.sh
index acfac61..304969e 100644
--- a/install-impl.sh
+++ b/install-impl.sh
@@ -663,6 +663,7 @@ function inst_gwenhywfar() {
                 --prefix=$_GWENHYWFAR_UDIR \
                 --with-guis=gtk2 \
                 CPPFLAGS="${GNOME_CPPFLAGS} ${GNUTLS_CPPFLAGS} `pkg-config --cflags gtk+-2.0`" \
+                CFLAGS="-g -O2 -fno-omit-frame-pointer" \
                 LDFLAGS="${GNOME_LDFLAGS} ${GNUTLS_LDFLAGS} -lintl"
             make
 #            [ "$CROSS_COMPILE" != "yes" ] && make check



Summary of changes:
 install-impl.sh | 1 +
 1 file changed, 1 insertion(+)



More information about the gnucash-changes mailing list