From: Fabian Groffen <grobian@gentoo.org>
To: gentoo-alt@lists.gentoo.org
Subject: Re: [gentoo-alt] Update clang failed (El Captain)
Date: Wed, 7 Sep 2016 09:36:59 +0200 [thread overview]
Message-ID: <20160907073659.GC10667@gentoo.org> (raw)
In-Reply-To: <CO2PR20MB002869F54CC20BE7C3614835AFF90@CO2PR20MB0028.namprd20.prod.outlook.com>
[-- Attachment #1: Type: text/plain, Size: 8948 bytes --]
I think this is due to libcxx and friends not being updated. I just
pushed some preliminary versions, I hope that will get things back on
track.
Fabian
On 06-09-2016 21:37:09 +0000, Han H. wrote:
> Hi Fabian,
>
> The patch works for me. Thanks!
>
> The emerge of llvm-3.8.1 is done, but after that I tried to emptytree the
> system. Then it ran into an error when I emerge cmake (and many others) with
> the following error message. It looks some way of declaration was recognized
> by old clang but not by the new one, and now it’s not possible to go back to
> old clang (with the same error message). Do you have an idea how to fix
> this?
>
> [ 8%] Building CXX object
> Source/kwsys/CMakeFiles/cmsys.dir/EncodingCXX.cxx.o
>
> cd
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build/Source/kwsys
> && /Users/abc/gentoo/usr/bin/x86_64-apple-darwin15-clang++
> -DKWSYS_NAMESPACE=cmsys
> -I/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build/Source
> -I/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build/Source/kwsys
> -DNDEBUG -march=native -O2 -pipe -std=gnu++14 -o
> CMakeFiles/cmsys.dir/EncodingCXX.cxx.o -c
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Source/kwsys/EncodingCXX.cxx
>
> In file included from
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Utilities/cmjsoncpp/src/lib_json/json_writer.cpp:7:
>
> In file included from
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Utilities/cmjsoncpp/include/json/writer.h:10:
>
> In file included from
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Utilities/cmjsoncpp/include/json/value.h:12:
>
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error:
> 'basic_string<_CharT, _Traits, _Allocator>' is missing exception
> specification
>
> 'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
>
> basic_string<_CharT, _Traits, _Allocator>::basic_string(const
> allocator_type& __a)
>
> ^
>
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1326:40: note: previous
> declaration is here
>
> _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type&
> __a)
>
> ^
>
> In file included from
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Source/kwsys/Directory.cxx:13:
>
> In file included from
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build/Source/cmsys/Directory.hxx:16:
>
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error:
> 'basic_string<_CharT, _Traits, _Allocator>' is missing exception
> specification
>
> 'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
>
> basic_string<_CharT, _Traits, _Allocator>::basic_string(const
> allocator_type& __a)
>
> ^
>
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1326:40: note: previous
> declaration is here
>
> _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type&
> __a)
>
> ^
>
> In file included from
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Utilities/cmjsoncpp/src/lib_json/json_value.cpp:8:
>
> In file included from
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Utilities/cmjsoncpp/include/json/value.h:12:
>
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error:
> 'basic_string<_CharT, _Traits, _Allocator>' is missing exception
> specification
>
> 'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
>
> basic_string<_CharT, _Traits, _Allocator>::basic_string(const
> allocator_type& __a)
>
> ^
>
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1326:40: In file included
> from
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Source/kwsys/DynamicLoader.cxx:13:
>
> In file included from
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build/Source/cmsys/DynamicLoader.hxx:16:
>
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error:
> 'basic_string<_CharT, _Traits, _Allocator>' is missing exception
> specification
>
> 'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
>
> basic_string<_CharT, _Traits, _Allocator>::basic_string(const
> allocator_type& __a)
>
> note ^
>
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1326:40: note: previous
> declaration is here
>
> _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type&
> __a)
>
> ^
>
> : previous declaration is here
>
> _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type&
> __a)
>
> ^
>
> 1 error generated.
>
> make[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/build.make:255:
> Source/kwsys/CMakeFiles/cmsys.dir/DynamicLoader.cxx.o] Error 1
>
> make[2]: *** Waiting for unfinished jobs....
>
> 1 error generated.
>
> make[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/build.make:231:
> Source/kwsys/CMakeFiles/cmsys.dir/Directory.cxx.o] Error 1
>
> In file included from
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Source/kwsys/EncodingCXX.cxx:20:
>
> In file included from
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build/Source/cmsys/Encoding.hxx:16:
>
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error:
> 'basic_string<_CharT, _Traits, _Allocator>' is missing exception
> specification
>
> 'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
>
> basic_string<_CharT, _Traits, _Allocator>::basic_string(const
> allocator_type& __a)
>
> ^
>
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1326:40: note: previous
> declaration is here
>
> _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type&
> __a)
>
> ^
>
> 1 error generated.
>
> make[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/build.make:279:
> Source/kwsys/CMakeFiles/cmsys.dir/EncodingCXX.cxx.o] Error 1
>
> make[2]: Leaving directory
> '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build'
>
> make[1]: *** [CMakeFiles/Makefile2:1026:
> Source/kwsys/CMakeFiles/cmsys.dir/all] Error 2
>
> 1 error generated.
>
> make[2]: *** [Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/build.make:111:
> Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/src/lib_json/json_writer.cpp.o]
> Error 1
>
> 1 error generated.
>
> make[2]: *** [Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/build.make:87:
> Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/src/lib_json/json_value.cpp.o]
> Error 1
>
> make[2]: Leaving directory
> '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build'
>
> make[1]: *** [CMakeFiles/Makefile2:1431:
> Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/all] Error 2
>
> make[1]: Leaving directory
> '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build'
>
> make: *** [Makefile:161: all] Error 2
>
> * ERROR: dev-util/cmake-3.6.1-r1::gentoo_prefix failed (compile phase):
>
> * emake failed
>
> *
>
> * If you need support, post the output of `emerge --info
> '=dev-util/cmake-3.6.1-r1::gentoo_prefix'`,
>
> * the complete build log and the output of `emerge -pqv
> '=dev-util/cmake-3.6.1-r1::gentoo_prefix'`.
>
> * The complete build log is located at
> '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/temp/build.log'.
>
> * The ebuild environment file is located at
> '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/temp/environment'.
>
> * Working directory:
> '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build'
>
> * S:
> '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1'
>
--
Fabian Groffen
Gentoo on a different level
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
next prev parent reply other threads:[~2016-09-07 7:37 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-06 21:37 [gentoo-alt] Update clang failed (El Captain) Han H.
2016-09-06 21:37 ` Han H.
2016-09-07 7:36 ` Fabian Groffen [this message]
2016-09-08 19:36 ` Han H.
-- strict thread matches above, loose matches on Subject: below --
2016-09-03 23:36 Han H.
2016-09-02 14:49 Han H.
2016-09-02 15:44 ` Michael Weiser
2016-09-02 19:31 ` Han H.
2016-09-02 20:25 ` Michael Weiser
2016-09-04 15:06 ` Fabian Groffen
2016-09-06 7:55 ` Fabian Groffen
2016-09-06 7:56 ` Matt Michalowski
2016-09-11 0:05 ` Michael Weiser
2016-09-11 8:09 ` Fabian Groffen
2016-09-22 13:05 ` Michael Weiser
2016-12-23 10:57 ` Fabian Groffen
2016-08-24 16:40 Han H.
2016-08-29 12:35 ` Michael Weiser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160907073659.GC10667@gentoo.org \
--to=grobian@gentoo.org \
--cc=gentoo-alt@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox