From owner-freebsd-ports@FreeBSD.ORG Tue Jan 2 16:17:35 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1546616A40F for ; Tue, 2 Jan 2007 16:17:35 +0000 (UTC) (envelope-from john_m_cooper@yahoo.com) Received: from smtp105.biz.mail.re2.yahoo.com (smtp105.biz.mail.re2.yahoo.com [206.190.52.174]) by mx1.freebsd.org (Postfix) with SMTP id A4D0F13C467 for ; Tue, 2 Jan 2007 16:17:34 +0000 (UTC) (envelope-from john_m_cooper@yahoo.com) Received: (qmail 79536 invoked from network); 2 Jan 2007 16:17:34 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=QSEw1JZIOpU/0dqrJK1l9N4wiwIn0YpxgWPK08CuSdlaJUYQwWmkiICAkhrxAd28klawtKzn5zRoUjU6TAadhCioydpHvotw+Ou+gkeTCn4tCvlF+OJqJyGjNLmHQQ9S7J7ovtefLn8xEujlCnb4l5PN6Yvb+qOC4LppuzNGxqg= ; Received: from unknown (HELO borgdemon2.13tentmillln.home) (j.m.cooper@borgsdemons.com@68.33.224.115 with login) by smtp105.biz.mail.re2.yahoo.com with SMTP; 2 Jan 2007 16:17:34 -0000 X-YMail-OSG: 57DcmJYVM1kzTinJu.8MWvzMPoVTpq_E08EfPugs7_MGSI1fbUblt2YUiEVqAT15E64XMnxLDk5rCXBXOrS63im4x79QtbkuwrpBdy.r0sPwGtqdIKX7NdU.edFmKZoT5mc6_wQFeXBS7aA- Received: from [127.0.0.1] (localhost [127.0.0.1]) by borgdemon2.13tentmillln.home (Postfix) with ESMTP id 4E9F15CB0; Tue, 2 Jan 2007 11:17:33 -0500 (EST) Message-ID: <459A859C.6020008@yahoo.com> Date: Tue, 02 Jan 2007 11:17:32 -0500 From: John Merryweather Cooper User-Agent: Thunderbird 1.5.0.9 (X11/20061224) MIME-Version: 1.0 To: Petr Holub References: <000101c729b8$4af722a0$5317fb93@KLOBOUCEK> In-Reply-To: <000101c729b8$4af722a0$5317fb93@KLOBOUCEK> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, karel@lovetemple.net Subject: Re: missing libgnat-GPL2005.a X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jan 2007 16:17:35 -0000 Petr Holub wrote: >> It looks like a bug in gnatmake and/or gnatgcc. I've built and >> installed all three versions of gnat from ports, and all three versions >> install the normative environment library as libgnat.a. It shouldn't be >> possible to build too many working programs without correctly linking to >> libgnat.a, so I'm curious as to what's going wrong to trigger this error. >> > > I think it's combination of gnatmake building shared library > and using gnat project (GPR) for that purpose. I will try to > find out if I can trigger this on some simpler scenario, e.g. > building simple binary using GPR similar to the one used in > XMLAda. > > Petr > > > I can confirm that this problem relates to build static vs. shared libraries. It seems that if the compiler is built static, then making shared libraries that need the compiler runtime will run into problems. jmc