This is the mail archive of the gcc@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: Why doesn't ADA testsuite use newly built gnatchop/gnatmake?


On Thu, Mar 04, 2004 at 01:42:58PM -0800, H. J. Lu wrote:
> 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.

Now, this is a different bug than the one everyone's discussing.  You
are saying that the _installed_ gnat1 is used, not that the _host_
gnat1 is used.

I believe this is a known bug.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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