Re: CURRENT: build failure with clang 3.7.0

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Sat, 10 Oct 2015 18:12:42 +0200
Am Fri, 9 Oct 2015 23:07:18 +0200
Dimitry Andric <dim_at_FreeBSD.org> schrieb:

> On 07 Oct 2015, at 13:33, O. Hartmann <ohartman_at_zedat.fu-berlin.de> wrote:
> ...
> > The buildworld error when building with CXXFLAGS+=              -std=c++11 is
> > then
> > 
> > [...]
> > cc   -O2 -pipe -O3 -O3 -pipe -march=native  -I.
> > -I/usr/obj/usr/src/lib/ncurses/menu/../ncurses
> > -I/usr/src/lib/ncurses/menu/../ncurses -I/usr/src/lib/ncurses/menu/../ncurses
> > -I/usr/src/lib/ncurses/menu/../../../contrib/ncurses/include
> > -I/usr/src/lib/ncurses/menu/../../../contrib/ncurses/ncurses -Wall -DNDEBUG
> > -DHAVE_CONFIG_H -I/usr/src/lib/ncurses/menu/../../../contrib/ncurses/menu
> > -std=gnu99 -fstack-protector-strong -Wsystem-headers -Werror -Wall
> > -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
> > -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign
> > -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 -Wno-unused-local-typedef
> > -Qunused-arguments
> > -c /usr/src/lib/ncurses/menu/../../../contrib/ncurses/menu/m_pad.c -o m_pad.o
> > --- all_subdir_atf --- 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:138: 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: /usr/obj/usr/src/tmp/usr/include/c++/v1/string:1938:44:
> > error: 'basic_string<_CharT, _Traits, _Allocator>' is missing exception
> > specification
> > 'noexcept(is_nothrow_copy_constructible<allocator_type>::value)' [-Werror]
> > basic_string<_CharT, _Traits, _Allocator>::basic_string(const allocator_type&
> > __a) ^ /usr/obj/usr/src/tmp/usr/include/c++/v1/string:1326:40: note: previous
> > declaration is here _LIBCPP_INLINE_VISIBILITY explicit basic_string(const
> > allocator_type& __a)
> 
> These particular -Werror warnings, when building with -std=c++11, should
> now be fixed with r289082.  Thanks for the report.
> 
> -Dimitry
> 

Is there any chance that the failure of clang 3.7.0 with some AVX-equipted Intel
processors gets fixed soon?

Regards,
Oliver

Received on Sat Oct 10 2015 - 14:12:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:00 UTC