From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32688 invoked by alias); 4 Sep 2009 06:44:16 -0000 Received: (qmail 32676 invoked by uid 22791); 4 Sep 2009 06:44:15 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (212.99.106.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Sep 2009 06:44:08 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 051F829002B; Fri, 4 Sep 2009 08:44:06 +0200 (CEST) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vuVZ+PqvEp6T; Fri, 4 Sep 2009 08:44:05 +0200 (CEST) Received: from province.act-europe.fr (province.act-europe.fr [10.10.0.214]) by mel.act-europe.fr (Postfix) with ESMTP id 4842D29000F; Fri, 4 Sep 2009 08:44:03 +0200 (CEST) Received: by province.act-europe.fr (Postfix, from userid 525) id 37C0E164B6C; Fri, 4 Sep 2009 08:44:03 +0200 (CEST) Date: Fri, 04 Sep 2009 06:44:00 -0000 From: Arnaud Charlet To: Richard Henderson Cc: GCC Subject: Re: [ada] help debugging acats failure Message-ID: <20090904064403.GA76450@adacore.com> References: <4A9F1A8D.5080501@redhat.com> <4AA04A98.3000900@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4AA04A98.3000900@redhat.com> User-Agent: Mutt/1.5.17 (2007-11-01) 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/msg00093.txt.bz2 >> ./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... After a make install, you can use something like cd /home/rth/work/gcc/bld-sjlj/gcc/testsuite/tests/c3 gnatmake c35502i.adb -I/home/rth/work/gcc/bld-sjlj/gcc/testsuite/ada/acats0/support The command line used by the test suite is very complex and requires env vars just because it needs to use the uninstalled compiler. Once your compiler is installed, using it is a simple matter of doing gnatmake with appropriate -I switches if needed. Arno