From: Hans-Peter Nilsson <hans-peter.nilsson@axis.com>
To: gdb-patches@sourceware.org
Subject: [RFC 0/4] Fix recent sim/*/config.in fallout: frv, m32r, sh64, iq2000
Date: Wed, 20 Aug 2014 04:28:00 -0000 [thread overview]
Message-ID: <201408200428.s7K4SNpt031643@ignucius.se.axis.com> (raw)
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
next reply other threads:[~2014-08-20 4:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-20 4:28 Hans-Peter Nilsson [this message]
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
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=201408200428.s7K4SNpt031643@ignucius.se.axis.com \
--to=hans-peter.nilsson@axis.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