public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug guile/17367] New: computation of guild path wrong when pkg-config script supplied as arg to --with-guile
@ 2014-09-10  4:06 xdje42 at gmail dot com
  2014-09-10  4:09 ` [Bug guile/17367] " xdje42 at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: xdje42 at gmail dot com @ 2014-09-10  4:06 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17367

            Bug ID: 17367
           Summary: computation of guild path wrong when pkg-config script
                    supplied as arg to --with-guile
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: guile
          Assignee: unassigned at sourceware dot org
          Reporter: xdje42 at gmail dot com

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).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug guile/17367] computation of guild path wrong when pkg-config script supplied as arg to --with-guile
  2014-09-10  4:06 [Bug guile/17367] New: computation of guild path wrong when pkg-config script supplied as arg to --with-guile xdje42 at gmail dot com
@ 2014-09-10  4:09 ` xdje42 at gmail dot com
  2014-09-10  4:20 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: xdje42 at gmail dot com @ 2014-09-10  4:09 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17367

--- Comment #1 from Doug Evans <xdje42 at gmail dot com> ---
For reference sake, here's the pkg-config script.

#! /bin/sh                                                                      

BDWGC=/path/to/boehm-git/release-7_4/rel
GUILE=/path/to/guile/git/rel

case "$1" in
--exists) exit 0 ;;
--cflags) echo "-pthread -I$BDWGC/include -I$GUILE/include/guile/2.2" ; exit 0
;;
--libs) echo "-Wl,-rpath,$BDWGC/lib -L$BDWGC/lib -Wl,-rpath,$GUILE/lib
-L$GUILE/lib -lguile-2.2 -lgc" ; exit 0 ;;
--variable)
  case "$2" in
  guild) echo "$GUILE/bin/guild" ; exit 0 ;;
  exec_prefix) echo "$GUILE" ; exit 0 ;;
  *) echo "bad arg" >&2 ; exit 1 ;;
  esac
  ;;
*) echo "bad arg" >&2 ; exit 1 ;;
esac

It's mildly hacky in that it doesn't check the supplied guile version (which is
the last parameter passed), but it works.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug guile/17367] computation of guild path wrong when pkg-config script supplied as arg to --with-guile
  2014-09-10  4:06 [Bug guile/17367] New: computation of guild path wrong when pkg-config script supplied as arg to --with-guile xdje42 at gmail dot com
  2014-09-10  4:09 ` [Bug guile/17367] " xdje42 at gmail dot com
@ 2014-09-10  4:20 ` cvs-commit at gcc dot gnu.org
  2014-09-10  5:14 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2014-09-10  4:20 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17367

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
       via  d342a0da4fa83b680426511a7d0e1b1e299c63b8 (commit)
      from  b4a3d263b07508de083928823aee72699e59afc0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d342a0da4fa83b680426511a7d0e1b1e299c63b8

commit d342a0da4fa83b680426511a7d0e1b1e299c63b8
Author: Doug Evans <xdje42@gmail.com>
Date:   Tue Sep 9 21:18:25 2014 -0700

    PR guile/17367

    gdb/ChangeLog:

        * 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.

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog    |    9 +++++++++
 gdb/acinclude.m4 |    4 ++--
 gdb/configure    |   38 ++++++++++++++++++++++++++++++++++++--
 gdb/configure.ac |   14 +++++++++++---
 4 files changed, 58 insertions(+), 7 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug guile/17367] computation of guild path wrong when pkg-config script supplied as arg to --with-guile
  2014-09-10  4:06 [Bug guile/17367] New: computation of guild path wrong when pkg-config script supplied as arg to --with-guile xdje42 at gmail dot com
  2014-09-10  4:09 ` [Bug guile/17367] " xdje42 at gmail dot com
  2014-09-10  4:20 ` cvs-commit at gcc dot gnu.org
@ 2014-09-10  5:14 ` cvs-commit at gcc dot gnu.org
  2014-09-11 16:01 ` xdje42 at gmail dot com
  2014-10-29 19:48 ` cvs-commit at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2014-09-10  5:14 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17367

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, gdb-7.8-branch has been updated
       via  14075b38b1f43d03e0e35a04a7f5cdb5774ba5cf (commit)
      from  0df33300929f9b54ddcf040f9b1fe69c1a88304b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=14075b38b1f43d03e0e35a04a7f5cdb5774ba5cf

commit 14075b38b1f43d03e0e35a04a7f5cdb5774ba5cf
Author: Doug Evans <xdje42@gmail.com>
Date:   Tue Sep 9 22:06:35 2014 -0700

    PR guile/17367

    gdb/ChangeLog:

        * 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.

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog    |    9 +++++++++
 gdb/acinclude.m4 |    4 ++--
 gdb/configure    |   38 ++++++++++++++++++++++++++++++++++++--
 gdb/configure.ac |   14 +++++++++++---
 4 files changed, 58 insertions(+), 7 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug guile/17367] computation of guild path wrong when pkg-config script supplied as arg to --with-guile
  2014-09-10  4:06 [Bug guile/17367] New: computation of guild path wrong when pkg-config script supplied as arg to --with-guile xdje42 at gmail dot com
                   ` (2 preceding siblings ...)
  2014-09-10  5:14 ` cvs-commit at gcc dot gnu.org
@ 2014-09-11 16:01 ` xdje42 at gmail dot com
  2014-10-29 19:48 ` cvs-commit at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: xdje42 at gmail dot com @ 2014-09-11 16:01 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17367

Doug Evans <xdje42 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Doug Evans <xdje42 at gmail dot com> ---
patch committed to both trunk and 7.8 branch

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug guile/17367] computation of guild path wrong when pkg-config script supplied as arg to --with-guile
  2014-09-10  4:06 [Bug guile/17367] New: computation of guild path wrong when pkg-config script supplied as arg to --with-guile xdje42 at gmail dot com
                   ` (3 preceding siblings ...)
  2014-09-11 16:01 ` xdje42 at gmail dot com
@ 2014-10-29 19:48 ` cvs-commit at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2014-10-29 19:48 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17367

--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The annotated tag, gdb-7.8.1-release has been created
        at  60cd8f8e7f38daf7d59e82b9fb3b8840a3a714c9 (tag)
   tagging  21de41c04a26bb04f2e827d35fd48c991fa991b1 (commit)
  replaces  gdb-7.8-release
 tagged by  Joel Brobecker
        on  Wed Oct 29 12:47:08 2014 -0700

- Log -----------------------------------------------------------------
GDB 7.8.1 Release.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEABECAAYFAlRRRDwACgkQku2wS/8yXPNA3gCgmaBkksiuRbHoYAudWcZYwiJ4
upIAoI2vGr/6e6CNHxIinVYQ2IJCY/4V
=wgXR
-----END PGP SIGNATURE-----

Doug Evans (3):
      Fix for PR 17247: Block SIGCHLD while initializing Guile.
      PR guile/17367
      PR python/17364

Eli Zaretskii (1):
      Avoid compiler warnings about incomplete parameter types.

GDB Administrator (92):
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in
      Automatic date update in version.in

Jan Kratochvil (4):
      Fix incorrect placement of two Intel gdb/NEWS items
      Fix 'gcore' with exited threads
      Fix crash on Python frame filters with unreadable arg
      Fix regression for Linux vDSO in GDB (PR gdb/17407).

Joel Brobecker (5):
      Document the GDB 7.8 release in gdb/ChangeLog
      Bump GDB version number to 7.8.0.DATE-cvs.
      Add "frame.h" #include in gdbarch.h.
      state->dr_control_mirror == 0 failed assertion in gdbserver on Windows XP
      Set GDB version number to 7.8.1.

Pedro Alves (9):
      testsuite: refactor spawn and wait for attach
      gdb/17347 - Regression: GDB stopped on run with attached process
      Aarch64: Make CPSR a 32-bit register again in the target description
      Make common code handle target_terminal_* idempotency
      PR gdb/17472: With annotations, input while executing in the foreground
crashes readline/GDB
      PR gdb/17300: Input after "c -a" crashes readline/GDB
      PR gdb/17471: Repeating a background command makes it foreground
      PR python/17372 - Python hangs when displaying help()
      PR 17408 - assertion failure in switch_back_to_stepped_thread

Siva Chandra (1):
      Fix xmethod Python so that it works with Python3.

Yao Qi (2):
      Fix build/17104
      Remove workaround to libbabeltrace 1.1.0 issue

-----------------------------------------------------------------------

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-10-29 19:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-10  4:06 [Bug guile/17367] New: computation of guild path wrong when pkg-config script supplied as arg to --with-guile xdje42 at gmail dot com
2014-09-10  4:09 ` [Bug guile/17367] " xdje42 at gmail dot com
2014-09-10  4:20 ` cvs-commit at gcc dot gnu.org
2014-09-10  5:14 ` cvs-commit at gcc dot gnu.org
2014-09-11 16:01 ` xdje42 at gmail dot com
2014-10-29 19:48 ` cvs-commit at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).