[llvm-dev] Clang 3.9.1 fails to build LLVM 11.0.0

Issam E. Maghni via llvm-dev llvm-dev at lists.llvm.org
Mon Oct 26 11:20:05 PDT 2020


Hi folks. It’s my first time in this mailing list, and definitely not
the last :)

Recently, I’ve been into bootstrapping compilers. I’ve encountered
several issues, and will start with this one.

The doc claims that Clang >= 3.5 is required to build LLVM 11.0.0 [1].
So I built LLVM+Clang 3.9.1, then tried to build LLVM 11.0.0. Doing so,
I faced this error:
> no matching constructor for initialization of
> 'llvm::ValueEnumerator::MDRange'
(full log here [2])

Don’t worry, I’ve done my job. For a minimal reproducible example, here
[3] is a script that you should execute on a new Debian 10 system, most
likely a VM.

[1]
https://releases.llvm.org/11.0.0/docs/GettingStarted.html#host-c-toolchain-both-compiler-and-standard-library
[2]
https://gist.github.com/concatime/6b5b9bcbc91a74b2913234180a29c159#file-log-txt
[3]
https://gist.github.com/concatime/6b5b9bcbc91a74b2913234180a29c159#file-build-sh

Issam E.

PS: a feedback too about how I report bugs would be awesome!


More information about the llvm-dev mailing list