This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]