From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12724 invoked by alias); 4 Sep 2009 01:34:47 -0000 Received: (qmail 12709 invoked by uid 22791); 4 Sep 2009 01:34:46 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-bw0-f225.google.com (HELO mail-bw0-f225.google.com) (209.85.218.225) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Sep 2009 01:34:38 +0000 Received: by bwz25 with SMTP id 25so371548bwz.8 for ; Thu, 03 Sep 2009 18:34:36 -0700 (PDT) Received: by 10.103.86.22 with SMTP id o22mr4453234mul.102.1252028072974; Thu, 03 Sep 2009 18:34:32 -0700 (PDT) Received: from ?192.168.2.99? (cpc2-cmbg8-0-0-cust61.cmbg.cable.ntl.com [82.6.108.62]) by mx.google.com with ESMTPS id s11sm888784mue.43.2009.09.03.18.34.32 (version=SSLv3 cipher=RC4-MD5); Thu, 03 Sep 2009 18:34:32 -0700 (PDT) Message-ID: <4AA071EF.7060104@gmail.com> Date: Fri, 04 Sep 2009 01:34:00 -0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Richard Henderson CC: GCC Subject: Re: [ada] help debugging acats failure References: <4A9F1A8D.5080501@redhat.com> <4AA04A98.3000900@redhat.com> In-Reply-To: <4AA04A98.3000900@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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/msg00090.txt.bz2 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... If you hack the last line ("exec $testdir/run_all.sh ....") off of a copy of gcc/testsuite/ada/acats/run_acats, you could probably source it into a shell to get all the variables set right. You might also want to hack run_all.sh (or a copy thereof) to add some "--save-temps" flags in strategic locations. cheers, DaveK