From owner-freebsd-toolchain@FreeBSD.ORG Tue Dec 16 15:58:51 2014 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3447272F; Tue, 16 Dec 2014 15:58:51 +0000 (UTC) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cloud.theravensnest.org", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id F06573F3; Tue, 16 Dec 2014 15:58:50 +0000 (UTC) Received: from [192.168.1.18] (ABordeaux-259-1-48-189.w109-223.abo.wanadoo.fr [109.223.255.189]) (authenticated bits=0) by theravensnest.org (8.14.9/8.14.9) with ESMTP id sBGFwcwR026198 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 16 Dec 2014 15:58:41 GMT (envelope-from theraven@FreeBSD.org) X-Authentication-Warning: theravensnest.org: Host ABordeaux-259-1-48-189.w109-223.abo.wanadoo.fr [109.223.255.189] claimed to be [192.168.1.18] Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Migration to dynamic libs for llvm and clang From: David Chisnall In-Reply-To: Date: Tue, 16 Dec 2014 15:58:39 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <41F09A1C-01D6-42C9-B495-244DFC2B0364@FreeBSD.org> References: To: Ed Maste X-Mailer: Apple Mail (2.1878.6) Cc: freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2014 15:58:51 -0000 Hi Ed, Please can we have a name other than libclang, to avoid name collisions = and confusion with, uh, libclang? libcfe maybe? David On 16 Dec 2014, at 15:46, Ed Maste wrote: > One of goals for the toolchain prior to the FreeBSD 11 branch is to > create a libllvm.so and libclang.so for use by all of the LLVM family > tools installed in the base system. This message is just a heads-up in > case anyone has questions or comments on the idea. >=20 > We currently build a large number of static libs for the llvm and > clang components, which are reused in a number of tools in the LLVM > family. The resulting binaries end up quite large, and as a group > require a lot of disk space. For example, LLDB includes a copy of > Clang, used as its expression parser. As a result, on my desktop > /usr/bin/clang and /usr/bin/lldb are both 27MB. >=20 > Over time we may add additional LLVM family tools (e.g., > llvm-objdump), and this will help avoid excessive bloat as we do so. >=20 > I expect libllvm.so and libclang.so will go in /usr/lib/private. > _______________________________________________ > freebsd-toolchain@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain > To unsubscribe, send any mail to = "freebsd-toolchain-unsubscribe@freebsd.org"