From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31300 invoked by alias); 4 Sep 2009 09:47:30 -0000 Received: (qmail 31289 invoked by uid 22791); 4 Sep 2009 09:47:29 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_43,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-vw0-f174.google.com (HELO mail-vw0-f174.google.com) (209.85.212.174) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Sep 2009 09:47:18 +0000 Received: by vws4 with SMTP id 4so577130vws.0 for ; Fri, 04 Sep 2009 02:47:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.105.148 with SMTP id t20mr6680170vco.96.1252057636717; Fri, 04 Sep 2009 02:47:16 -0700 (PDT) In-Reply-To: <4AA04A98.3000900@redhat.com> References: <4A9F1A8D.5080501@redhat.com> <4AA04A98.3000900@redhat.com> Date: Fri, 04 Sep 2009 09:47:00 -0000 Message-ID: <84fc9c000909040247s71e4ebe1p48aff5ad60ac5e2@mail.gmail.com> Subject: Re: [ada] help debugging acats failure From: Richard Guenther To: Richard Henderson Cc: GCC Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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/msg00096.txt.bz2 On Fri, Sep 4, 2009 at 1:00 AM, 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: >> =A0 c35502i.adb >> BUILD c35502i.adb >> gnatmake --GCC=3D"/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.a= db >> -largs --GCC=3D"/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/gc= c/ >> -gnatws -O2 -I/home/rth/work/gcc/bld-sjlj/gcc/testsuite/ada/acats0/suppo= rt >> c35502i.adb >> gnatbind -I/home/rth/work/gcc/bld-sjlj/gcc/testsuite/ada/acats0/support = -x >> c35502i.ali >> gnatlink c35502i.ali --GCC=3D/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: =A0 c35502i > > I haven't been able to figure out what command to issue from the command > line to reproduce this. =A0Cut and paste from the dejagnu log doesn't wor= k, > which is more than annoying... Same for libjava ... What works for me is in the appropriate directory where the test.adb resides use the xgcc command line and add -I/home/..../gcc/ada/rts Richard. > > r~ >