dev-lang/rust-1.16.0[clang,-libcxx] fails to build. I suspect this is related to dev-lang/rust[clang,-libcxx] but sys-devel/clang[default-libcxx] and will report back with the results of rust[clang,libcxx] in a while. ``` error: linking with `cc` failed: exit code: 1 | = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/bin/rustc.0.o" "-o" "x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/bin /rustc" "-Wl,--gc-sections" "-pie" "-Wl,-O1" "-nodefaultlibs" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/llvm/lib" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,-Bdynamic" "-L" "/var/tmp/portage/dev-lan g/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_driver-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_lint-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.1 6.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_privacy-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_save_analysis-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unk nown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_typeck-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_borrowck-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/li b/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_mir-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_passes-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linu x-gnu/lib" "-l" "rustc_resolve-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_plugin-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_me tadata-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "syntax_ext-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "proc_macro-63283ac5" "-L" "/var/tm p/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_trans-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_const_eval-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust -1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_platform_intrinsics-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_incremental-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/ work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_const_math-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64- unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_back-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "syntax-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustl ib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_data_structures-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_errors-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown -linux-gnu/lib" "-l" "syntax_pos-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "term-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "log-63283ac5"" -L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "serialize-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_llvm-63283ac5" "-L" "/var/tmp/portage/dev-lang/ rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "graphviz-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "getopts-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x 86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "fmt_macros-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "arena-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/ rustlib/x86_64-unknown-linux-gnu/lib" "-l" "flate-63283ac5" "-L" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "std-63283ac5" "/var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompile r_builtins-63283ac5.rlib" "-l" "rt" "-l" "dl" "-l" "pthread" "-l" "m" "-l" "stdc++" "-l" "dl" "-l" "pthread" "-l" "gcc_s" "-l" "c" "-l" "m" "-l" "rt" "-l" "util" = note: /var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-63283ac5.so: undefined reference to `virtual thunk to std::__1::basic_istream<char, std::__1::char_traits<char> >::~basic_istream()' /var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-63283ac5.so: undefined reference to `std::__1::__vector_base_common<true>::__throw_length_error() const' /var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-63283ac5.so: undefined reference to `std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::replace(unsigned long, unsigned long, char const*, unsigned long)' /var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-63283ac5.so: undefined reference to `std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::append(char const*, unsigned long)' /var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-63283ac5.so: undefined reference to `std::__1::__shared_weak_count::lock()' /var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-63283ac5.so: undefined reference to `std::__1::ios_base::getloc() const' /var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-63283ac5.so: undefined reference to `std::__1::error_category::equivalent(std::__1::error_code const&, int) const' /var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-63283ac5.so: undefined reference to `std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::insert(std::__1::__wrap_iter<char const*>, char)' /var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-63283ac5.so: undefined reference to `std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::erase(unsigned long, unsigned long)' /var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-63283ac5.so: undefined reference to `std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::insert(unsigned long, char const*)' /var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-63283ac5.so: undefined reference to `std::__1::error_category::default_error_condition(int) const' /var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-63283ac5.so: undefined reference to `std::__1::error_category::equivalent(int, std::__1::error_condition const&) const' /var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-63283ac5.so: undefined reference to `std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::compare(unsigned long, unsigned long, char const*, unsigned long) const' /var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-63283ac5.so: undefined reference to `std::__1::generic_category()' /var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-63283ac5.so: undefined reference to `std::__1::locale::~locale()' /var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-63283ac5.so: undefined reference to `std::__1::__shared_weak_count::__get_deleter(std::type_info const&) const' /var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-63283ac5.so: undefined reference to `std::__1::basic_streambuf<char, std::__1::char_traits<char> >::xsputn(char const*, long)' /var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-63283ac5.so: undefined reference to `std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_string()' /var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-63283ac5.so: undefined reference to `std::__1::__shared_weak_count::__add_shared()' /var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-63283ac5.so: undefined reference to `std::__1::basic_istream<char, std::__1::char_traits<char> >::sentry::sentry(std::__1::basic_istream<char, std::__1::char_traits<char> >&, bool)' /var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-63283ac5.so: undefined reference to `std::__1::__shared_weak_count::__release_weak()' /var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-63283ac5.so: undefined reference to `std::__1::__basic_string_common<true>::__throw_length_error() const' /var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-63283ac5.so: undefined reference to `std::__1::error_code::message() const' /var/tmp/portage/dev-lang/rust-1.16.0/work/rustc-1.16.0-src/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-63283ac5.so: undefined reference to `std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::operator=(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' [...] ```
Created attachment 467760 [details] build.log (xz compressed)
Created attachment 467762 [details] emerge --info clang llvm
Setting USE=clang,libcxx makes rust compile. Since system-llvm is no longer supported, it takes much longer, though.
These flags are currently not supported, so I'll close this bug for now.