tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: LLVM update to 19



On Wed, 7 May 2025 09:51:25 +0200, Adam wrote:
> Following the new protocol, I'd like to update LLVM to 19. That includes:
> 
> [...]
> 
> So far everything (meaning meta-pkgs/bulk-test-llvm) seems to be 
> building on NetBSD 10 x86_64 and aarch64, and macOS.

In the light of this...

Building lang/llvm on macOS 10.13 ("High Sierra", the latest that will 
install on this hardware) fails with an error described in 
<https://github.com/llvm/llvm-project/issues/64472>. Upstream nominally 
supports clang 10, but Apple's clang 10 objects to the 
"std::optional(_expression_)" structure, as opposed to 
"std::optional<T>(_expression_)".

Do you have any ideas on this?

Looking at the Makefile, we set USE_CXX_FEATURES=c++14 when 
std::optional>T> appears to be a c++17 feature.

Cheerio,
Hauke


(Please excuse my rusty c++ fu, the last time I wrote c++ code in anger 
was half a life ago.) 

-- 
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email            Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-21344


Home | Main Index | Thread Index | Old Index