From: Hui Zhu <teawater@gmail.com>
To: Michael Snyder <msnyder@vmware.com>
Cc: Michael Eager <eager@eagercon.com>,
Pierre Muller <muller@ics.u-strasbg.fr>,
"msnyder@sourceware.org" <msnyder@sourceware.org>,
"gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: Build failure: src/gdb ChangeLog record.c gcore.c gcore.h
Date: Sun, 25 Oct 2009 00:26:00 -0000 [thread overview]
Message-ID: <daef60380910241725y6139195fgc2bfdbb33a339621@mail.gmail.com> (raw)
In-Reply-To: <4AE386EF.60809@vmware.com>
I try to link gcore.o together with record.o in cygwin. It looks OK.
Maybe it's a way to handle this issue.
Thanks,
Hui
On Sun, Oct 25, 2009 at 06:59, Michael Snyder <msnyder@vmware.com> wrote:
> Michael Eager wrote:
>>
>> Michael Snyder wrote:
>>>
>>> Pierre Muller wrote:
>>>>
>>>> This patch to record.c causes compilation failure on OpenSolaris
>>>> 2009/06
>>>>
>>>> The reason is that byteswap.h
>>>> is not found.
>>>>
>>>> The strange thing is that apparently this
>>>> is already known in gnulib,
>>>> http://www.gnu.org/software/hello/manual/gnulib/byteswap_002eh.html#byteswap
>>>> _002eh
>>>> Is it that the gdb/gnulib is only a small part of the complete gnulib?
>>>>
>>>> Could someone fix this please?
>>>
>>> Folks, really sorry about all the build failures.
>>> Just getting up, give me a few minutes to have coffee.
>>> I have an idea that I think will clear this up quickly.
>>
>> Looks like gcore.o is not linked in.
>
> Can't do it that way -- gcore.o is included (or not)
> via the host makefile fragment in NATDEPFILES.
>
> It doesn't work for some hosts, that's why it isn't included for all.
>
>>
>> Index: Makefile.in
>> ===================================================================
>> RCS file: /cvs/src/src/gdb/Makefile.in,v
>> retrieving revision 1.1103
>> diff -u -p -r1.1103 Makefile.in
>> --- Makefile.in 21 Oct 2009 14:14:56 -0000 1.1103
>> +++ Makefile.in 24 Oct 2009 22:16:44 -0000
>> @@ -834,7 +834,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $
>> solib.o solib-null.o \
>> prologue-value.o memory-map.o xml-support.o xml-syscall.o \
>> target-descriptions.o target-memory.o xml-tdesc.o xml-builtin.o \
>> - inferior.o osdata.o gdb_usleep.o record.o \
>> + inferior.o osdata.o gdb_usleep.o record.o gcore.o \
>> jit.o progspace.o
>>
>> # Definitions for the syscall's XML files and dir
>>
>>
>
>
next prev parent reply other threads:[~2009-10-25 0:26 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20091022193607.13598.qmail@sourceware.org>
2009-10-23 7:49 ` Pierre Muller
2009-10-23 15:38 ` Michael Snyder
2009-10-24 22:18 ` Michael Eager
2009-10-24 23:07 ` Michael Snyder
2009-10-25 0:26 ` Hui Zhu [this message]
2009-10-25 0:56 ` Hui Zhu
2009-10-25 1:26 ` Michael Snyder
2009-10-25 8:41 ` Hui Zhu
2009-10-25 13:53 ` Hui Zhu
2009-10-25 18:43 ` Michael Snyder
2009-10-25 18:42 ` Michael Snyder
2009-10-26 2:05 ` Hui Zhu
2009-10-26 3:41 ` Michael Snyder
2009-10-26 7:03 ` Hui Zhu
2009-10-26 15:51 ` Michael Snyder
2009-10-26 17:20 ` Pedro Alves
2009-10-26 18:33 ` Hui Zhu
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=daef60380910241725y6139195fgc2bfdbb33a339621@mail.gmail.com \
--to=teawater@gmail.com \
--cc=eager@eagercon.com \
--cc=gdb-patches@sourceware.org \
--cc=msnyder@sourceware.org \
--cc=msnyder@vmware.com \
--cc=muller@ics.u-strasbg.fr \
/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