This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Unexec gurus?
- To: "Greg J. Badros" <gjb at cs dot washington dot edu>
- Subject: Re: Unexec gurus?
- From: Russell McManus <russell dot mcmanus at msdw dot com>
- Date: 28 Jan 2000 14:25:32 -0500
- Cc: Bernard dot Urban at meteo dot fr, guile at sourceware dot cygnus dot com
- References: <qrrya9af2rm.fsf@clavicle.cs.washington.edu>
"Greg J. Badros" <gjb@cs.washington.edu> writes:
> HOWEVER, when single-stepping through tguile-dumped and scwm-dumped in
> GDB, there is an important behavioural difference that I cannot explain:
> In starting the dumped executables, Guile's init.c's scm_boot_guile_1,
> the "static int initialized" variable that is used there does not appear
> to have the value "1" for the dumped scwm, but does for the dumped
> tguile. Both did set that variable correctly when dumping, but Scwm's
> dumped executable somehow has lost that state. I'm looking for
> suggestions for why that might be.
Are you statically linking in libguile.a? I know it's a simple one,
but it got me in the past. If your dynamically linking libguile.so,
that variable gets whacked. My memory here is fuzzy, I hope this
helps.
-russ
--
"Crime does not pay... as well as politics."
-- A. E. Newman