-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bundled LLDB doesn't have support for ZSTD-compressed debugging information enabled #1162
Comments
In order to maintain pan-Linux compatibility of the binary I'd need to link zstd statically. At the moment CodeLLDB targets Debian Stretch as the minimal target. Does it even have the libzstd-dev package? I don't see it here. |
@vadimcn Given https://unix.stackexchange.com/questions/707250/using-debian-stretch-to-build-5-15-x-kernel-with-zstd-compression-fails-with-inc and ionos-cloud/reprepro#20 (comment), I have a feeling that ZSTD is available on Stretch as well, but I don't have access to any systems that run it to check. Also, I fear that the online package search is limited to Buster and newer at this point: Even BASH isn't listed for Stretch: https://packages.debian.org/search?suite=default§ion=all&arch=any&searchon=names&keywords=bash |
A friend just spun up a Debian Stretch Docker container and confirmed that
|
That's good, however it also needs to be static, as well as all of its dependencies (not sure what those are), compiled with |
I can't imagine why ZSTD would be any different from other Stretch packages in those regards, but I can look into that later now that I know that doing so is as easy as spinning up a local Docker container. As far as macOS and Windows go, I sadly have no clue 😅. |
Putting a stretch container in a k8s cluster running on Pi 4Bs I get the following results arch
arch
|
Ok, that helps! |
It's built on Focal (host version doesn't really matter), but it targets Stretch. |
Awesome!! |
Implemented in v1.11.1 |
For example:
The debugging information can be decompressed if I use my own copy of LLDB, but it's not a guarantee that I can always have the same version of LLDB locally as is bundled or a version that is fully compatible — CodeLLDB didn't really work with LLDB 18 when it was built against LLDB 17, although it seems to work with it now that it's built against LLDB 19, at least in my limited testing thus far.
Would it be possible to enable ZSTD support for the bundled copy of LLDB? It would be nice so that I could rely on it as a fallback in case the version of LLDB which CodeLLDB is built against ends up falling behind again.
The text was updated successfully, but these errors were encountered: