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: Doug Evans <xdje42 at gmail dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 10 Aug 2014 12:11:28 -0700
- 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> <83oavsjkjc dot fsf at gnu dot org>
Eli Zaretskii <eliz@gnu.org> writes:
>> 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.
Ah.
There's still a problem here, as evidenced by requests to have gdb
more tolerant, e.g., of missing Python.
Same reasoning applies to Guile.