Re: [PATCH] Link gnulib in gdbserver.

Yao Qi
2012-04-14T03:40:15Z

On 04/14/2012 05:25 AM, Jan Kratochvil wrote:
> 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'

It is wired. I don't see such failure in in-source-tree (CVS trunk) build.

--
Yao (é½å°§)