Hardcode or specify a glibc version for compilation #6
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
This issue derives from an understandable concern in this Reddit thread. Essentially it can be summed up as follows:
So basically, in our case it would be a good idea to specify the glibc version - when running
zigbuild
at least, I'm not sure ifcross
supports it.It might be worth it to hardcode
glibc=2.26
, as I believe that's what the docs on amazon linux 2 seem to indicate is the version of glibc that the AL2 runtime uses.Resolution
As suggested in the same Reddit thread, we easily specify glibc version when running
zigbuild
- for example, to compile for glibc 2.26 (which is what AL2 uses) with theaarch64-unknown-linux-gnu
target:The text was updated successfully, but these errors were encountered: