|
From: | Ben Abbott |
Subject: | [Octave-patch-tracker] [patch #9439] Fix Java >1.8 on Mac |
Date: | Fri, 13 Oct 2017 15:34:00 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38 |
Follow-up Comment #13, patch #9439 (project octave): I adjusted the patch and am now able to run the GUI using qt4 on macOS. The trick was to set and export ASAN_OPTIONS to an empty string when the address sanitizer wasn't being used. diff --git a/run-octave.in b/run-octave.in --- a/run-octave.in +++ b/run-octave.in @@ -111,8 +111,11 @@ OCTAVE_SITE_INITFILE="$top_srcdir/script OCTAVE_VERSION_INITFILE="$top_srcdir/scripts/startup/version-rcfile"; export OCTAVE_VERSION_INITFILE if [ "$ADDRESS_SANITIZER_ENABLED" = yes ]; then - ASAN_OPTIONS=symbolize=1; export ASAN_OPTIONS + ASAN_OPTIONS=symbolize=1 +else + ASAN_OPTIONS= fi +export ASAN_OPTIONS exec $builddir/libtool --mode=execute $driver \ "$octave_executable" --no-init-path --path="$LOADPATH" \ (file #42139) _______________________________________________________ Additional Item Attachment: File name: octave_devel_mac_java6.patch Size:2 KB _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/patch/?9439> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |