From: Simon Marchi <simark@simark.ca>
To: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>, gdb-patches@sourceware.org
Cc: Simon Marchi <simon.marchi@efficios.com>, Mark Wielaard <mark@klomp.org>
Subject: Re: [COMMITTED PATCH] Fix procfs.c compilation
Date: Thu, 30 Nov 2023 11:29:22 -0500 [thread overview]
Message-ID: <bb78712b-a4f5-4721-b9c2-735695f2258b@simark.ca> (raw)
In-Reply-To: <yddwmtzva61.fsf@CeBiTec.Uni-Bielefeld.DE>
On 11/30/23 04:54, Rainer Orth wrote:
> procfs.c doesn't currently compile on Solaris:
>
> /vol/src/gnu/gdb/hg/master/dist/gdb/procfs.c: In member function ‘virtual int procfs_target::can_use_hw_breakpoint(bptype, int, int)’:
> /vol/src/gnu/gdb/hg/master/dist/gdb/procfs.c:3017:9: error: ‘ptr_type’ was not declared in this scope; did you mean ‘var_types’?
> 3017 | type *ptr_type
> | ^~~~~~~~
> | var_types
>
> This was caused by this patch:
>
> commit 99d9c3b92ca96a7425cbb6b1bf453ede9477a2ee
> Author: Simon Marchi <simon.marchi@efficios.com>
> Date: Fri Sep 29 14:24:38 2023 -0400
>
> gdb: remove target_gdbarch
>
> Partially undoing it restores the build.
>
> Tested on amd64-pc-solaris2.11, committed to master.
>
> Btw., I'd considered reviving the Solaris buildbots to guard against
> this kind of issues. However, they'd both (sparcv9 and amd64) would
> need to be build-only: the make check phase takes 3-5 times as long as
> the build, there are about 2500 failures and quite a number of those are
> flakey. I have no idea if the new buildmaster allows for such a
> compile-only configuration, though (the previous one did).
>
> Rainer
Thanks for catching and fixing this.
Having build-only builders would already be really great, I'm pretty
sure it's possible (CCing Mark Wielaard).
If you can identify a few simple and stable tests, it's possible to run
just those (I think that's what the buildbot does even for Linux/x86
today). It would at least help ensure that GDB is not completely
broken.
Simon
next prev parent reply other threads:[~2023-11-30 16:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-30 9:54 Rainer Orth
2023-11-30 16:29 ` Simon Marchi [this message]
2023-12-01 10:09 ` Rainer Orth
2023-12-10 23:07 ` Mark Wielaard
2023-12-11 14:40 ` Rainer Orth
2023-12-12 9:40 ` Mark Wielaard
2023-12-13 9:15 ` Rainer Orth
-- strict thread matches above, loose matches on Subject: below --
2022-03-31 8:40 Rainer Orth
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=bb78712b-a4f5-4721-b9c2-735695f2258b@simark.ca \
--to=simark@simark.ca \
--cc=gdb-patches@sourceware.org \
--cc=mark@klomp.org \
--cc=ro@CeBiTec.Uni-Bielefeld.DE \
--cc=simon.marchi@efficios.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).