This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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: check-target-newlib problem


> -----Original Message-----
> From: newlib-owner@sources.redhat.com [mailto:newlib-
> owner@sources.redhat.com] On Behalf Of Jeff Johnston
> Sent: 24 March 2004 23:59
> To: jbeniston@compxs.com
> Cc: newlib@sources.redhat.com
> Subject: Re: check-target-newlib problem
> 
> I recently made a fix for building newlib with a relative directory, but I
> didn't test the testsuite.  For now, if you want to run the testsuite, use
an
> absolute directory to configure.  I'm looking at the problem.
> 
> -- Jeff J.

Hi Jeff,

Any thoughts on this? It looks like the problem still exists.

Also, it seems the testsuite doesn't seem to run properly even if an
absolute path is used for a cross compiler when needs_status_wrapper is set.
For example:

/home/Jon/gnu/gcc-4.6.0/configure '--prefix=/usr/local/arm'
'--target=arm-elf' '--with-newlib' '--disable-libssp'
'--enable-languages=c,lto'
make all
make check-target-newlib RUNTESTFLAGS="--target_board=arm-sim"

Target is arm-unknown-elf
Host   is i686-pc-cygwin

		=== newlib tests ===

Schedule of variations:
    arm-sim

Running target arm-sim
Using /usr/share/dejagnu/baseboards/arm-sim.exp as board description file
for target.
Using /usr/share/dejagnu/config/sim.exp as generic interface file for
target.
Using /usr/share/dejagnu/baseboards/basic-sim.exp as board description file
for target.
Using /home/Jon/gnu/gcc-4.6.0/newlib/testsuite/config/default.exp as
tool-and-target-specific interface file.
Running /home/Jon/gnu/gcc-4.6.0/newlib/testsuite/newlib.elix/elix.exp ...
Executing on host: /home/Jon/gnu/arm-gcc-4.6.0-1/gcc/xgcc
-B/home/Jon/gnu/arm-gcc-4.6.0-1/gcc/  -c
-I/home/Jon/gnu/arm-gcc-4.6.0-1/arm-elf/thumb/newlib/targ-include  -o
/home/Jon/gnu/arm-gcc-4.6.0-1/arm-elf/thumb/newlib/testsuite/testglue.o
/usr/share/dejagnu/testglue.c    (timeout = 300)
spawn /home/Jon/gnu/arm-gcc-4.6.0-1/gcc/xgcc
-B/home/Jon/gnu/arm-gcc-4.6.0-1/gcc/ -c
-I/home/Jon/gnu/arm-gcc-4.6.0-1/arm-elf/thumb/newlib/targ-include -o
/home/Jon/gnu/arm-gcc-4.6.0-1/arm-elf/thumb/newlib/testsuite/testglue.o
/usr/share/dejagnu/testglue.c 
/usr/share/dejagnu/testglue.c:1:19: fatal error: stdio.h: No such file or
directory
compilation terminated.
compiler exited with status 1
output is:
/usr/share/dejagnu/testglue.c:1:19: fatal error: stdio.h: No such file or
directory
compilation terminated.

Cheers,
Jon
 



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