From owner-freebsd-current@FreeBSD.ORG Wed Jul 5 15:53:17 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAD1616A52B for ; Wed, 5 Jul 2006 15:53:17 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5F7043D5D for ; Wed, 5 Jul 2006 15:53:14 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k65Fqp30000393; Wed, 5 Jul 2006 11:52:54 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Wed, 5 Jul 2006 11:42:27 -0400 User-Agent: KMail/1.9.1 References: <200607010009.09231@aldan> <20060701115508.GC8447@turion.vk2pj.dyndns.org> <200607011508.27920@aldan> In-Reply-To: <200607011508.27920@aldan> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-u" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200607051142.28352.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 05 Jul 2006 11:52:54 -0400 (EDT) X-Virus-Scanned: ClamAV 0.87.1/1585/Tue Jul 4 16:39:34 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Peter Jeremy , Mikhail Teterin Subject: Re: weird limitation on the system's binutils X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2006 15:53:17 -0000 On Saturday 01 July 2006 15:08, Mikhail Teterin wrote: > On Saturday 01 July 2006 07:55, Peter Jeremy wrote: > =3D IMHO, the FreeBSD base system should provide tools for doing native > =3D development - anything beyond that belongs in ports. =9AGiven that > =3D binutils supports quite an extensive range of targets (of the order of > =3D 100), building them all is impractical and a waste of resources for > =3D virtually everyone who uses FreeBSD. >=20 > I would agree with this myself, except that anything in the ports would h= ave=20 > to _duplicate_ or replace the system one. All of it -- not even just bfd = =2D-=20 > because it is all linked statically. Yes, this is normal behavior for ports that install things like alternative= =20 versions of gcc. > > libbdf.a is built by /usr/src/gnu/usr.bin/binutils/libbfd/Makefile. > > That should be a fairly simple change to arrange for it to build and > > install the .so as well. >=20 > Installing both libbfd-s certainly would be a good start... As things sta= nd,=20 > every port needing it -- including various different compilers -- builds = it=20 > own version. This is, largely, explained by the GNU's stupidity of bundli= ng > a different version with each tool (gdb, compiler), but the bundled bfds = are=20 > not THAT incompatible, and the system-installed version can include the=20 > compatible superset... Actually, in the past this has proven quite difficult, hence the current=20 arrangment of various tools linking statically against their own private=20 copy. =2D-=20 John Baldwin