-
-
Notifications
You must be signed in to change notification settings - Fork 503
-
-
Notifications
You must be signed in to change notification settings - Fork 503
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
Mavsdk app fails to build on GLIBC 2.31 #2282
Comments
Yes, we switched to newer dockcross images with GCC 11 because of nasty What's Jetson Linux 35.5.0 based on? Any chance you could move to something newer? |
@julianoes It is based on Ubuntu 20.04. Jetpack 5 is going to be around for a long time still. Jetpack 6 based on Ubuntu 22.04 is currently in developer preview.
|
Just confirmed that 2.4.0 works.
|
Well, if you can help me figure out the |
@julianoes is there an issue somewhere that captures the details? I can take a look. |
Hmm I just built |
Building is fine. What happens is that you build on top of libmavsdk on arm64 and use |
Hmm it's not crashing on me, this is on the Jetson Orin Nano Ubuntu 20.04 and Jetpack 5. Logloader uses
|
Did you try against an older mavsdk library? |
I'm building/installing MAVSDK |
If there's any way you know how to reproduce let me know. We just built logloader on the pi4 and linked against libmavsdk 2.4.0 and there is no crashing issue.
|
Yes, that sounds right. |
I had it crashing building this: https://github.com/julianoes/siyi-a8-mini-camera-manager/ |
@dakejahl were you able to reproduce the crash? |
No we haven't seen any crashing, we run into the linking error if we install from deb so we've just been building mavsdk from source. A simple solution could be to host two arm64 debs, one for arm64-lts and one for arm64. That would cover 20.04 vs 22.04 on the Jetsons. |
Ok, I will try to create a small example application that demonstrates the crash. Then I'll leave it up to you to fix it, or maintain two versions, although I think that would be confusing and painful. |
Ah, maybe it's now dawning on me. So you're saying it does not crash if both build against an older version of glibc but once we mix it, that's when it explodes. |
Well that was the theory, but Alex built logloader on the Pi using newer glibc
and installed libmavsdk 2.4.0 which uses older glibc and he didn't have any crashing.
That would be great! |
And did he use |
Yeah logloader uses it in a couple of places |
Ah I see. You build it on Ubuntu 20.04. Which Debian version did you try? Bullseye or Bookworm? |
Bookworm, Debian 12 |
Where did we land on this?
|
@AlexKlimaj and @dakejahl: I'm sorry this is one of those cases where I would like to support each and everyone but I also don't want to waste all my day maintaining CI with old compilers, etc. If you can make a PR to add the lts dockcross images back in and commit to helping with those going forward, then I'm happy to accept the PR. |
When building https://github.com/ARK-Electronics/logloader on Jetson Linux 35.5.0, I get the following error.
Mavsdk installed from the most recent release.
The text was updated successfully, but these errors were encountered: