public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/16669] New: Bad configure under gdb subdirectory of source in tarball http://ftp.gnu.org/gnu/gdb/gdb-7.7.tar.gz
@ 2014-03-07  6:02 employee at live dot com
  2014-03-07  6:24 ` [Bug gdb/16669] " employee at live dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: employee at live dot com @ 2014-03-07  6:02 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 16669
           Summary: Bad configure under gdb subdirectory of source in
                    tarball http://ftp.gnu.org/gnu/gdb/gdb-7.7.tar.gz
           Product: gdb
           Version: 7.7
            Status: NEW
          Severity: critical
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: employee at live dot com

Created attachment 7458
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7458&action=edit
gdb 7.7 ./gdb/acinclude.m4

./gdb/configure contains apparently problematic macros under
# Add ELF support to GDB, but only if BFD includes ELF support.
after recent changes to ./gdb/acinclude.m4 (Jan, 4, 2014)
The problem is perhaps due to incorrect expension of macros, as the following
section in ./gdb/acinclude.m4 of GDB 7.7 package is possibly to cause configure
to ignore elf support provided by bfd:
if test "$plugins" = "yes"; then
    AC_SEARCH_LIBS(dlopen, dl)
  fi
while in GDB 7.6 the relevent lines of "(GDB_AC_CHECK_BFD) New macro" is
defined as such:
if test "$plugins" = "yes"; then
    LIBS="-ldl $LIBS"
  fi
As a consequence for gdb to miss the check on elf support that is in fact
provided by bfd, it is confirmed with i386-pc-linux-gnu, but not limited to,
that gdb program can't read symbol by output:

Reading symbol from {exe}...I'm sorry, Dave, but I can't do that. Symbol format
"elf32-i386" unknown.

Possible solution for end-user is to revert above lines of macro in
acinclude.m4 in ./gdb back to those in tarball of gdb 7.6.

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


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

* [Bug gdb/16669] Bad configure under gdb subdirectory of source in tarball http://ftp.gnu.org/gnu/gdb/gdb-7.7.tar.gz
  2014-03-07  6:02 [Bug gdb/16669] New: Bad configure under gdb subdirectory of source in tarball http://ftp.gnu.org/gnu/gdb/gdb-7.7.tar.gz employee at live dot com
@ 2014-03-07  6:24 ` employee at live dot com
  2014-03-07  6:39 ` [Bug gdb/16669] Incorrect macro defs in acinclude.m4 for automate configuration under ./gdb for installation of GDB 7.7 employee at live dot com
  2024-01-01 23:29 ` ssbssa at sourceware dot org
  2 siblings, 0 replies; 4+ messages in thread
From: employee at live dot com @ 2014-03-07  6:24 UTC (permalink / raw)
  To: gdb-prs

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

YANG <employee at live dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal

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


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

* [Bug gdb/16669] Incorrect macro defs in acinclude.m4 for automate configuration under ./gdb for installation of GDB 7.7
  2014-03-07  6:02 [Bug gdb/16669] New: Bad configure under gdb subdirectory of source in tarball http://ftp.gnu.org/gnu/gdb/gdb-7.7.tar.gz employee at live dot com
  2014-03-07  6:24 ` [Bug gdb/16669] " employee at live dot com
@ 2014-03-07  6:39 ` employee at live dot com
  2024-01-01 23:29 ` ssbssa at sourceware dot org
  2 siblings, 0 replies; 4+ messages in thread
From: employee at live dot com @ 2014-03-07  6:39 UTC (permalink / raw)
  To: gdb-prs

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

YANG <employee at live dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Bad configure under gdb     |Incorrect macro defs in
                   |subdirectory of source in   |acinclude.m4 for automate
                   |tarball                     |configuration under ./gdb
                   |http://ftp.gnu.org/gnu/gdb/ |for installation of GDB 7.7
                   |gdb-7.7.tar.gz              |

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


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

* [Bug gdb/16669] Incorrect macro defs in acinclude.m4 for automate configuration under ./gdb for installation of GDB 7.7
  2014-03-07  6:02 [Bug gdb/16669] New: Bad configure under gdb subdirectory of source in tarball http://ftp.gnu.org/gnu/gdb/gdb-7.7.tar.gz employee at live dot com
  2014-03-07  6:24 ` [Bug gdb/16669] " employee at live dot com
  2014-03-07  6:39 ` [Bug gdb/16669] Incorrect macro defs in acinclude.m4 for automate configuration under ./gdb for installation of GDB 7.7 employee at live dot com
@ 2024-01-01 23:29 ` ssbssa at sourceware dot org
  2 siblings, 0 replies; 4+ messages in thread
From: ssbssa at sourceware dot org @ 2024-01-01 23:29 UTC (permalink / raw)
  To: gdb-prs

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

Hannes Domani <ssbssa at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ssbssa at sourceware dot org

--- Comment #1 from Hannes Domani <ssbssa at sourceware dot org> ---
I'm not completely sure, but this might have been fixed with this commit:
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=2974be626b5e40033b9a259a072b2fe123469126

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

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

end of thread, other threads:[~2024-01-01 23:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-07  6:02 [Bug gdb/16669] New: Bad configure under gdb subdirectory of source in tarball http://ftp.gnu.org/gnu/gdb/gdb-7.7.tar.gz employee at live dot com
2014-03-07  6:24 ` [Bug gdb/16669] " employee at live dot com
2014-03-07  6:39 ` [Bug gdb/16669] Incorrect macro defs in acinclude.m4 for automate configuration under ./gdb for installation of GDB 7.7 employee at live dot com
2024-01-01 23:29 ` ssbssa at sourceware dot 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).