Re: HEADS UP: Upgraded clang, llvm and lldb to 3.5.0

From: Oliver Pinter <oliver.pinter_at_hardenedbsd.org>
Date: Thu, 1 Jan 2015 18:35:24 +0100
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
<ohartman_at_zedat.fu-berlin.de> wrote:
> Am Wed, 31 Dec 2014 21:41:34 +0100
> Dimitry Andric <dim_at_FreeBSD.org> 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:
>> <http://llvm.org/releases/3.5.0/docs/ReleaseNotes.html>
>> <http://llvm.org/releases/3.5.0/tools/clang/docs/ReleaseNotes.html>
>>
>> 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 <bool, class
> _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 <bool, class _Tp, class _Arg>
> 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
>
Received on Thu Jan 01 2015 - 16:35:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:54 UTC