From owner-freebsd-stable@FreeBSD.ORG Thu Nov 29 09:59:29 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0023D6C3 for ; Thu, 29 Nov 2012 09:59:28 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id B78728FC0C for ; Thu, 29 Nov 2012 09:59:28 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id s9so19243415iec.13 for ; Thu, 29 Nov 2012 01:59:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=QuNOHaHWL+mKQoNL16HXumrmlxEDZ+smyf1k/RqkRAk=; b=CUKfk4t0OcRu35Xg2zthl26eLLC4vs3sNe9Zvr9zCsZnR8CC01+BJNOrSGFiB8A5uL 8d2VM4shDJYKPt+y64y0av4gRSo+R7fVS8ZTgKMWj9KkQkInAUujZtW1GwbB24kOTxRT gFcVgStkbmLWFEyPEFXtTkQbDEGW8mbC4EsjWBbIJboPVoW7AZ3kKdE+K43RC76suGVU EftzHGXg43TpP3sMf/rSG+oDyWs6S9euiTWni7SfwsEluk7AOSGCdei2/IA8S3/YVxxD eXR9h2FuEmYNBlVPkfApbb+Evlk19a7d7MqYIfbQ4RH6qJUBi2A9xNEFiDJ3WMXcC2tO 5qgQ== Received: by 10.50.33.138 with SMTP id r10mr22426236igi.6.1354183168424; Thu, 29 Nov 2012 01:59:28 -0800 (PST) Received: from [192.168.1.132] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPS id i9sm6822570igl.9.2012.11.29.01.59.26 (version=SSLv3 cipher=OTHER); Thu, 29 Nov 2012 01:59:27 -0800 (PST) Message-ID: <50B731FC.5090301@gmail.com> Date: Thu, 29 Nov 2012 11:59:24 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Firefox/17.0 SeaMonkey/2.14 MIME-Version: 1.0 To: "stable@freebsd.org" Subject: -stdlib=libc++ fails for some ports Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2012 09:59:29 -0000 Hi all. When compiling databases/db5 with CFLAGS+= -stdlib=libc++ I got this: libtool: compile: c++ -c -I. -I./../src -D_THREAD_SAFE -O2 -pipe -march=native -fno-strict-aliasing -stdlib=libc++ ../lang/cxx/cxx_db.cpp -fPIC -DPIC -o .libs/cxx_db.o In file included from ../lang/cxx/cxx_channel.cpp:13: In file included from ./db_cxx.h:55: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:434: In file included from /usr/include/c++/v1/algorithm:590: In file included from /usr/include/c++/v1/initializer_list:47: /usr/include/c++/v1/cstddef:64:61: error: expected class member or base class name _LIBCPP_ALWAYS_INLINE _LIBCPP_CONSTEXPR nullptr_t() : _(0) {} ^ ./db_int.h:445:16: note: expanded from macro '_' #define _(msg) msg /* Replace with localization function. */ ^ The problem is actually on libc++ side and has been fixed upstream: http://llvm.org/viewvc/llvm-project?view=rev&revision=167038 -- Sphinx of black quartz, judge my vow.