This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch+8.0] release branch: Fix: --enable-werror
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Sergio Durigan Junior <sergiodj at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Joel Brobecker <brobecker at adacore dot com>
- Date: Sat, 22 Apr 2017 18:26:16 +0200
- Subject: Re: [patch+8.0] release branch: Fix: --enable-werror
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=jan dot kratochvil at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 5B74AA08E2
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 5B74AA08E2
- References: <20170421085204.GA5501@host1.jankratochvil.net> <87y3usv2h5.fsf@redhat.com>
On Sat, 22 Apr 2017 18:20:06 +0200, Sergio Durigan Junior wrote:
> On Friday, April 21 2017, Jan Kratochvil wrote:
> > gdb-8.0-branch
> > ./configure --enable-werror --enable-targets=all
> > aarch64-tdep.c:3045:13: error: ‘void selftests::aarch64_process_record_test()’ declared ‘static’ but never defined [-Werror=unused-function]
> > arm-tdep.c:9601:13: error: ‘void selftests::arm_record_test()’ declared ‘static’ but never defined [-Werror=unused-function]
...
> > Sergio: Shouldn't it be also buildbot-tested?
>
> Yes, it should. We have an Arch64 builder managed by Yao. It should
> be possible to set up builders for the 8.0 branch.
FYI no specific arch is required for the builder, it even happened for me on
my x86_64. These were *-tdep.c files so --enable-targets=all is enough to
trigger it.
Sure more archs would make better coverage even for nat/* files.
Jan