Re: [Mesa-dev] [ANNOUNCE] Mesa 20.0 branchpoint planned for 2020/01/29, Milestone opened
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. Thank you! Dieter ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [ANNOUNCE] Mesa 20.0 branchpoint planned for 2020/01/29, Milestone opened
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. -- Earthling Michel Dänzer | https://redhat.com Libre software enthusiast | Mesa and X developer ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [ANNOUNCE] mesa 20.0.0-rc1
Hi list, It's a day late, but mesa 20.0.0-rc1 is now available. The 20.0 branches (staging and stable) have been created, and a new 20.0 release milestone has also been created. 20.0.0-rc2 will follow on 02.05 per the release calendar. Dylan git tag: mesa-20.0.0-rc1 https://mesa.freedesktop.org/archive/mesa-20.0.0-rc1.tar.xz SHA256: 43fb6d7477483caca726eff36240567ed0a2a89d302ec26aaf26d7b17c91ed36 mesa-20.0.0-rc1.tar.xz SHA512: 1b1d5408768b7eec313083ec12218dfaef1f6bb0e209ee7e49b8974af0cdbfdf71860516e459c6933647ec8895ed61f54db64a26662e3e6500e27560f7d98746 mesa-20.0.0-rc1.tar.xz PGP: https://mesa.freedesktop.org/archive/mesa-20.0.0-rc1.tar.xz.sig signature.asc Description: signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [ANNOUNCE] Mesa 20.0 branchpoint planned for 2020/01/29, Milestone opened
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, std::allocator >&, 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::allocator > >&)' /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, std::allocator >&)' /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_stringstd::char_traits, std::allocator >&)' /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::vectorint, unsigned int>, std::allocator > >&)' /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, std::allocator >&)' /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, std::allocator >&)' /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 ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [ANNOUNCE] Mesa 20.0 branchpoint planned for 2020/01/29, Milestone opened
On 2020-01-31 — 01:48, Dieter Nützel wrote: > @Pierre and Karol > Now I get this with 'llvmorg-10.0.0-rc1' and current 'SPIRV-LLVM-Translator' > master: I’m recompiling LLVM to that tag and see what I get, but it looks like for some reason it forgets to link against LLVMSPIRVLib, which is surprising. Are you building within LLVM, or out of tree? And did you set `LLVM_SPIRV_BUILD_EXTERNAL` manually when configuring with CMake? I am wondering if something might have gone wrong with https://github.com/KhronosGroup/SPIRV-LLVM-Translator/commit/b152e65976d7b764601cba134faf94d530f7b9b8, though I don’t see what at first look. Pierre signature.asc Description: PGP signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [ANNOUNCE] Mesa 20.0 branchpoint planned for 2020/01/29, Milestone opened
Am 31.01.2020 02:33, schrieb Pierre Moreau: On 2020-01-31 — 01:48, Dieter Nützel wrote: @Pierre and Karol Now I get this with 'llvmorg-10.0.0-rc1' and current 'SPIRV-LLVM-Translator' master: I’m recompiling LLVM to that tag and see what I get, but it looks like for some reason it forgets to link against LLVMSPIRVLib, which is surprising. Are you building within LLVM, or out of tree? And did you set `LLVM_SPIRV_BUILD_EXTERNAL` manually when configuring with CMake? I'm 'trying' it since 'the beginning' in tree. ;-) I am wondering if something might have gone wrong with https://github.com/KhronosGroup/SPIRV-LLVM-Translator/commit/b152e65976d7b764601cba134faf94d530f7b9b8, though I don’t see what at first look. I'm so 'old shool' and have to learn so much github tricks... Currently running 'llvm_release_100' in 'llvmorg-10.0.0-rc1'. But my aging Xeon X3470 4c/8t, 2.93 GHz (~3.2 GHz TB), 24 GB is so slow :-))) -Dieter ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [ANNOUNCE] Mesa 20.0 branchpoint planned for 2020/01/29, Milestone opened
Am 31.01.2020 02:44, schrieb Dieter Nützel: Am 31.01.2020 02:33, schrieb Pierre Moreau: On 2020-01-31 — 01:48, Dieter Nützel wrote: @Pierre and Karol Now I get this with 'llvmorg-10.0.0-rc1' and current 'SPIRV-LLVM-Translator' master: I’m recompiling LLVM to that tag and see what I get, but it looks like for some reason it forgets to link against LLVMSPIRVLib, which is surprising. Are you building within LLVM, or out of tree? And did you set `LLVM_SPIRV_BUILD_EXTERNAL` manually when configuring with CMake? I'm 'trying' it since 'the beginning' in tree. ;-) I am wondering if something might have gone wrong with https://github.com/KhronosGroup/SPIRV-LLVM-Translator/commit/b152e65976d7b764601cba134faf94d530f7b9b8, though I don’t see what at first look. I'm so 'old shool' and have to learn so much github tricks... Currently running 'llvm_release_100' in 'llvmorg-10.0.0-rc1'. OK. 'Ready'. Same thing: up.main+0x17bb): undefined reference to `SPIRV::SPIRVUseTextFormat' collect2: error: ld returned 1 exit status Do you think I should try the 'out of tree path' tomorrow, too? But my aging Xeon X3470 4c/8t, 2.93 GHz (~3.2 GHz TB), 24 GB is so slow :-))) Ah, not so bad... Good night! -Dieter ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev