Open edubart opened 1 month ago
enderson opened a PR to update all application templates to use Ubuntu 24.04 https://github.com/cartesi/application-templates/pull/10
machine-emulator-tools built for 22.04 are working fine.
Can we move forward with that?
Can we move forward with that?
Sorry, I missed the question when I read it before. Using tools compiled for Ubuntu 22.04 on Ubuntu 24.04 should work in practice, only the inverse would be problematic.
But keep in mind this is not a good practice, ideally you should run binaries with the same versions they were built with. This will work because tools for now only link GLIBC and GCC libraries, and they are known to be retro compatible across system upgrades. If we started to use other third party libraries then it would be a problem, but I don't see tools needing to link to other third party libraries in the foreseeable future.
Context
Other units are bumping the guest rootfs to Ubuntu 24.04, we should also start bumping so we generate and test tools on what people are actually using. However there is a chance that this may make the .deb unusable in older Ubuntu/Debian, we have to check GLIBC symbols dependency to see if it's backwards compatible, or maybe add GLIBC version required in the deb file and stop supporting older Ubuntu.