From: <llo...@ya...> - 2019-06-15 12:09:15
|
Thanks Adrian and Rajmund, you provided the hints I needed, and I love you. One change I'd not considered in packaging SaVi for release was turning offgcc debugflags for release in savi-dev/src/Makefile - this is made manually outside the codetree, i.e. in the release tarball,not in any of my working directories. And I make it, not package maintainers. So # DEBUGFLAGS = -Wall -Wextra -Wconversion -pedantic -ansi The -ansi flag caused SaVi to segfault on writing to the geomview pipe with recent gcc, removing that flag fixed it. But why? gcc 7.3 or later now seems to crash this (7.3 on Microsoft App Ubuntu, 7.4 on cygwin, 8.3 on Ubuntu 18.10). Haven't tried earlier. Remove -ansi, make clean, make ARCH=whatever and all is well. Did printing to file get removed from gcc's interpretation of the ansi spec or something? puzzled Lloyd Wood http://savi.sf.net/ On Saturday, 15 June 2019, 19:42:18 GMT+10, Adrian Rossiter <ad...@an...> wrote: Hi Lloyd On Sat, 15 Jun 2019, lloyd.wood--- via geomview-users wrote: > I'm pretty familiar with and involved in the packaging of SaVi on ubuntu > and on cygwin, and the changes made are very minor. > > Yet geomview -run ./savi-dev/savi now fails on both ubuntu and cygwin, > while geomview -run savi to run the savi package works just fine. So, > it's something that has changed elsewhere, not sure what yet. I just quickly built the Savi 1.5.1 release tarball from Sourceforge on Ubuntu 18.04, and the program started up fine. $ geomview -run ./savi SaVi: selected platform-specific binary /home/adrian/proj/programs/savi1.5.1/bin/SaVi-ubuntu.bin SaVi: compiled without zlib compression. SaVi: defaulting to J2 orbital model. SaVi: thankyou for using SaVi. Adrian. -- Adrian Rossiter ad...@an... http://antiprism.com/adrian _______________________________________________ geomview-users mailing list geo...@li... https://lists.sourceforge.net/lists/listinfo/geomview-users |