tamatebako / tebako

Tebako: an executable packager (for Ruby programs)
https://www.tebako.org
43 stars 6 forks source link

Support older glibc versions even when built using newer ones #53

Closed ronaldtse closed 1 month ago

ronaldtse commented 2 years ago

From @maxirmx:

A binary built on Ubuntu 20.04 will not work on a vanilla Ubuntu 18.04 right now.

The status today is as follows:

Overview:

From: https://github.com/wheybags/glibc_version_header

Screenshot 2021-12-16 at 5 14 03 PM

We probably want to support CentOS >= 7 so we will need to tag that version if we use glibc_version_header.

Originally posted by @maxirmx in https://github.com/metanorma/packed-mn/issues/126#issuecomment-995113970

ronaldtse commented 1 month ago

Wow an issue from 2021! Finally time to get this done 😜

maxirmx commented 1 month ago

The approach proposed in this issue was based on my wrong understanding of the root cause. It works the other way round, it is possible to support newer glibc versions if build on older ones with some limitations caused by private ABI. In metanorma we had package built on Ubuntu 18 that was compatible with Ubuntu 20.

I am closing this issue in favour of https://github.com/tamatebako/tebako/issues/196