Bug#1081947: libgl1-mesa-dri: llvmpipe exists but does not work on powerpc

Simon McVittie <[email protected]>
Newsgroups gmane.linux.debian.ports.powerpc
Message-ID <Zugj_oHpTdzywvtB__32247.5582173624$1726489824$gmane$org@remnant.pseudorandom.co.uk>
Source: libgl1-mesa-dri
Version: 24.2.2-1
Severity: normal
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: powerpc

Similar to the situation on sparc64.

To reproduce:
- install gtk4 build-dependencies on powerpc 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 powerpc
- 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 "LLVM ERROR: Relocation
  type not implemented yet!" and a SIGABRT

I would suggest special-casing llvmpipe (and anything else requiring LLVM
JIT: lavapipe?) to be built on most of the $(LLVM_ARCHS), but not powerpc.

    smcv
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.