This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: GDB built with Guile won't start when boot-9 is unavailable.
- From: Eli Zaretskii <eliz at gnu dot org>
- To: gdb-patches at sourceware dot org
- Date: Sun, 10 Aug 2014 20:56:23 +0300
- Subject: Re: GDB built with Guile won't start when boot-9 is unavailable.
- Authentication-results: sourceware.org; auth=none
- References: <83vbq0ju7k dot fsf at gnu dot org>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Sun, 10 Aug 2014 17:27:27 +0300
> From: Eli Zaretskii <eliz@gnu.org>
>
> Someone tried to run GDB 7.8 that I built with Guile support without
> installing Guile first. (libguile was statically linked into GDB, so
> no shared library was needed.) They reported that GDB bailed out with
> the following error message:
>
> Throw without catch before boot:
> Throw to key misc-error with args ("primitive-load-path" "Unable to find
> file ~S in load path" ("ice-9/boot-9") #f)Aborting.
>
> AFAIR, a snapshot I built about 2 months ago didn't bail out, it just
> printed a warning that Guile support will be partial.
>
> Is it possible to avoid the fatal error in this case?
Sorry, ignore this: it's because Guile was installed in a directory
other than the one it was configured for, and GUILE_LOAD_PATH was not
set.