This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Why doesn't ADA testsuite use newly built gnatchop/gnatmake?
On Thu, Mar 04, 2004 at 09:26:35PM +0100, Eric Botcazou wrote:
> > The fact that the host gnatmake is used for part of the time, and the
> > target gnatmake is used for the rest of the time, certainly seems like a
> > bug to me.
>
> Why? The compiler was built with the host gnatgcc so it makes sense (and
> might be required) to setup the testing infrastructure with the host tools.
>
> > Is this really so difficult to fix?
>
> I think the question is rather: what is exactly H.J.'s problem? Like Arnaud,
> I fail to understand it for the time being.
>
Ada testsuite log gives very little information. I got many
Running chapter a ...
/export/build/gnu/gcc-3.4/build-pentium4-linux/gcc/testsuite/ada/acats/tests/a/a22006b.ada:
parse errors detected
/export/build/gnu/gcc-3.4/build-pentium4-linux/gcc/testsuite/ada/acats/tests/a/a22006b.ada:
chop may not be successful
/export/build/gnu/gcc-3.4/build-pentium4-linux/gcc/testsuite/ada/acats/tests/a/a22006b.ada:
error parsing offset info
no compilation units found
no source files written
on Linux/x86. To reproduce,
1. Build gcc 3.4 with ada.
2. Install gcc 3.4.
3. Replace gnat1 in the installed gcc 3.4 directory with a dummy shell
script which returns 1.
4. Run "make check-ada" and watch massive failures.
It looks like Ada testsuite forgets to make sure the newly build Ada
compiler is used instead of the installed one.
H.J.