This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: gcc.dg/compat/struct-layout-1.exp does not supported installed-compiler testing


Richard Guenther <richard.guenther@gmail.com> writes:

> /net/alwazn/home/rguenth/src/gcc/cvs/gcc-4.1/gcc/testsuite/gcc.dg/compat/generate-random.c:55:23:
> libiberty.h: No such file or directory^M
> /net/alwazn/home/rguenth/src/gcc/cvs/gcc-4.1/gcc/testsuite/gcc.dg/compat/generate-random_r.c:56:23:
> libiberty.h: No such file or directory^M
> WARNING: Could not compile gcc.dg/compat/struct-layout-1 generator
> 
> Note how
>   1. it uses $(CC) for building, not the built compiler

That is correct, as this program is run on the build system to
generate test cases.

>   2. it doesn't provide an include path to libiberty.h

I think that it no longer needs to include libiberty.h--in fact I'm
not sure generate-random.c ever needed it.  Try just removing the
#include.

Ian


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