Open
Description
I followed exactly the instructions here (https://github.com/avr-rust/rust#unixlinuxnix). I can't get past 20% in the make
compilation.
This is one of the first errors that appears:
gmake[3]: Entering directory '/home/sevagh/repos/build/build/x86_64-unknown-linux-gnu/llvm/build'
[ 0%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmLexer.cpp.o
[ 0%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
gmake[3]: Entering directory '/home/sevagh/repos/build/build/x86_64-unknown-linux-gnu/llvm/build'
[ 0%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/ConstantPools.cpp.o
gmake[3]: Leaving directory '/home/sevagh/repos/build/build/x86_64-unknown-linux-gnu/llvm/build'
gmake[3]: Entering directory '/home/sevagh/repos/build/build/x86_64-unknown-linux-gnu/llvm/build'
[ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/AArch64TargetParser.cpp.o
In file included from /home/sevagh/repos/rust/src/llvm-project/llvm/include/llvm/Demangle/MicrosoftDemangle.h:14,
from /home/sevagh/repos/rust/src/llvm-project/llvm/lib/Demangle/MicrosoftDemangle.cpp:17:
/home/sevagh/repos/rust/src/llvm-project/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:14:17: error: found ‘:’ in nested-name-specifier, expected ‘::’
14 | enum Qualifiers : uint8_t {
| ^
| ::
/home/sevagh/repos/rust/src/llvm-project/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:14:6: error: ‘Qualifiers’ has not been declared
14 | enum Qualifiers : uint8_t {
| ^~~~~~~~~~
There are many LLVM errors like this. I'm wondering if it's related to Fedora 32's packages being too new (since it was just released a few days ago).
I've attached a bigger output txt file: output.txt
Dependency versions:
sevagh:build $ g++ --version
g++ (GCC) 10.1.1 20200507 (Red Hat 10.1.1-1)
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
sevagh:build $ cmake --version
cmake version 3.17.2
CMake suite maintained and supported by Kitware (kitware.com/cmake).
sevagh:build $ make --version
GNU Make 4.2.1
Built for x86_64-redhat-linux-gnu
Copyright (C) 1988-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Metadata
Metadata
Assignees
Labels
No labels