Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Yao Qi <yao@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Link gnulib in gdbserver.
Date: Sat, 14 Apr 2012 03:40:00 -0000	[thread overview]
Message-ID: <20120413212559.GA5867@host2.jankratochvil.net> (raw)
In-Reply-To: <1334127046-27627-1-git-send-email-yao@codesourcery.com>

On Wed, 11 Apr 2012 08:50:46 +0200, Yao Qi wrote:
> 2012-04-11  Yao Qi  <yao@codesourcery.com>
> 
> 	* Makefile.in: Define abs_top_srcdir and abs_srcdir.
> 	(INCLUDE_CFLAGS): Append GNULIB_INCLUDE_DIR.
> 	(install-only, install-info:, clean:): Handle sub dir gnulib.
> 	(all-lib, am--refresh): New target.
> 	(memmem.o): Remove target.
> 	* configure.ac: Remove AC_CONFIG_LIBOBJ_DIR.
> 	Invoke gl_EARLY.  Invoke AC_CHECK_PROGS for make.
> 	(AC_REPLACE_FUNCS): Remove memmem.
> 	Invoke gl_INIT and AM_INIT_AUTOMAKE.
> 	(AC_OUTPUT): Generate Makefile in gnulib/.
> 	* aclocal.m4, config.in, configure: Regenerated.

This broken in-src-tree build:

make[7]: Entering directory `/home/jkratoch/redhat/gdb-clean/gdb/gdbserver/gnulib'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory `/home/jkratoch/redhat/gdb-clean/gdb/gdbserver/gnulib'
[...]
gcc -m64 -ggdb2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4    -I. -I. -I./../common -I./../regformats -I./../../include -I./../gnulib -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-char-subscripts -Werror -lmcheck -Wl,--dynamic-list=./proc-service.list -o gdbserver agent.o ax.o inferiors.o regcache.o remote-utils.o server.o signals.o target.o utils.o version.o mem-break.o hostio.o event-loop.o tracepoint.o xml-utils.o common-utils.o ptid.o buffer.o dll.o xml-builtin.o amd64-linux.o amd64-avx-linux.o x32-linux.o x32-avx-linux.o i386-linux.o i386-avx-linux.o i386-mmx-linux.o linux-low.o linux-osdata.o linux-x86-low.o i386-low.o i387-fp.o linux-procfs.o linux-ptrace.o hostio-errno.o thread-db.o proc-service.o  \
gnulib/libgnu.a -ldl 
gcc: error: gnulib/libgnu.a: No such file or directory
make[4]: *** [gdbserver] Error 1
make[4]: Leaving directory `/home/jkratoch/redhat/gdb-clean/gdb/gdbserver'


I do not like there the VPATH tricks etc., there should be some full copy of
gnulib IMO.


Regards,
Jan


  parent reply	other threads:[~2012-04-13 21:26 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-11  8:41 Yao Qi
2012-04-11 18:11 ` Pedro Alves
2012-04-12  8:14   ` Yao Qi
2012-04-12 20:26     ` Doug Evans
2012-04-13  0:47       ` Yao Qi
2012-04-13 11:20         ` Pedro Alves
2012-04-13 11:24           ` Pedro Alves
2012-04-13 12:01           ` Yao Qi
2012-04-13 13:23             ` Pedro Alves
2012-04-14  3:40 ` Jan Kratochvil [this message]
2012-04-14  3:52   ` Yao Qi
2012-04-15 19:42     ` [patch] Fix in-src-tree builds by gdbserver/gnulib/ copy [Re: [PATCH] Link gnulib in gdbserver.] Jan Kratochvil
2012-04-16  9:42       ` Yao Qi
2012-04-16 10:11         ` [patch#2] Fix in-src-tree builds by gdbserver/gnulib/ copy Jan Kratochvil
2012-04-16 10:51           ` Yao Qi
2012-04-16 11:32       ` [patch] Fix in-src-tree builds by gdbserver/gnulib/ copy [Re: [PATCH] Link gnulib in gdbserver.] Pedro Alves
2012-04-16 18:51         ` Fix in-src-tree builds by making gdbserver/gnulib/ a separate library (a la libiberty, etc.), and adding ACX_CONFIGURE_DIR Pedro Alves
2012-04-16 18:35           ` Jan Kratochvil
2012-04-17 16:55             ` Pedro Alves
2012-04-17 17:27               ` Jan Kratochvil
2012-04-17 18:55                 ` Pedro Alves
2012-04-17 23:52                   ` Joel Brobecker
2012-04-18  9:16                     ` Pedro Alves
2012-04-18  9:32                       ` Jan Kratochvil
2012-04-18 10:52                         ` Pedro Alves
2012-04-18 12:34                           ` Jan Kratochvil
2012-04-18 12:52                             ` Pedro Alves
2012-04-18 13:04                               ` Jan Kratochvil
2012-04-18 13:18                                 ` Pedro Alves
2012-04-18 15:52                                   ` Jan Kratochvil
2012-04-18 16:04                                     ` Pedro Alves
2012-04-18 16:09                                       ` Jan Kratochvil
2012-04-18 16:16                                         ` Pedro Alves
2012-04-18 16:09                                       ` Pedro Alves
2012-04-18 16:04                                     ` Mark Kettenis
2012-04-18 16:14                                       ` Jan Kratochvil
2012-04-18 17:05                                         ` Joel Brobecker
2012-04-18 15:04                           ` Joel Brobecker
2012-04-19 15:46                             ` gnulib/ -> gnulib/import/ Pedro Alves
2012-04-16 20:06           ` Fix in-src-tree builds by making gdbserver/gnulib/ a separate library (a la libiberty, etc.), and adding ACX_CONFIGURE_DIR Tom Tromey
2012-04-16 20:36             ` Doug Evans
2012-04-16 20:41               ` Pedro Alves
2012-04-16 22:57                 ` Joel Brobecker
2012-04-16 23:19                   ` Stan Shebs
2012-04-17 12:16                     ` Tom Tromey
2012-04-17 15:16                       ` Joel Brobecker
2012-04-17 10:29           ` Yao Qi
2012-04-17 10:49             ` Pedro Alves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120413212559.GA5867@host2.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=yao@codesourcery.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox