Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Simon Marchi via Gdb-patches <gdb-patches@sourceware.org>
To: Andrew Burgess <andrew.burgess@embecosm.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH] gdbsupport: better detection of -Wmissing-prototypes support
Date: Fri, 24 Sep 2021 09:40:51 -0400	[thread overview]
Message-ID: <9ea18967-7c71-60a0-f265-a39634b335df@polymtl.ca> (raw)
In-Reply-To: <20210924131632.GC1900093@embecosm.com>

On 2021-09-24 9:16 a.m., Andrew Burgess wrote:
> It has been pointed out to me on IRC (thanks Simon), that this issue
> is not GCC, but ccache:
> 
>   https://github.com/ccache/ccache/issues/738#issuecomment-740133374
> 
> So this patch certainly shouldn't go in as it is currently written.
> 
> It's still pretty annoying seeing those warnings though, so I wonder
> if we can consider having a work around for this ccache issue in the
> GDB configure scripts?
> 
> Maybe something as simple as setting CCACHE_DISABLE in the environment
> prior to running the AM_GDB_WARNINGS checks?
> 
> All ideas welcome...

Either way would be fine with me:

 - to use AC_LINK_IFELSE all the time (I don't think the execution time
   would be significantly higher)
 - to set CCACHE_DISABLE during the execution of AM_GDB_WARNINGS

Simon

  reply	other threads:[~2021-09-24 13:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-24 12:29 Andrew Burgess
2021-09-24 13:16 ` Andrew Burgess
2021-09-24 13:40   ` Simon Marchi via Gdb-patches [this message]
2021-09-24 14:06     ` Pedro Alves
2021-09-24 14:22       ` Simon Marchi via Gdb-patches
2021-09-24 14:30         ` Pedro Alves
2021-09-24 14:55           ` Simon Marchi via Gdb-patches
2021-09-24 15:09             ` Pedro Alves
2021-09-24 15:14 ` [PATCHv2] " Andrew Burgess
2021-10-25 14:50   ` Simon Marchi via Gdb-patches

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=9ea18967-7c71-60a0-f265-a39634b335df@polymtl.ca \
    --to=gdb-patches@sourceware.org \
    --cc=andrew.burgess@embecosm.com \
    --cc=simon.marchi@polymtl.ca \
    /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