From owner-freebsd-ports@FreeBSD.ORG Tue Sep 13 07:01:25 2011 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36089106567B; Tue, 13 Sep 2011 07:01:25 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id C7D1D8FC19; Tue, 13 Sep 2011 07:01:24 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:2d7d:e6bb:877a:7b03]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id B379F4AC1C; Tue, 13 Sep 2011 11:01:22 +0400 (MSD) Date: Tue, 13 Sep 2011 11:01:14 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <801150301.20110913110114@serebryakov.spb.ru> To: Doug Barton In-Reply-To: <4E6E6607.2030104@FreeBSD.org> References: <503309410.20110912205856@serebryakov.spb.ru> <865325899.20110912230621@serebryakov.spb.ru> <4E6E60C7.90304@FreeBSD.org> <181642832.20110912235833@serebryakov.spb.ru> <4E6E6607.2030104@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: ports@FreeBSD.org Subject: Re: Print +REQUIRED_BY as tree? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2011 07:01:25 -0000 Hello, Doug. You wrote 13 =F1=E5=ED=F2=FF=E1=F0=FF 2011 =E3., 0:05:27: > On 09/12/2011 12:58, Lev Serebryakov wrote: >> How could I determine which ports are directly lined with libgcc from >> gcc44? ldd?=20 > Yes, that's really the only answer. I have the following function which > would work: libchk port could help, too. But it seems top be broken. It shows, that system /usr/lib/libstdc++.so.6 depends on gcc44's libgcc_s.so and it is completely wrong! I'll fill pr about it! > You could run old_libs and it would tell you which > things are linked against it. > Alternatively you could do the following with portmaster: > portmaster -o lang/gcc45 gcc-4.4 > portmaster -R -r gcc-4.5 Yep, but it is very long way when you have, say, kde4 installed. It is why I want to determine MINIMAL set of ports, which are REALLY depend on gcc4 For example, x264 DEPENDS on gcc, (has USE_GCC=3D4.4+ in Makefile), but no x264 files are linked with libgcc_s.so or other libraries from gcc44. It seems, that we need separate USE_GCC_BUILD and USE_GCC_RUN, as with PERL or PYTHON. --=20 // Black Lion AKA Lev Serebryakov