From owner-freebsd-testing@FreeBSD.ORG Tue Mar 31 17:17:10 2015 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4E88C710; Tue, 31 Mar 2015 17:17:10 +0000 (UTC) Received: from mail-lb0-x234.google.com (mail-lb0-x234.google.com [IPv6:2a00:1450:4010:c04::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE71F62A; Tue, 31 Mar 2015 17:17:09 +0000 (UTC) Received: by lbbzk7 with SMTP id zk7so1334820lbb.0; Tue, 31 Mar 2015 10:17:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=DV3A2TLdY2nLED5Qsv5sFSedoDLDh+ePzh2h1kltk+Y=; b=k4lurGGdHab8IMw347Zb52T9vJwD5sNWfsW20lYg7yQGQYl1fmaqoxEaL6HaialEzq WL1IY26R/wb8XwSSov4Wu2qQmr0wrIyta6qpAbr3fCNoUvezTCsHK64KMWbY7KHQPA7X 9O6LPIqaHvKTb/CUgxsL9Jp/Y5is7tJsOvs5X8tpSMOGxX12oF0cNjQTec5wezWxxVfP KcaGZhTXbedqxNc0to6X+ZMLT+hl4IFT2B0pv2v5JT+e550pLFYX692g+0+AJJ4/Xdzx IO82+0rFVW+SxKZ1DI8AQmhUSL7nfjx+SG8x6aqREiTMlpT52WyMQ/92nlOHP3Kfi+cK JOag== MIME-Version: 1.0 X-Received: by 10.152.234.108 with SMTP id ud12mr31826335lac.81.1427822227736; Tue, 31 Mar 2015 10:17:07 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.108.168 with HTTP; Tue, 31 Mar 2015 10:17:07 -0700 (PDT) In-Reply-To: <5F90BE99-E82C-4444-9E4C-5963B40AA3B0@FreeBSD.org> References: <5F90BE99-E82C-4444-9E4C-5963B40AA3B0@FreeBSD.org> Date: Tue, 31 Mar 2015 10:17:07 -0700 X-Google-Sender-Auth: 9PNOY5RVA2ryP3lv21f-mECJIp4 Message-ID: Subject: Re: CROSS_TOOLCHAIN=amd64-gcc fails to build after clang 3.6.0 import From: Craig Rodrigues To: Dimitry Andric Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-testing@freebsd.org" , FreeBSD Toolchain X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2015 17:17:10 -0000 On Mon, Mar 23, 2015 at 12:12 AM, Dimitry Andric wrote: > > On 23 Mar 2015, at 01:49, Craig Rodrigues wrote: > > > > Hi, > > > > I tried to build HEAD with gcc 4.9.1 after the latest clang 3.6.0 import, > > and am getting > > new build failures related to C++ such as: > > > > /builds/FreeBSD_HEAD_external_toolchain_gcc/obj/builds/FreeBSD_HEAD_external_toolchain_gcc/tmp/usr/include/c++/v1/type_traits:881:87: > > error: use of deleted function > > 'clang::Sema::TypoExprState::TypoExprState(const > > clang::Sema::TypoExprState&)' > > > > sizeof(__is_convertible_imp::__test<_T2>(__is_convertible_imp::__source<_T1>())) > > == 1 > > > > See full build logs here: > > https://jenkins.freebsd.org/job/FreeBSD_HEAD_external_toolchain_gcc/21/console > > > > Any ideas what the problem might be? > > Yes, this is a bug in libc++, when compiling it with newer versions of > gcc. I reported this upstream some time ago: https://llvm.org/PR22771 > > Still haven't had enough time to test Eric Fiselier's patch for it. I > hope I see the bottom of my TODO list anytime soon... > > -Dimitry > Hi, I just updated my tree to include your latest fixes such as r28064. I'm still getting this: from /builds/FreeBSD_HEAD_external_toolchain_gcc/lib/clang/libclangast/../../../contrib/llvm/tools/clang/lib/AST/DeclBase.cpp:14: /builds/FreeBSD_HEAD_external_toolchain_gcc/obj/builds/FreeBSD_HEAD_external_toolchain_gcc/tmp/usr/include/c++/v1/type_traits:845:28: error: initializing argument 1 of 'char std::__1::__is_convertible_imp::__test(_Tp) [with _Tp = clang::StoredDeclsList]' template char __test(_Tp); ^ *** [DeclBase.o] Error code 1 make[6]: stopped in /builds/FreeBSD_HEAD_external_toolchain_gcc/lib/clang/libclangast Any ideas? See: https://jenkins.freebsd.org/job/FreeBSD_HEAD_external_toolchain_gcc/27/console -- Craig