From: Tom de Vries <tdevries@suse.de>
To: Mike Frysinger <vapier@gentoo.org>,
"gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: gdb build broken in sim with -Wall -Werror
Date: Mon, 17 May 2021 09:02:23 +0200 [thread overview]
Message-ID: <bbac6d41-1530-740a-e1ca-509b4b45f638@suse.de> (raw)
Hi,
this morning I tried to rebuild gdb from trunk @ f4fdd84587e (with
--enable-werror and CFLAGS="-O0 -g -Wall", as usual) and ran into build
errors in sim.
Specifically:
...
$ grep error: build/MAKELOG \
| grep -v handle_error \
| sed "s/.*error: //" \
| sort \
| uniq -c
6 comparison between 'attach_type {aka enum _attach_type}' and
'enum <anonymous>' [-Werror=enum-compare]
54 'cpu_create' defined but not used [-Werror=unused-function]
42 'cpu_data_map' defined but not used [-Werror=unused-function]
54 'cpu_instruction_map' defined but not used [-Werror=unused-function]
54 'cpu_interrupts' defined but not used [-Werror=unused-function]
42 'cpu_model' defined but not used [-Werror=unused-function]
51 'cpu_monitor' defined but not used [-Werror=unused-function]
54 'cpu_os_emulation' defined but not used [-Werror=unused-function]
27 'cpu_registers' defined but not used [-Werror=unused-function]
51 'cpu_reservation' defined but not used [-Werror=unused-function]
45 'cpu_system' defined but not used [-Werror=unused-function]
3 'device_event_queue_deschedule' declared 'static' but never
defined [-Werror=unused-function]
3 'device_event_queue_time' declared 'static' but never defined
[-Werror=unused-function]
3 'event_queue_create' defined but not used [-Werror=unused-function]
3 'mon_cpu' defined but not used [-Werror=unused-function]
3 'mon_create' defined but not used [-Werror=unused-function]
3 null argument where non-null required (argument 1) [-Werror=nonnull]
15 pointer targets in passing argument 4 of
'device_find_integer_array_property' differ in signedness
[-Werror=pointer-sign]
...
Thanks,
- Tom
next reply other threads:[~2021-05-17 7:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-17 7:02 Tom de Vries [this message]
2021-05-17 15:02 ` Mike Frysinger via Gdb-patches
2021-05-17 15:39 ` Tom de Vries
2021-05-17 15:39 ` Tom de Vries
2021-05-18 15:12 ` Mike Frysinger via Gdb-patches
2021-05-18 15:26 ` Tom de Vries
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=bbac6d41-1530-740a-e1ca-509b4b45f638@suse.de \
--to=tdevries@suse.de \
--cc=gdb-patches@sourceware.org \
--cc=vapier@gentoo.org \
/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