Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Dec 2020 09:49:45 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-ports@freebsd.org, jbeich@freebsd.org
Subject:   Re: devel/android-tools-simpleperf fails to build with llvm10
Message-ID:  <20201203084945.GA5858@c720-r342378>
In-Reply-To: <20201203063329.GA3522@c720-r342378>
References:  <20201203063329.GA3522@c720-r342378>

next in thread | previous in thread | raw e-mail | index | archive | help
El día jueves, diciembre 03, 2020 a las 07:33:29a. m. +0100, Matthias Apitz escribió:

> 
> Hello,
> 
> On head with ports of head to the port devel/android-tools-simpleperf
> fails to build with the error:
> 
> ...
> --- read_elf.o ---
> In file included from read_elf.cpp:34:
> In file included from /usr/local/llvm10/include/llvm/ADT/StringRef.h:12:
> /usr/local/llvm10/include/llvm/ADT/STLExtras.h:559:49: error: no template named 'index_sequence' in namespace 'std'
>   template <size_t... Ns> value_type deref(std::index_sequence<Ns...>) const {
>                                            ~~~~~^
> /usr/local/llvm10/include/llvm/ADT/STLExtras.h:564:36: error: no template named 'index_sequence' in namespace 'std'
>   decltype(iterators) tup_inc(std::index_sequence<Ns...>) const {
>                               ~~~~~^
> ...
> 
> Maybe it's related to make.conf(5) setting:
> 
> DEFAULT_VERSIONS+=llvm=10

It builds fine with llvm9.

	matthias

-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201203084945.GA5858>