This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB built with Guile won't start when boot-9 is unavailable.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]