Re: More info on the Linux dump saga - partial success.

From: Amancio Hasty Jr <hasty_at_netcom.com>
Date: Wed, 14 Dec 1994 05:23:24 -0800

Hi,

Try to link your malloc statically. Over here with FreeBSD, if I link
malloc dynamically in stk, restore will generate a core dump.

It may worth be the try to get gnu's malloc from the net ....

Here is a transcript:

 /usr/local/scheme/STk-2.1.4/Src > gcc -O2 -DUSE_TK -DUSE_DYNLOAD -DFREEBSD -DH
AVE_UNISTD_H=1 -I. -I../Tk -I../Tcl -I/usr/X11R6/include -DSTK_LIBRARY=\"/usr/l
ocal/lib/stk\" -o stk-bin userinit.o libstk.a ../Mp/libgmp.a ../Tk/libtk.a ../T
cl/libtcl.a -L/usr/X11R6/lib -lX11 -lm
 /usr/local/scheme/STk-2.1.4/Src > ./stk-bin -no-tk
Welcome to the STk interpreter version 2.1.4
Copyright (C) 1993, 1994 Erick Gallesio - I3S - CNRS / UNSA <eg_at_unice.fr>
STk> (dump "test")
#[undefined]
STk> (exit)
 /usr/local/scheme/STk-2.1.4/Src > ./stk-bin -no-tk -image test
Segmentation fault (core dumped)
 /usr/local/scheme/STk-2.1.4/Src > rm stk-bin
 /usr/local/scheme/STk-2.1.4/Src > make
/bin/rm -f stk-bin
gcc -O2 -DUSE_TK -DUSE_DYNLOAD -DFREEBSD -DHAVE_UNISTD_H=1 -I. -I../Tk -I../Tcl -I/usr/X11R6/include -DSTK_LIBRARY=\"/usr/local/lib/stk\" -o stk-bin userinit.o libstk.a ../Mp/libgmp.a ../Tk/libtk.a ../Tcl/libtcl.a -L/usr/X11R6/lib -lX11 -lm /usr/lib/libgnumalloc.a
 /usr/local/scheme/STk-2.1.4/Src > ./stk-bin -no-tk
Welcome to the STk interpreter version 2.1.4
Copyright (C) 1993, 1994 Erick Gallesio - I3S - CNRS / UNSA <eg_at_unice.fr>
STk> (dump "test")
#[undefined]
STk> (exit)
 /usr/local/scheme/STk-2.1.4/Src > ./stk-bin -no-tk -image test
Welcome to the STk interpreter version 2.1.4
Copyright (C) 1993, 1994 Erick Gallesio - I3S - CNRS / UNSA <eg_at_unice.fr>
STk>




        Amancio
Received on Wed Dec 14 1994 - 14:24:44 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST