RE: Regarding gcc testsuite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Hi,
>   I am trying to run the gcc-4.4.5 testsuite
> with the credentials given below
> Host    =   x86_64-linux-gnu
> Build   =   x86_64-linux-gnu
> Target  =   powerpc-linux-gnu
> and with this script
> 
> sudo runtest RUNTESTFLAGS="CFLAGS_FOR_TARGET=--sysroot=/opt/.../cdk/ppc/oea
>  --target_board=powerpc-sim" --tool gcc --srcdir
> /home/gcc-test/gcc4.5/gcc-4.4.5/gcc/testsuite
> --tool_exec=/opt/.../cdk/ppc/oea/bin/ppc_oea-gcc
> 
> target libraries directory = /opt/.../cdk/ppc/oea
> 
> I also have sparc_v8-gcc and x86_i586-gcc executable
> 
> i got these errors
> 
> /home/gcc-test/gcc4.5/gcc-4.4.5/gcc/testsuite/gcc.c-
> torture/execute/builtins/fprintf.c:8:19:
> error: stdio.h: No such file or directory
> /home/gcc-test/gcc4.5/gcc-4.4.5/gcc/testsuite/gcc.c-
> torture/execute/builtins/fprintf.c:9:
> error: expected ')' before '*' token
> /home/gcc-test/gcc4.5/gcc-4.4.5/gcc/testsuite/gcc.c-
> torture/execute/builtins/fprintf.c:
> In function 'main_test':
> /home/gcc-test/gcc4.5/gcc-4.4.5/gcc/testsuite/gcc.c-
> torture/execute/builtins/fprintf.c:15:
> error: 'FILE' undeclared (first use in this function)
> /home/gcc-test/gcc4.5/gcc-4.4.5/gcc/testsuite/gcc.c-
> torture/execute/builtins/fprintf.c:15:
> error: (Each undeclared identifier is reported only once
> /home/gcc-test/gcc4.5/gcc-4.4.5/gcc/testsuite/gcc.c-
> torture/execute/builtins/fprintf.c:15:
> error: for each function it appears in.)
> /home/gcc-test/gcc4.5/gcc-4.4.5/gcc/testsuite/gcc.c-
> torture/execute/builtins/fprintf.c:15:
> error: 's_array' undeclared (first use in this function)

This is the same issue that I commented on in:

https://gcc.gnu.org/ml/gcc/2014-10/msg00164.html


Could you check that you have correctly built and installed newlib?


Regards,


Andrew





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux