Re: Bug#1081943: libgl1-mesa-dri: llvmpipe exists but does not work on sparc64

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.sparc
Message-ID <4e06e2624d937004b4bca1c5437d2798f2afd367.camel@physik.fu-berlin.de>
Hello Simon,

On Mon, 2024-09-16 at 11:43 +0100, Simon McVittie wrote:
> To reproduce:
> - install gtk4 build-dependencies on sparc64 porterbox with no access to a
>   real GPU
> - get gtk4 source
> - edit debian/rules to remove the special case that forces use of softpipe
>   on sparc64
> - build and run tests
> 
> Expected result: either of these:
> - llvmpipe exists, is used, and works
> - llvmpipe doesn't exist and softpipe is automatically used instead
> 
> Actual result:
> - all tests that use OpenGL fail with message "Target has no JIT support"
> 
> I would suggest special-casing llvmpipe (and anything else requiring LLVM
> JIT: lavapipe?) to be built on most of the $(LLVM_ARCHS), but not sparc64.

I just ran into this issue while looking at libadwaita-1.

I'm not 100% sure yet what would need to be done to enable full JIT support on
sparc64. I assume that the missing component is liborc, isn't it?

Looking at the LLVM upstream sources, I see no obvious reason why liborc should
not be supported on sparc64. But I'm not an expert on liborc, so I might be missing
something.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.