[Mesa-dev] [ANNOUNCE] Mesa 20.0 branchpoint planned for 2020/01/29, Milestone opened
Dieter Nützel
Dieter at nuetzel-hh.de
Fri Jan 31 00:48:29 UTC 2020
Am 30.01.2020 14:36, schrieb Michel Dänzer:
> On 2020-01-30 2:11 p.m., Dieter Nützel wrote:
>> Am 30.01.2020 07:51, schrieb Pierre Moreau:
>>> On 2020-01-30 — 07:23, Dieter Nützel wrote:
>>>> Ugh, LLVM git now at 11.0...missed that.
>>>> SPIRV-LLVM-Translator choke with 11.0 git (I think it was the same
>>>> with 10.0
>>>> git), here. (See below.)
>>>> So I can't compile Mesa git (20.0) with '-Dopencl-spirv=true' since
>>>> November
>>>> (15.11.2019).
>>>
>>> The switch to 11.0 has not occurred yet: a pull request was opened a
>>> few days
>>> ago for it (see
>>> https://github.com/KhronosGroup/SPIRV-LLVM-Translator/pull/419)
>>> but the build issues remain to be fixed.
>>>
>>> I will need to check for 10.0, but SPIRV-LLVM-Traslator’s master or
>>> llvm_release_100 branches should work against it.
>>>
>>> Pierre
>>
>> Oh, hello Pierre, forgotten to CC you in the first run, sorry!
>>
>> I'll recheck against LLVM 10.0-rc in the evening.
>> This shouldn't stop Mesa 20.0 then any longer?!
>> We have 1 month for fixing.
>
> Mesa 20.0 can't support LLVM 11 anyway.
Thanks Michel for additional info.
@Pierre and Karol
Now I get this with 'llvmorg-10.0.0-rc1' and current
'SPIRV-LLVM-Translator' master:
[2915/3086] Linking CXX executable bin/llvm-spirv
FAILED: bin/llvm-spirv
: && /usr/bin/c++ -fPIC -fvisibility-inlines-hidden -Werror=date-time
-Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wno-missing-field-initializers -pedantic -Wno-long-long
-Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess
-Wno-redundant-move -Wno-noexcept-type -Wdelete-non-virtual-dtor
-Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections -O3
-DNDEBUG -Wl,-allow-shlib-undefined -Wl,-O3 -Wl,--gc-sections
projects/SPIRV-LLVM-Translator/tools/llvm-spirv/CMakeFiles/llvm-spirv.dir/llvm-spirv.cpp.o
-o bin/llvm-spirv -Wl,-rpath,/opt/llvm-project/build/lib:
lib/libLLVM-10git.so -lpthread && :
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
projects/SPIRV-LLVM-Translator/tools/llvm-spirv/CMakeFiles/llvm-spirv.dir/llvm-spirv.cpp.o:
in function
`convertSPIRV()::{lambda(std::ostream&)#1}::operator()(std::ostream&)
const [clone .isra.0]':
llvm-spirv.cpp:(.text._ZZL12convertSPIRVvENKUlRSoE_clES_.isra.0+0x31):
undefined reference to `SPIRV::convertSpirv(std::istream&,
std::ostream&, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >&, bool, bool)'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
projects/SPIRV-LLVM-Translator/tools/llvm-spirv/CMakeFiles/llvm-spirv.dir/llvm-spirv.cpp.o:
in function `parseSpecConstOpt(llvm::StringRef,
SPIRV::TranslatorOpts&)':
llvm-spirv.cpp:(.text._Z17parseSpecConstOptN4llvm9StringRefERN5SPIRV14TranslatorOptsE+0x152):
undefined reference to `llvm::getSpecConstInfo(std::istream&,
std::vector<std::pair<unsigned int, unsigned int>,
std::allocator<std::pair<unsigned int, unsigned int> > >&)'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
projects/SPIRV-LLVM-Translator/tools/llvm-spirv/CMakeFiles/llvm-spirv.dir/llvm-spirv.cpp.o:
in function `main':
llvm-spirv.cpp:(.text.startup.main+0xd1e): undefined reference to
`llvm::regularizeLlvmForSpirv(llvm::Module*,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >&)'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
llvm-spirv.cpp:(.text.startup.main+0xf75): undefined reference to
`llvm::readSpirv(llvm::LLVMContext&, SPIRV::TranslatorOpts const&,
std::istream&, llvm::Module*&, std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
llvm-spirv.cpp:(.text.startup.main+0x11dc): undefined reference to
`llvm::getSpecConstInfo(std::istream&, std::vector<std::pair<unsigned
int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>
> >&)'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
llvm-spirv.cpp:(.text.startup.main+0x1472): undefined reference to
`llvm::writeSpirv(llvm::Module*, SPIRV::TranslatorOpts const&,
std::ostream&, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >&)'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
llvm-spirv.cpp:(.text.startup.main+0x16d1): undefined reference to
`llvm::writeSpirv(llvm::Module*, SPIRV::TranslatorOpts const&,
std::ostream&, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >&)'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
llvm-spirv.cpp:(.text.startup.main+0x17bb): undefined reference to
`SPIRV::SPIRVUseTextFormat'
collect2: error: ld returned 1 exit status
[2924/3086] Building CXX object
tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/ELFDumper.cpp.o
ninja: build stopped: subcommand failed.
20168.590u 885.906s 46:04.34 761.6% 0+0k 246952+3867256io 140pf+0w
-Dieter
More information about the mesa-dev
mailing list