CURRENT: build failure with clang 3.7.0

O. Hartmann ohartman at zedat.fu-berlin.de
Sat Oct 10 16:12:58 UTC 2015


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20151010/ab5f1eac/attachment.bin>


More information about the freebsd-current mailing list