From owner-freebsd-current@FreeBSD.ORG Thu Jan 1 17:35:26 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 21A0489E for ; Thu, 1 Jan 2015 17:35:26 +0000 (UTC) Received: from mail-yk0-f177.google.com (mail-yk0-f177.google.com [209.85.160.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D976764F45 for ; Thu, 1 Jan 2015 17:35:25 +0000 (UTC) Received: by mail-yk0-f177.google.com with SMTP id 9so8428220ykp.36 for ; Thu, 01 Jan 2015 09:35:24 -0800 (PST) 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:date :message-id:subject:from:to:cc:content-type; bh=Q4L4U7OPSNxUwBWUEeXTx10FfnXfd0mUUa2GcztSvzk=; b=KmtIcHJ4xUnNX1j9n+V9rQ6FtIQqWci8uqiojOnQxPzaiV5Uou4mwhR1Ellf7O4t8B k2pMf4f/tn57Jl6YFoLqcxedQ+4wa+yqQvZY1JS2+1YLmnIfskwkhXbBVoGLZfiOMob2 Yx9a4aZw6PDH+zSqSLyvz/gO6+QeA02Pvhjf8OKvc91lPWtGBHgKCTUd1BBoThUp+KSR EK6gxW02HWaNe91PnQwejswiEatvd7Mr72s5QHA8bHIyHxI3RTSPpVVH7SnKNSRttKDg HQzCK+mIcb/b8lTDd8dA0CWVqYDgSbWIRbvnlK/77X/OElfwhs8fQFXcyG/Mq7ogKcg8 lWtg== X-Gm-Message-State: ALoCoQko24qOwhFj+6SGv0tCC9E8w0bMM+fiJP1GMHris60XEvP1XIMpRB580T9q7Q43bojYOje9 MIME-Version: 1.0 X-Received: by 10.236.203.193 with SMTP id f41mr24653621yho.191.1420133724182; Thu, 01 Jan 2015 09:35:24 -0800 (PST) Received: by 10.170.46.213 with HTTP; Thu, 1 Jan 2015 09:35:24 -0800 (PST) In-Reply-To: <20150101125043.6e6e3a52.ohartman@zedat.fu-berlin.de> References: <528C023D-6207-4054-917B-05D4C4E605EC@FreeBSD.org> <20150101125043.6e6e3a52.ohartman@zedat.fu-berlin.de> Date: Thu, 1 Jan 2015 18:35:24 +0100 Message-ID: Subject: Re: HEADS UP: Upgraded clang, llvm and lldb to 3.5.0 From: Oliver Pinter To: Dimitry Andric Content-Type: text/plain; charset=UTF-8 Cc: HardenedBSD Developers , FreeBSD-Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2015 17:35:26 -0000 Hi! We at HardenedBSD got this error, with out jenkins instance: --- dis_tables.o --- /jenkins/workspace/HardenedBSD_Master/sys/cddl/dev/dtrace/x86/dis_tables.c:3025:25: error: '&&' within '||' [-Werror,-Wlogical-op-parentheses] if (cpu_mode == SIZE64 && dp->it_invalid64 || ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ~~ /jenkins/workspace/HardenedBSD_Master/sys/cddl/dev/dtrace/x86/dis_tables.c:3025:25: note: place parentheses around the '&&' expression to silence this warning if (cpu_mode == SIZE64 && dp->it_invalid64 || ^ ( ) /jenkins/workspace/HardenedBSD_Master/sys/cddl/dev/dtrace/x86/dis_tables.c:3026:25: error: '&&' within '||' [-Werror,-Wlogical-op-parentheses] cpu_mode != SIZE64 && dp->it_invalid32) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /jenkins/workspace/HardenedBSD_Master/sys/cddl/dev/dtrace/x86/dis_tables.c:3026:25: note: place parentheses around the '&&' expression to silence this warning cpu_mode != SIZE64 && dp->it_invalid32) ^ ( ) --- all_subdir_ed --- full log: http://nyi-01.build.hardenedbsd.org:8180/jenkins/job/HardenedBSD_Master/109/consoleText On Thu, Jan 1, 2015 at 12:50 PM, O. Hartmann wrote: > Am Wed, 31 Dec 2014 21:41:34 +0100 > Dimitry Andric schrieb: > >> Hi, >> >> I just committed an upgrade of clang, llvm and lldb to 3.5.0 to head, in >> r276479. >> >> Please note that this version now requires C++11 support to build; see >> UPDATING for more information. >> >> Release notes for llvm and clang can be found here: >> >> >> >> Thanks to Ed Maste, Roman Divacky, Andrew Turner, Justin Hibbits and >> Antoine Brodin for their invaluable help with this import. >> >> -Dimitry >> > > This is great news, thank you very much. > > I gave it a try, but my system's drop out at the error shown below. I use non-standard > optimisation flags (/etc/src.conf), but even with those switched off, I receive the error > shown below. > > Regards, > > Oliver > > [...] > > ===> lib/atf/libatf-c++ (all) > c++ -O2 -pipe -O3 -O3 -pipe -march=native -DHAVE_CONFIG_H -I/usr/src/contrib/atf > -I/usr/src/lib/atf/libatf-c++/../libatf-c -I. -DHAVE_CONFIG_H -fstack-protector > -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith > -Wno-uninitialized -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable > -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality > -Wno-unused-function -Wno-enum-conversion -Qunused-arguments -std=c++11 > -Wno-c++11-extensions -c /usr/src/contrib/atf/atf-c++/detail/application.cpp -o > application.o In file included > from /usr/src/contrib/atf/atf-c++/detail/application.cpp:26: In file included > from /usr/src/contrib/atf/atf-c++/detail/application.hpp:29: In file included > from /usr/obj/usr/src/tmp/usr/include/c++/v1/ostream:131: In file included > from /usr/obj/usr/src/tmp/usr/include/c++/v1/ios:216: In file included > from /usr/obj/usr/src/tmp/usr/include/c++/v1/__locale:15: In file included > from /usr/obj/usr/src/tmp/usr/include/c++/v1/string:439: In file included > from /usr/obj/usr/src/tmp/usr/include/c++/v1/algorithm:624: /usr/obj/usr/src/tmp/usr/include/c++/v1/type_traits:2033:8: > error: keyword '__is_constructible' will be made available as an identifier for the > remainder of the translation unit [-Werror,-Wkeyword-compat] struct __is_constructible // > false, _Tp is not a scalar ^ /usr/obj/usr/src/tmp/usr/include/c++/v1/type_traits:2584:51: > error: keyword '__is_nothrow_constructible' will be made available as an identifier for > the remainder of the translation unit [-Werror,-Wkeyword-compat] template _Tp, class... _Args> struct __is_nothrow_constructible; > ^ /usr/obj/usr/src/tmp/usr/include/c++/v1/type_traits:2746:47: error: keyword > '__is_nothrow_assignable' will be made available as an identifier for the remainder of > the translation unit [-Werror,-Wkeyword-compat] template > struct __is_nothrow_assignable; ^ 3 errors generated. *** Error code 1 > > Stop. > make[6]: stopped in /usr/src/lib/atf/libatf-c++ > *** Error code 1 > > Stop. > make[5]: stopped in /usr/src/lib/atf > *** Error code 1 >