Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFC 0/4] Fix recent sim/*/config.in fallout: frv, m32r, sh64, iq2000
@ 2014-08-20  4:28 Hans-Peter Nilsson
  2014-08-23  3:13 ` Hans-Peter Nilsson
  0 siblings, 1 reply; 5+ messages in thread
From: Hans-Peter Nilsson @ 2014-08-20  4:28 UTC (permalink / raw)
  To: gdb-patches

Recently, a change requiring -ldl due to bfd plugin default changing
from off to on, spread throughout the generated configury files, for
simulators as well as gdb.  In that process, sim/*/config.in for the
sims below was regenerated for the first time since 2012.  This had
build-breaking fallouts for some simulator showing bloopers in changes
from around 2013-03-23, attempts enabling sim-hardware and
dv-sockser.o.  Here's my take on fixing that: let's return to the
state before those attempts.  This is a request-for-comments, I'll
commit this in a few days unless someone has a better idea, one that
lets these simulators build *without* --{enable,disable} options and
where committing this would still not be an incremental improvement.

All this seems to have started with building dv-sockser.o for *all*
targets and that failing for windows hosts.  I tried to find the
reason dv-sockser.o was enabled in the first place, but failed finding
anything earlier than the hint in
<http://sourceware.org/ml/gdb-patches/2013-03/msg00745.html>.  It
seems the introduction of (building) dv-sockser.o and enabling
sim-hardware for *all* sims from that time was just misguided.  After
these patches, all simulators now build, in particular those fixed
below without and with --enable-sim-hardware and
--disable-sim-hardware, but that's mainly because
SIM_AC_OPTION_HARDWARE has a bug; it forces the value of its first
parameter rather than making it the default for
--{enable,disable}-sim-hardware.  See sim/common/acinclude.m4 and the
generated configure files.

brgds, H-P


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

end of thread, other threads:[~2015-03-24  5:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-20  4:28 [RFC 0/4] Fix recent sim/*/config.in fallout: frv, m32r, sh64, iq2000 Hans-Peter Nilsson
2014-08-23  3:13 ` Hans-Peter Nilsson
2015-03-24  4:18   ` Mike Frysinger
2015-03-24  5:55     ` Hans-Peter Nilsson
2015-03-24  4:19   ` [PATCH] sim: Revert "Fix frv/iq2000/m32r/sh64 sim, default hardware to off." Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox