From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
To: Andrew Burgess <aburgess@redhat.com>
Cc: "Frank Ch . Eigler" <fche@redhat.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH v2 6/7] sim/ppc: Add ATTRIBUTE_PRINTF
Date: Wed, 12 Oct 2022 12:36:49 +0200 [thread overview]
Message-ID: <20221012103649.b3salxua2qb4fujt@lug-owl.de> (raw)
In-Reply-To: <87wn95bctu.fsf@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 3087 bytes --]
On Wed, 2022-10-12 10:39:25 +0100, Andrew Burgess <aburgess@redhat.com> wrote:
> Jan-Benedict Glaw <jbglaw@lug-owl.de> writes:
> > Building with a recent GCC, I get this:
> >
> > $ .../configure --prefix=/tmp/gdb-ppc-elf --target=ppc-elf
> > $ make V=1 all-gdb
> > [...]
> > /usr/lib/gcc-snapshot/bin/gcc -c -g -O2 -Werror -DDEFAULT_INLINE=0 -DWITH_SMP=5 -DHAVE_TERMIOS_STRUCTURE -DHAVE_TERMIOS_CLINE -DHAVE_DEVZERO -Wall -Wdeclaration-after-statement -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wno-error=maybe-uninitialized -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wmissing-parameter-type -Wpointer-sign -Wold-style-declaration -I. -I. -I./../../include -I../../bfd -I./../../bfd -I../../gdb -I./../../gdb -I./../../gdb/config -I../.. -I./../../gnulib/import -I../../gnulib/import -DHAVE_COMMON_FPU -I../common -I./../common emul_generic.c
> > /usr/lib/gcc-snapshot/bin/gcc -c -g -O2 -Werror -DDEFAULT_INLINE=0 -DWITH_SMP=5 -DHAVE_TERMIOS_STRUCTURE -DHAVE_TERMIOS_CLINE -DHAVE_DEVZERO -Wall -Wdeclaration-after-statement -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wno-error=maybe-uninitialized -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wmissing-parameter-type -Wpointer-sign -Wold-style-declaration -I. -I. -I./../../include -I../../bfd -I./../../bfd -I../../gdb -I./../../gdb -I./../../gdb/config -I../.. -I./../../gnulib/import -I../../gnulib/import -DHAVE_COMMON_FPU -I../common -I./../common emul_bugapi.c
> > emul_bugapi.c: In function 'emul_bugapi_instruction_call':
> > emul_bugapi.c:495:11: error: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'spreg' {aka 'unsigned int'} [-Werror=format=]
> > 495 | error("emul-bugapi: unimplemented bugapi %s from address 0x%lx\n",
> > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > cc1: all warnings being treated as errors
> > make[3]: *** [Makefile:144: emul_bugapi.o] Error 1
> > make[3]: Leaving directory '/var/lib/laminar/run/gdb-ppc-elf/6/binutils-gdb/sim/ppc'
> > make[2]: *** [Makefile:1933: all-recursive] Error 1
> > make[2]: Leaving directory '/var/lib/laminar/run/gdb-ppc-elf/6/binutils-gdb/sim'
> > make[1]: *** [Makefile:1185: all] Error 2
> > make[1]: Leaving directory '/var/lib/laminar/run/gdb-ppc-elf/6/binutils-gdb/sim'
> > make: *** [Makefile:11309: all-sim] Error 2
>
> Sorry for the breakage.
Nothing to worry about --- that's exactly why I do these mass CI
tests. Catch stuff early!
> I've pushed the patch below, which I think should resolve the issue you
> are seeing, as well as some other, similar issues in the ppc sim.
>
> Let me know if you are still seeing build problems with the latest
> master.
Just queued another build, will take about an hour. (Not too fast
hardware and many jobs running...)
MfG, JBG
--
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
next prev parent reply other threads:[~2022-10-12 10:37 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-25 8:44 [PATCH 0/7] sim, sim/ARCH: " Tsukasa OI via Gdb-patches
2022-09-25 8:44 ` [PATCH 1/7] sim: " Tsukasa OI via Gdb-patches
2022-09-25 8:44 ` [PATCH 2/7] sim/cris: " Tsukasa OI via Gdb-patches
2022-09-25 8:44 ` [PATCH 3/7] sim/erc32: " Tsukasa OI via Gdb-patches
2022-09-25 8:44 ` [PATCH 4/7] sim/m32c: " Tsukasa OI via Gdb-patches
2022-09-25 8:44 ` [PATCH 5/7] sim/m68hc11: " Tsukasa OI via Gdb-patches
2022-09-25 8:44 ` [PATCH 6/7] sim/ppc: " Tsukasa OI via Gdb-patches
2022-10-05 10:57 ` Andrew Burgess via Gdb-patches
2022-10-06 5:32 ` Tsukasa OI via Gdb-patches
2022-09-25 8:44 ` [PATCH 7/7] sim/rl78: " Tsukasa OI via Gdb-patches
2022-10-06 6:36 ` [PATCH v2 0/7] sim, sim/ARCH: " Tsukasa OI via Gdb-patches
2022-10-06 6:36 ` [PATCH v2 1/7] sim: " Tsukasa OI via Gdb-patches
2022-10-11 14:24 ` Andrew Burgess via Gdb-patches
2022-10-06 6:36 ` [PATCH v2 2/7] sim/cris: " Tsukasa OI via Gdb-patches
2022-10-06 6:36 ` [PATCH v2 3/7] sim/erc32: " Tsukasa OI via Gdb-patches
2022-10-06 6:36 ` [PATCH v2 4/7] sim/m32c: " Tsukasa OI via Gdb-patches
2022-10-06 6:36 ` [PATCH v2 5/7] sim/m68hc11: " Tsukasa OI via Gdb-patches
2022-10-11 14:25 ` Andrew Burgess via Gdb-patches
2022-10-06 6:36 ` [PATCH v2 6/7] sim/ppc: " Tsukasa OI via Gdb-patches
2022-10-11 14:27 ` Andrew Burgess via Gdb-patches
2022-10-12 8:29 ` Jan-Benedict Glaw
2022-10-12 9:39 ` Andrew Burgess via Gdb-patches
2022-10-12 10:36 ` Jan-Benedict Glaw [this message]
2022-10-12 12:15 ` Jan-Benedict Glaw
2022-10-12 12:50 ` Jan-Benedict Glaw
2022-10-12 13:16 ` Tsukasa OI via Gdb-patches
2022-10-12 12:38 ` [PATCH 0/1] sim/ppc: Fix erroneous error calls (supplement) Tsukasa OI via Gdb-patches
2022-10-12 12:38 ` [PATCH 1/1] sim/ppc: Fix core_find_mapping diagnostics Tsukasa OI via Gdb-patches
2022-10-12 13:50 ` Andrew Burgess via Gdb-patches
2022-10-23 12:46 ` [PATCH v2 6/7] sim/ppc: Add ATTRIBUTE_PRINTF Mike Frysinger via Gdb-patches
2022-10-06 6:36 ` [PATCH v2 7/7] sim/rl78: " Tsukasa OI via Gdb-patches
2022-10-11 14:23 ` [PATCH v2 0/7] sim, sim/ARCH: " Andrew Burgess 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=20221012103649.b3salxua2qb4fujt@lug-owl.de \
--to=jbglaw@lug-owl.de \
--cc=aburgess@redhat.com \
--cc=fche@redhat.com \
--cc=gdb-patches@sourceware.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