public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Re: Invalid use of $zlibdir within GDB_AC_CHECK_BFD
@ 2015-04-09  8:49 Ilya Malakhov
  0 siblings, 0 replies; 3+ messages in thread
From: Ilya Malakhov @ 2015-04-09  8:49 UTC (permalink / raw)
  To: gdb

On Thu, Apr 9, 2015 at 11:32 AM, Ilya Malakhov
<ilmalakhovthefirst@gmail.com> wrote:
. . .
>  The use of $zlibdir when setting LDFLAGS within GDB_AC_CHECK_BFD in
> gdb/acinclude.m4 seems to be incorrect unless gdb is configured `--with-system
> -zlib'.  . .
. . .
 This applies to the current state of master branch in binutils-gdb.git.

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <CAK1sNPC8GUwc4HUvb+WUm85OYKe+G2AmDduzAB-0St5hdKXJNA@mail.gmail.com>]
* Invalid use of $zlibdir within GDB_AC_CHECK_BFD
@ 2015-04-09  8:32 Ilya Malakhov
  0 siblings, 0 replies; 3+ messages in thread
From: Ilya Malakhov @ 2015-04-09  8:32 UTC (permalink / raw)
  To: gdb

Hi,

 The use of $zlibdir when setting LDFLAGS within GDB_AC_CHECK_BFD in
gdb/acinclude.m4 seems to be incorrect unless gdb is configured `--with-system
-zlib'. At configure time it becomes (see config/zlib.m4)

-L$(top_builddir)/../zlib

with $(top_builddir) being a make(!) variable. This makes a number of
gdb/configure
tests fail unless a user has got an installed system zlib for the host
of GDB. As a result,
one may quite unexpectedly obtain GDB without ELF support.

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

end of thread, other threads:[~2015-04-09 11:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-09  8:49 Invalid use of $zlibdir within GDB_AC_CHECK_BFD Ilya Malakhov
     [not found] <CAK1sNPC8GUwc4HUvb+WUm85OYKe+G2AmDduzAB-0St5hdKXJNA@mail.gmail.com>
2015-04-09 11:47 ` H.J. Lu
  -- strict thread matches above, loose matches on Subject: below --
2015-04-09  8:32 Ilya Malakhov

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