This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Your new binutils ld tests broke cris-elf without installed target compiler
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: gingold at adacore dot com
- Cc: hans-peter dot nilsson at axis dot com, ebotcazou at adacore dot com, binutils at sourceware dot org
- Date: Fri, 11 Jan 2008 17:11:23 +0100
- Subject: Re: Your new binutils ld tests broke cris-elf without installed target compiler
> From: Tristan Gingold <gingold@adacore.com>
> Date: Fri, 11 Jan 2008 16:58:01 +0100
> On Jan 11, 2008, at 4:39 PM, Hans-Peter Nilsson wrote:
> > In my binutils autotester, I now see:
> >
> > Running /tmp/hpautotest-binutils/bsrc/src/ld/testsuite/ld-gc/
> > gc.exp ...
> > ERROR: cris-axis-elf-cc does not exist
> > FAIL: Check --gc-section/-q
> > FAIL: Check --gc-section/-r/-e
> > FAIL: Check --gc-section/-r/-u
> >
> > with ld.log not adding anything useful (the tests fail due to
> > gc.o not existing due to $target-cc not being there).
> >
> > The target compiler is supposed to be optional when running the
> > binutils tests. See other parts of the testsuite,
> > e.g. ld/testsuite/ld-selective/selective.exp (but use $CC for C,
> > not $CXX).
>
> Does this patch help ? (Seems to work for me).
You'd still get the ERROR, so I suggest testing for existence of
CC instead, like selective.exp.
brgds, H-P