From: Steven Rostedt <rostedt@goodmis.org>
To: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Cc: linux-trace-devel@vger.kernel.org
Subject: Re: [PATCH] trace-cmd: Fix build with gcc-10
Date: Mon, 20 Apr 2020 15:43:25 -0400 [thread overview]
Message-ID: <20200420154325.6072d96b@gandalf.local.home> (raw)
In-Reply-To: <20200417203914.26358-1-sudipm.mukherjee@gmail.com>
On Fri, 17 Apr 2020 21:39:14 +0100
Sudip Mukherjee <sudipm.mukherjee@gmail.com> wrote:
> The build fails while building with gcc-10 with the error:
> multiple definition of `common_type_field'
I'd say this is a bug in gcc.
Both variables are static to the files. Why is it complaining?
If its a new "feature" of gcc, I would look to see if there's a way to
quiet the warning, and adding that to the Makefile instead.
-- Steve
>
> Rename the field in trace-hist.c and trace-mem.c to satisfy gcc-10.
>
next prev parent reply other threads:[~2020-04-20 19:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-17 20:39 [PATCH] trace-cmd: Fix build with gcc-10 Sudip Mukherjee
2020-04-20 19:43 ` Steven Rostedt [this message]
2020-04-20 19:53 ` Steven Rostedt
2020-04-20 22:37 ` Sudip Mukherjee
2020-05-08 12:46 ` Sudip Mukherjee
2020-05-08 14:11 ` Steven Rostedt
2020-05-09 18:30 ` Sudip Mukherjee
2020-05-09 18:48 ` Steven Rostedt
2020-05-09 19:11 ` Sudip Mukherjee
2020-05-09 21:12 ` Steven Rostedt
2020-05-09 23:27 ` Sudip Mukherjee
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=20200420154325.6072d96b@gandalf.local.home \
--to=rostedt@goodmis.org \
--cc=linux-trace-devel@vger.kernel.org \
--cc=sudipm.mukherjee@gmail.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 NNTP newsgroup(s).