From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10217 invoked by alias); 4 Sep 2009 02:24:35 -0000 Received: (qmail 10209 invoked by uid 22791); 4 Sep 2009 02:24:34 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Sep 2009 02:24:27 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 54C232BAC1D; Thu, 3 Sep 2009 22:24:25 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id hbzN1N6+BQbN; Thu, 3 Sep 2009 22:24:25 -0400 (EDT) Received: from [172.16.1.5] (sdsl-216-220-103-157.dsl.bway.net [216.220.103.157]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by rock.gnat.com (Postfix) with ESMTPSA id 0DED32BAC18; Thu, 3 Sep 2009 22:24:25 -0400 (EDT) Cc: GCC Message-Id: <6E084C26-7D32-4AE1-A520-29DE3515EB47@adacore.com> From: Geert Bosch To: Richard Henderson In-Reply-To: <4AA04A98.3000900@redhat.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: [ada] help debugging acats failure Date: Fri, 04 Sep 2009 02:24:00 -0000 References: <4A9F1A8D.5080501@redhat.com> <4AA04A98.3000900@redhat.com> Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-09/txt/msg00091.txt.bz2 If you pass -v to gnatmake, it will output the gcc invocations. This should be sufficient to find the problem. Basically, just go to the directory containing c35502i.adb, and execute the gnatmake command as listed below, with -v added in. If you only have the 35502i.ada file available, use "gnatchop 35502i.ada" to get the various units split out in their own files. You might need to specifically include the "support" directory, which appears to be /home/rth/work/gcc/bld-sjlj/gcc/testsuite/ada/acats0 from your report. Hope this helps. -Geert On Sep 3, 2009, at 19:00, Richard Henderson wrote: > Can someone tell me how to debug this: > >> splitting /home/rth/work/gcc/bld-sjlj/gcc/testsuite/ada/acats0/ >> tests/c3/c35502i.ada into: >> c35502i.adb >> BUILD c35502i.adb >> gnatmake --GCC="/home/rth/work/gcc/bld-sjlj/gcc/xgcc -B/home/rth/ >> work/gcc/bld-sjlj/gcc/" -gnatws -O2 -I/home/rth/work/gcc/bld-sjlj/ >> gcc/testsuite/ada/acats0/support c35502i.adb -largs --GCC="/home/ >> rth/work/gcc/bld-sjlj/gcc/xgcc -B/home/rth/work/gcc/bld-sjlj/gcc/" >> /home/rth/work/gcc/bld-sjlj/gcc/xgcc -c -B/home/rth/work/gcc/bld- >> sjlj/gcc/ -gnatws -O2 -I/home/rth/work/gcc/bld-sjlj/gcc/testsuite/ >> ada/acats0/support c35502i.adb >> gnatbind -I/home/rth/work/gcc/bld-sjlj/gcc/testsuite/ada/acats0/ >> support -x c35502i.ali >> gnatlink c35502i.ali --GCC=/home/rth/work/gcc/bld-sjlj/gcc/xgcc -B/ >> home/rth/work/gcc/bld-sjlj/gcc/ >> ./c35502i.o: In function `_ada_c35502i': >> c35502i.adb:(.text+0x156): undefined reference to `.L47' >> collect2: ld returned 1 exit status >> gnatlink: error when calling /home/rth/work/gcc/bld-sjlj/gcc/xgcc >> gnatmake: *** link failed. >> FAIL: c35502i > > I haven't been able to figure out what command to issue from the > command line to reproduce this. Cut and paste from the dejagnu log > doesn't work, which is more than annoying... > > > r~