This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gcc.dg/compat/struct-layout-1.exp does not supported installed-compiler testing
- From: Ian Lance Taylor <ian at airs dot com>
- To: Richard Guenther <richard dot guenther at gmail dot com>
- Cc: Mark Mitchell <mark at codesourcery dot com>, gcc mailing list <gcc at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>, Janis Johnson <janis187 at us dot ibm dot com>, DJ Delorie <dj at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: 17 May 2005 08:59:07 -0400
- Subject: Re: gcc.dg/compat/struct-layout-1.exp does not supported installed-compiler testing
- References: <4287E531.8030000@codesourcery.com><m38y2fg944.fsf@gossamer.airs.com> <42893A3C.4010507@codesourcery.com><84fc9c0005051705171d830058@mail.gmail.com>
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