This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [commit/sim] switch autoconf 2.59
On Tue, 11 Jan 2005, Andrew Cagney wrote:
> Hans-Peter Nilsson wrote:
> > On Tue, 11 Jan 2005, Andrew Cagney wrote:
> >>Before commiting this I did a full cross build (using gdb_mbuild.sh).
> > Looks like that only builds gdb.
>
> Why do you say that (yes I can read the subject)? It builds the GDB the
> source tree (which includes the sim) and typically GDB won't link if the
> sim build fails?
Ah, well, then I'm fresh out of wild guesses why it wasn't
noticed that the frv sim (and presumably all CGEN targets and
SIM_AC_OUTPUT users) fails building. To make sure nothing had
crept in locally, I just rechecked; checked out a brand new
"gdb" and did "$srcdir/configure --target=frv-elf && make all"
elsewhere. Host is i686-pc-linux-gnu (FC2), but I see this on
Debian Woody too:
... (from $build/sim)
configure: configuring in frv
configure: running /bin/sh '/home/hp/newgdb/src/sim/frv/configure' --prefix=/usr/local
'--cache-file=./config.cache' '--build=i686-pc-linux-gnu' '--host=i686-pc-linux-gnu' '--target=frv-elf' '--program-transform-name=s,^,frv-elf-,; ' '--srcdir=/home/hp/newgdb/src/sim' 'CC=gcc' 'CFLAGS=-g -O2' 'LDFLAGS=' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'target_alias=frv-elf' --cache-file=.././config.cache --srcdir=/home/hp/newgdb/src/sim/frv
configure: loading cache .././config.cache
configure: error: cannot run
configure: error: /bin/sh
'/home/hp/newgdb/src/sim/frv/configure' failed for frv
Re-doing the configure and make step, changing the "all" to
"all-gdb" (as in gdb_mbuild.sh), causes the same failure.
brgds, H-P