Removing the -fno-stack-protector flag during compilation broke scilab's menubar and other GUI modules
Reported by Atri Bhattacharya
Screenshot showing inactive menubar and console log (147.33 KB, image/png)
Log file while building scilab
BUG DESCRIPTION:
----------------
Build scilab against java-openjdk >= 1.8.0.60, then start scilab. The menubar is inactive (unclickable) and I see the following message in the scilab console:
Startup execution:
loading initial environment
setmenu(gettext("&File"));
!--error 999
Scilab 'GUI' module not installed.
at line 169 of exec file called by :
exec('SCI/etc/scilab.start',-1);;
Other than that scilab works just fine, even scinotes menubar works. The only issue is with scilab console's menubar. I am guessing this is due to compiling against java > 1.8.0.60, since when scilab is compiled against older openjdk everything works.
ERROR LOG:
----------
Startup execution:
loading initial environment
setmenu(gettext("&File"));
!--error 999
Scilab 'GUI' module not installed.
at line 169 of exec file called by :
exec('SCI/etc/scilab.start',-1);;
Edited by scilab bot