From owner-freebsd-toolchain@FreeBSD.ORG Sat Mar 28 04:26:17 2015 Return-Path: Delivered-To: freebsd-toolchain@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 05AE7E27; Sat, 28 Mar 2015 04:26:17 +0000 (UTC) Received: from mail-lb0-x231.google.com (mail-lb0-x231.google.com [IPv6:2a00:1450:4010:c04::231]) (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 78514A42; Sat, 28 Mar 2015 04:26:16 +0000 (UTC) Received: by lbbug6 with SMTP id ug6so76259007lbb.3; Fri, 27 Mar 2015 21:26:14 -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=4b6gUUQjtzA0ePVC8D8lFrIXvvNnGc9Dnkk9KQDfG0A=; b=I0/vz5LQ97LoE6thFDkGZgQLUNoE9ukh3Ab8/B5uBvmSW0EC4uazW3hWLZFJbR9O1E TT+RvQf8ZrL35JPfT3PFLqs0V3TM+qt9ikNy7tweD9vPRwx4Gn1U4UIFXorr9lOM8Fr4 ashyuTvGjInInJmmYZFUDCRHZYn0cNVHLhRBV8oa/JI7WSB4xfGPqGX3mF4Irp57T1wF +N1tJ5nlzBKbhPFPqc0NrUPs6FFTMQgsRZOQ3aYqxiqWQn1tb/udj0juXZa9mM2Tt93C di8ZwZeaEw27pX+AIjgIgRdGYUUiHUMfr5JMrD/A+c7c1Iix2lDia+GE0OPa0Bwy8pjY +3bQ== MIME-Version: 1.0 X-Received: by 10.112.170.132 with SMTP id am4mr20044985lbc.89.1427516774253; Fri, 27 Mar 2015 21:26:14 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.108.168 with HTTP; Fri, 27 Mar 2015 21:26:14 -0700 (PDT) In-Reply-To: <5F90BE99-E82C-4444-9E4C-5963B40AA3B0@FreeBSD.org> References: <5F90BE99-E82C-4444-9E4C-5963B40AA3B0@FreeBSD.org> Date: Fri, 27 Mar 2015 21:26:14 -0700 X-Google-Sender-Auth: 1xzIwwiPc1pnDYDnuJXFlBnYn6E 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@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: Sat, 28 Mar 2015 04:26:17 -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 > > Eric Fiselier's patch in http://reviews.llvm.org/D8461 works for me. I could compile libc++ with gcc 4.9 with this patch. There are other gcc 4.9 compilation problems, but I will report those separately. -- Craig