From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19302 invoked by alias); 16 Dec 2002 21:19:55 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 19295 invoked from network); 16 Dec 2002 21:19:52 -0000 Received: from unknown (HELO mail.oarcorp.com) (216.107.91.226) by sources.redhat.com with SMTP; 16 Dec 2002 21:19:52 -0000 Received: (qmail 19482 invoked from network); 16 Dec 2002 21:19:51 -0000 Received: from unknown (HELO OARcorp.com) (136.205.65.100) by 0 with SMTP; 16 Dec 2002 21:19:51 -0000 Message-ID: <3DFE4378.18D60459@OARcorp.com> Date: Mon, 16 Dec 2002 13:37:00 -0000 From: Joel Sherrill Organization: OAR Corporation X-Accept-Language: en MIME-Version: 1.0 To: Daniel Jacobowitz , Ben Elliston , gcc@gcc.gnu.org Subject: Re: problem running test_installed suite was Re: more on mips-elf test installed References: <3DF9EAFD.74E57893@OARcorp.com> <3DFA143D.C973B2A1@OARcorp.com> <3DFDE46C.952C6222@OARcorp.com> <20021216164728.GA16568@nevyn.them.org> <3DFE1348.E1A1BE9A@OARcorp.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-12/txt/msg00930.txt.bz2 Joel Sherrill wrote: > > Daniel Jacobowitz wrote: > > > Thanks. That appears to be working -- at least testglue.c is compiled > by > the right compiler anyway. I had tried "CC_FOR_TARGET=arm-elf-gcc > runtest ..." > but obviously that didn't work. > > I am running the test suite now and if that goes well should have a > patch > to contrib/test_installed. Well, it got further but I still have about 4000 more failures in the installed test run than the in build tree version. I see this failure more than once: Executing on host: arm-elf-gcc /usr3/ftp_archive/gnu/gcc/ss/b-3.2.1/gcc-3.2.1/gcc/testsuite/gcc.c-torture/execute/20000112-1.c testglue.o -w -O2 -DSTACK_SIZE=16384 -Wl,-wrap,exit -Wl,-wrap,main -Wl,-wrap,abort -lm -o /usr3/ftp_archive/gnu/gcc/ss/b-3.2.1/r-arm-elf/20000112-1.x2 (timeout = 800) pid is 13355 -13355 output is PASS: gcc.c-torture/execute/20000112-1.c compilation, -O2 Simulator -run missing. FAIL: gcc.c-torture/execute/20000112-1.c execution, -O2 Which I take to mean that it can't figure out the simulator. The next place the script uses the wrong gcc is during linkage.exp. output is cc -c /usr3/ftp_archive/gnu/gcc/ss/b-3.2.1/gcc-3.2.1/gcc/testsuite/gcc.misc-tests/linkage-y.c >&/dev/null doing compile I notice another difference is that when run in tree, it skips the unsupported tests and doesn't for the installed run: Executing on host: arm-elf-gcc /usr3/ftp_archive/gnu/gcc/ss/b-3.2.1/gcc-3.2.1/gcc/testsuite/gcc.dg/20020122-2.c -O2 -fprefetch-loop-arrays -march=athlon -DSTACK_SIZE=16384 -S -o 20020122-2.s (timeout = 800) pid is 26700 -26700 cc1: bad value (athlon) for -march= switch^M cc1: warning: -fprefetch-loop-arrays not supported for this target (try -march switches)^M I see about 200 failure just trying to compile code that requires a particular -march switch or has inline assembly. It looks like there are a handful of other switches that aren't set. The site.exp is: set tmpdir "/usr3/ftp_archive/gnu/gcc/ss/b-3.2.1/r-arm-elf" set srcdir "/usr3/ftp_archive/gnu/gcc/ss/b-3.2.1/gcc-3.2.1/gcc/testsuite" set GCC_UNDER_TEST "arm-elf-gcc" set GXX_UNDER_TEST "no" set G77_UNDER_TEST "no" Is there more that has to be set that test_installed is not setting? Thanks. --joel sherrill