Repository navigation
Conversation
(cherry picked from commit dc15078)
... needed by the Lavapipe build. (cherry picked from commit 7e51d75)
Bug: b/406553848
Test: bazel run //cuttlefish/package:cvd -- create \
--gpu_mode=gfxstream_guest_angle_host_lavapipe
(cherry picked from commit 8881b64)
(cherry picked from commit 80f59d9)
(cherry picked from commit dc00298)
(cherry picked from commit e28453c)
Noticed by @valentineburley in google#2997 (cherry picked from commit 1185c6a)
Noticed by @valentineburley in google#2997 (cherry picked from commit 670a531)
This resolves ``` libunwind: __unw_add_dynamic_fde: bad fde: FDE is really a CIE ``` logspam with Lavapipe. Lavapipe uses LLVM to JIT compiler shaders and LLVM acts different depending on whether or not it is used with libgcc or libunwind: libgcc and libunwind __register_frame behave differently ... // With libunwind, __register_frame has to be called for each FDE entry. ... // With libgcc, __register_frame takes a single argument: // a pointer to the start of the .eh_frame section. IIUC, Cuttlefish uses libunwind via the Bazel hermatic toolchain. It looks like llvm/llvm-project#212260 may make LLVM be able to handle this at runtime in the future. Bug: b/406553848 (cherry picked from commit 7b2e347)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cherry-picks the Lavapipe uprev series (PR #2997) and follow-up symlink/ICD/LLVM fixes from
maintoversion-1.57-devsocuttlefish-base(1.57.x) buildslibvulkan_lvp.sowith-DHAVE_MEMFD_CREATEand-DHAVE_MKOSTEMP(plus the/tmp/xdg-runtime-mesa-%ldfallback inanon_file.c), resolving theSIGSEGVat0xffffffffffffffff(MAP_FAILED) inCompositorVk::createStagingBufferWithDatawhen running--gpu_mode=gfxstream_guest_angle_host_lavapipein Oxygenation whereXDG_RUNTIME_DIRis unset:dc15078f2920Uprev spirv dependencies7e51d75cad1cAdd glslang dependency8881b642e929Uprev the Lavapipe build80f59d99330bEnable multi queue emulation for lavapipedc002981556aAdd Lavapipe dEQP smoke teste28453c28535Add link to internal document about updating1185c6aff9beUpdate lavapipe library name in ICD manifest670a5317cf6fUpdate lavapipe symlink target7b2e347a2cb5Add HAVE_UNW_ADD_DYNAMIC_FDE to the llvm buildBug: b/406553848
Bug: b/396350461