From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AE57013832E for ; Fri, 19 Aug 2016 03:12:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 34D1821C0E1; Fri, 19 Aug 2016 03:11:52 +0000 (UTC) Received: from mail-qk0-f178.google.com (mail-qk0-f178.google.com [209.85.220.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0A25D21C08C for ; Fri, 19 Aug 2016 03:11:50 +0000 (UTC) Received: by mail-qk0-f178.google.com with SMTP id v123so35249032qkh.2 for ; Thu, 18 Aug 2016 20:11:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pathscale-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=MGsvymLqmuEXr5MlSjYQ3nqhoLm/BMIcaA1nvoGV93w=; b=MXN4Z3E+rqA+9BlPJPb80GikO399kUpQd49xou4AnvmVZgc7qUnj/sCgItmxiJAXUe kRqMXwlVfIneg+XdZROZ9eD+L4noN3UXf0WeQr9hc96ZLstvEyUE1pKh5FxfEFNMf7pu /2mlNaOS1MWuPsYMzVt11YVmHqcC2abn+0lcbQdnYDKg1bhFSqKEp19JWRPlImNk2rJS o2hpiflT5FRid0Xz4pCJujgwvhGPq25y7mKByji+Jjna6QumAIeVmfoGdt2J2uNZEFjU Z4BMt2nD6ma1SSrXCKn1KSDqxoYgVLJ9TX0BQEZCPflC8gNyUp7GZwQGOWCV9A+CfUtu 0jxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=MGsvymLqmuEXr5MlSjYQ3nqhoLm/BMIcaA1nvoGV93w=; b=DsHlXHZ7Quk+mz1929cq0weSuGzh454fTlL5xGt7TMDnqYc9vOKuwTHZ5Zubq2ZZNw v+KoQOrs3c9mPjNwZF6gPQPKD0YXLFKM+5ovWtMsST7fprGrI26XZljPo+WoPmMcZqFG LPn077tP64NkgtN+HwjBAnXeytOXTcM3G0TgEfWRfft7kbrqZ0u9k0EGvjEGlhaoc+YE dYz/azo2iNZ/mMqCYtykFwqkhNvEGysytEyuJIRzHCE6786q8R6XWuczUTJG3yUQsips wlGpa1tXq4Ah12GRt4eO5TU06lPplD1L5p/fPQufD1hlwM3kpCTjkLhKwvXD3oWl9ZfR OJ0Q== X-Gm-Message-State: AE9vXwMx4SrOLxeQPAdDpQbnqPg9wfgVs6WLSTQGxZqI7mDU4U9vcJdTGPbfk0z+FCGHUFM6CikYuE6WlPCDWA== X-Received: by 10.55.35.131 with SMTP id j125mr6367446qkj.235.1471576309858; Thu, 18 Aug 2016 20:11:49 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.140.22.6 with HTTP; Thu, 18 Aug 2016 20:11:29 -0700 (PDT) X-Originating-IP: [115.87.2.110] In-Reply-To: References: <20160816182204.61c27681.mgorny@gentoo.org> <20160819020737.5419083.98443.119986@pathscale.com> From: =?UTF-8?B?QyBCZXJnc3Ryw7Zt?= Date: Fri, 19 Aug 2016 11:11:29 +0800 Message-ID: Subject: Re: [gentoo-dev] New project: LLVM To: "Anthony G. Basile" Cc: llvm@gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 8e2d3703-249b-4699-a9c1-eaf9d6cd65d7 X-Archives-Hash: 1ae035c436befc5f231f8717ebf27f96 I think you're getting a bit confused libsupc++ is the default now, from GNU libcxxabi is the bloated runtime from Apple libcxxrt is the faster c++ runtime, PathScale+David Chisnall, which PathScale and FreeBSD use by default. We don't need a version number because it's pretty much rock solid stable for a while. I'd encourage you to consider libcxxrt for at least the code size and performance reasons. Build it and you'll see. Locally my unoptimized libcxxrt.so is like 88K. How much is your libcxxabi (static and shared) 88K /opt/enzo-2016-06-26/lib/6.0.983/x8664/64/libcxxrt.so 140K /opt/enzo-2016-06-26/lib/6.0.983/x8664/64/libcxxrt.a // This seems larger than I remember and I need to check why. https://github.com/pathscale/libcxxrt On Fri, Aug 19, 2016 at 10:40 AM, Lei Zhang wrot= e: > 2016-08-19 10:07 GMT+08:00 : >> That seems a lot like what we've already done. I guess a GSOC student is= working on the libcxxabi piece. > > I am that GSoC student :) > > I'm currently trying to push libc++abi to replace libcxxrt as the > default runtime: https://github.com/gentoo/gentoo/pull/2048 > > The reason is I think libc++abi blends in more naturally with other > LLVM components, and it has a clear version number as opposed to > libcxxrt. > >> The only advantage to using our runtime, libcxxrt, is performance and co= de size.=E2=80=8E > > Honestly I don't know what essential difference these two libs have; I > can't find any decent comparison of them on the internet. Do you have > some real numbers to show the difference in performance and code size? > > > Lei >