From owner-svn-src-all@FreeBSD.ORG Wed Jul 9 17:32:54 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 11E9F133; Wed, 9 Jul 2014 17:32:54 +0000 (UTC) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2C3672684; Wed, 9 Jul 2014 17:32:53 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id cc10so3180355wib.6 for ; Wed, 09 Jul 2014 10:32:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=De9Y7D7bDM9e4FmJGP41Gp5C10Eqzz/IAmzU8Xnv+QE=; b=CuR0ZEVu7BuKb2KfSt3zmCZSoAQNMdbHmyjPfcL2CyUSLyaj/p2hK3xhhuRHlKGvmQ OtAHxpoJDrfVvwM5/mlp6xgAECNgzBzn66yAf3ug5Kdj6bHkIDzJSGRv4O2R7U+6sKtX JxO4iQuCyc+lO0S3Kx0lUUyA2Ni/v9XMOBMY0/UOCwrm5FKR44IFHvCvNvvNqLDf5HYH PcahBTNHPiCGxfSKnM52N9QHxq41QPhJtwhZEegEEcB5izRHwBICf0hjsc6/BZYCYQDq DT649aF23qS3rfBCIYKIO3EcjE24/9LUZ8XkKHbs78Ho72teCUDLTACxJ/3UQA0ypbsl 696Q== X-Received: by 10.194.185.238 with SMTP id ff14mr50582937wjc.9.1404927171390; Wed, 09 Jul 2014 10:32:51 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id de5sm21664365wib.18.2014.07.09.10.32.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Jul 2014 10:32:50 -0700 (PDT) Sender: Baptiste Daroussin Date: Wed, 9 Jul 2014 19:32:48 +0200 From: Baptiste Daroussin To: Pedro Giffuni Subject: Fix private/internal lib (was Re: svn commit: r268461 - in head: . gnu/lib/libreadline) gnu/lib/libreadline/history gnu/lib/libreadline/readline gnu/lib/libreadline/readline/doc gnu/usr.bin/gdb gnu/usr.bin/gdb/gdb gnu/usr.bin/gdb/gd... Message-ID: <20140709173248.GE56040@ivaldir.etoilebsd.net> References: <201407091552.s69FqUon070685@svn.freebsd.org> <53BD68E4.1070706@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Dzs2zDY0zgkG72+7" Content-Disposition: inline In-Reply-To: <53BD68E4.1070706@freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2014 17:32:54 -0000 --Dzs2zDY0zgkG72+7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 09, 2014 at 11:08:04AM -0500, Pedro Giffuni wrote: >=20 > On 07/09/14 10:52, Baptiste Daroussin wrote: > > Author: bapt > > Date: Wed Jul 9 15:52:30 2014 > > New Revision: 268461 > > URL: http://svnweb.freebsd.org/changeset/base/268461 > > > > Log: > > The GNU readline library is now an INTERNALLIB - that is, it is > > statically linked into consumers (GDB and variants) in the base > > system, and the shared library is no longer installed. > > =20 > > That also allows ports to be able to use a modern version of readline > > =20 >=20 > Nice, thank you. > I guess libgnuregex is also a good candidate for such treatment :). >=20 gnuregex is another beast it is used in at more places: - GNU diff - GNU grep - BSD grep - gdb - kgdb - gdbtui That makes it more a candidate for privatellib, but private lib needs to be fixed first, it has a couple of problems so far: - it installs .so, .a and _p.a files while it shouldn't - they are listed in bsd.libnames.mk so exposed to any bsd.*.mk users when = it should only be internal of to out build system - when a part of the system tries to link to a privatelib it links to ${DESTDIR}/usr/lib/private/${LIB}.so when it should link to the path on O= BJDIR because the .so is not supposed to be installed into the target. We need a framework internal to the build system (aka not installed in base) that list the privatelib/internallib (looks at the ugly thing I have done in gdb/Makefile.inc) and we need to link to the .so/a which it in the OBJDIR n= ot in the DESTDIR. I have no idea how to do that right now (Warner any idea coming into your m= ind?) regards, Bapt --Dzs2zDY0zgkG72+7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlO9fMAACgkQ8kTtMUmk6EzX/wCeNsSvEu09aUmpptRkE+wY2ULT n3gAnjQKPN773B+N3wqG71lhe50k0QuQ =o6EH -----END PGP SIGNATURE----- --Dzs2zDY0zgkG72+7--