This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: build error for mn10300-elf sim with your recent commit
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: brobecker at adacore dot com
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 15 Jun 2012 22:36:57 +0200
- Subject: Re: build error for mn10300-elf sim with your recent commit
> From: Joel Brobecker <brobecker@adacore.com>
> Date: Fri, 15 Jun 2012 21:15:16 +0200
> > > My autotester complains that the sim build for mn10300-elf is
> > > broken, and your entry was the only one at the top of
> > > sim/mn10300/ChangeLog. There was a working build 5-6 hours
> > > earlier:
> >
> > Yeah, I think that might be me. I'll try to reproduce and fix.
> > If it's an easy fix, I won't be offdended if you send a patch :-).
>
> I think this one is really going to hurt. Amazing how a little change
> in bfd can have ripple effects everywhere.
>
> Basically: BFD changed the inclusion rules, now causing a build error
> if you include "bfd.h" without having included "config.h" before.
Is it really that? My first thought was that it's *not* that.
All the other simulators I test (arm-elf, cris-elf, d10v-elf,
frv-elf, h8300-elf, iq2000-elf, m32c-elf, m32r-elf, m68hc11-elf,
mcore-elf, mips-elf, powerpc-eabisim, sh-elf, v850-elf) are ok
(fixed since the big config.h breakage), it's just mn10300-sim
that broke now, so I can't help but thinking it's likely a
simple fix.
brgds, H-P