This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH][COMMITTED] Fix pr 17367
- From: Doug Evans <xdje42 at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 09 Sep 2014 22:14:23 -0700
- Subject: Re: [PATCH][COMMITTED] Fix pr 17367
- Authentication-results: sourceware.org; auth=none
- References: <m3ppf4rtoc dot fsf at sspiff dot org>
Doug Evans <xdje42@gmail.com> writes:
> Hi.
>
> This patch fixes PR 17367.
> https://sourceware.org/bugzilla/show_bug.cgi?id=17367
>
> Guile 2.2 now compiles to ELF files, and I was noticing gdb complaining
> when starting up.
>
> Exception caught while booting Guile.
> Error in function "load-thunk-from-memory":
> not an ELF file
> ./gdb: warning: Could not complete Guile gdb module initialization from:
> /hack/gnu/sourceware/gdb-guile/b-sigchld-prep-git-guile-gc74/gdb/data-directory/guile/gdb/boot.scm.
>
> I traced this to the wrong guild program being used.
> guild should come from the specified guile distribution,
> but /bin/guild was being used instead (which is guile 2.0).
>
> Regression tested on amd64-linux with guile 2.0.11 and guile trunk.
>
> 2014-09-09 Doug Evans <xdje42@gmail.com>
>
> PR guile/17367
> * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
> last parameter to pkg-config, not first.
> * configure.ac: Pass --with-guile provided pkg-config path to
> GDB_GUILE_PROGRAM_NAMES.
> * configure: Regenerate.
Pushed to 7.8 branch as well.