public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Various build fixes for sims
@ 2021-04-14 23:02 John Baldwin
  2021-04-14 23:02 ` [PATCH 1/5] sim: Add SIM_EXTRA_CFLAGS after CSEARCH John Baldwin
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: John Baldwin @ 2021-04-14 23:02 UTC (permalink / raw)
  To: gdb-patches

These are a few build fixes I ran into while trying to build gdb
master on FreeBSD 14 with clang 11.  Some of these are unique to my
build environment, e.g. patch 1 is because I have an older version of
binutils installed in the same path (/usr/local) as the SDL libraries
needed by bfin, patch 2 is because clang 11 treats this as an error
even without -Werror, patch 3 is because I use tcsh as my login shell.
Patch 5 is probably due to FreeBSD not having readline in
/usr/include.  I've no idea why the breakage patch 4 addresses doesn't
break everywhere.  In that case, igen wasn't generating any output
files at all.

For patch 1, while this is a "minimal" fix, I'm not sure if it is the
best fix (e.g. would it be better to move all of CONFIG_CFLAGS after
CSEARCH instead?)

John Baldwin (5):
  sim: Add SIM_EXTRA_CFLAGS after CSEARCH.
  sim frv: Add a missing return value for frvbf_check_acc_range.
  sim lm32: Use a known-good shell with genmloop.sh.
  sim mn10300: Fix igen generation.
  sim erc32: Add include path for readline.

 sim/common/ChangeLog      | 6 ++++++
 sim/common/Make-common.in | 7 +++----
 sim/erc32/ChangeLog       | 7 +++++++
 sim/erc32/Makefile.in     | 6 +++++-
 sim/erc32/configure       | 8 ++++++--
 sim/erc32/configure.ac    | 3 +++
 sim/frv/ChangeLog         | 4 ++++
 sim/frv/traps.c           | 2 +-
 sim/lm32/ChangeLog        | 4 ++++
 sim/lm32/Makefile.in      | 2 +-
 sim/mn10300/ChangeLog     | 5 +++++
 sim/mn10300/Makefile.in   | 5 +++--
 sim/mn10300/mn10300.igen  | 1 +
 13 files changed, 49 insertions(+), 11 deletions(-)

-- 
2.30.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-11-10  9:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-14 23:02 [PATCH 0/5] Various build fixes for sims John Baldwin
2021-04-14 23:02 ` [PATCH 1/5] sim: Add SIM_EXTRA_CFLAGS after CSEARCH John Baldwin
2021-04-14 23:56   ` Mike Frysinger
2021-04-14 23:02 ` [PATCH 2/5] sim frv: Add a missing return value for frvbf_check_acc_range John Baldwin
2021-04-14 23:54   ` Mike Frysinger
2021-11-10  9:33   ` Mike Frysinger
2021-04-14 23:02 ` [PATCH 3/5] sim lm32: Use a known-good shell with genmloop.sh John Baldwin
2021-04-14 23:55   ` Mike Frysinger
2021-04-14 23:02 ` [PATCH 4/5] sim mn10300: Fix igen generation John Baldwin
2021-04-14 23:53   ` Mike Frysinger
2021-04-14 23:02 ` [PATCH 5/5] sim erc32: Add include path for readline John Baldwin
2021-04-14 23:56   ` Mike Frysinger

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 read-only IMAP folder(s) and NNTP newsgroup(s).