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 EACA213832E for ; Fri, 19 Aug 2016 16:55:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 898D421C043; Fri, 19 Aug 2016 16:54:46 +0000 (UTC) Received: from mail-io0-f182.google.com (mail-io0-f182.google.com [209.85.223.182]) (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 926B7E0A86 for ; Fri, 19 Aug 2016 16:54:45 +0000 (UTC) Received: by mail-io0-f182.google.com with SMTP id m101so53905899ioi.2 for ; Fri, 19 Aug 2016 09:54:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=0C59Mx/amFxrXA5stUF1kGgo5qdzxOpxh+U6rRNPuVA=; b=T+wilpSorgNpGOEEO5JuLVWH5Dwj5u1OlZyRaAruCs+51iNg5aEn4w9pwSjVL67e1b qh7xwZWgA68coqt4pyuc/2bjiqoGMsSMLK2n1FlVipVSSL3RwKt/qogX24SE5FJH3RNb nHR05b2/db9l54kiN3gsAzPES33h96sjvEd1gJXyDdIeLw0IsKkDD+Zrdn1bi+eY0tHT DIkRb4fhex9v7e3Lp+/Chd3FtK7f54mcLRgynP3EQZsxqnghVb1wnvB2imYM4Ve/8CdW UOVJdHSLGeFpa3WL1JXrJ6tO/KEmuXp35yzk0TttknCjronUoGhs50lBUvhdSJ0+2xpT haZw== 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=0C59Mx/amFxrXA5stUF1kGgo5qdzxOpxh+U6rRNPuVA=; b=Us11k34kf4vftqWAdXmmsEpTgeN4YwIIFxVxppeOevb1jRB4gaccI5fJ/FX7WmizK0 vNgXUkWcNGoIpxrS4ExasRVLvvubB8efWiSni897hyLq5XnOKfUWuD7wtRcBq5xTYQdE YlXWzPtDZFZTh+MEPoNDogMx+ehRxkB8c+OvDP6kFdWQ0n4dBIbHux/jrl+KQOVIrYvz e9/CTwSQO52U9PUNc+01+EQ+Xq73wmFgomkVUFSFT7CJZHSDDLKvKO4No0PX9cAv1EYw Bl+/F7DLj8FsGj7SR0A0L2jOsQMG1fEdf/+Tuam5pJtsnRp06t5z5p+xRcyoSmD/5Vfg CHJw== X-Gm-Message-State: AEkoouuVJAfmQQMBBMNdfZcMyiNeTqgstnP7+AfrvgBWS0ri382/nsCz7HfXaIbOMVpTB6GZlm60GZkYOF6yRw== X-Received: by 10.107.168.229 with SMTP id e98mr10771784ioj.61.1471625684680; Fri, 19 Aug 2016 09:54:44 -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.36.246.197 with HTTP; Fri, 19 Aug 2016 09:54:24 -0700 (PDT) In-Reply-To: References: <20160816182204.61c27681.mgorny@gentoo.org> <20160819020737.5419083.98443.119986@pathscale.com> From: Lei Zhang Date: Sat, 20 Aug 2016 00:54:24 +0800 Message-ID: Subject: Re: [gentoo-dev] New project: LLVM To: gentoo-dev@lists.gentoo.org Cc: llvm@gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 38bd5134-72a7-4c02-b1f0-4993198d1d9d X-Archives-Hash: b1d3655805e9a645e235e7a82ef0b065 2016-08-19 11:11 GMT+08:00 C Bergstr=C3=B6m : > 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 Currently libcxxrt is the default ABI lib for libc++ in Gentoo. I mean to replace it with libc++abi in that context. I'm interested in benchmarking to reveal the claimed difference in performance. Perhaps I can build the same program against libcxxrt and libc++abi respectively and see how it behaves. Do you have some hints on what kind of programs I should test? Thanks, Lei