Replies: 1 comment 10 replies
-
We have documentation elsewhere but we should probably improve it/move it to cross itself, probably the Wiki. For example, in cross-toolchains we have: The config files are configured via [crosstool-ng/configure-all.sh](https://github.com/cross-rs/cross-toolchains/blob/main/crosstool-ng/configure-all.sh), which may be customized by the following environment variables:
- `GCC_VERSION`: The GCC version (default 8.3.0)
- `GLIBC_VERSION`: The glibc version (default 2.17)
- `LINUX_VERSION`: The Linux version (default 4.19.21) The same thing is actually true for cross-rs. Maybe we could add it to the Wiki? Does that sound good? So in this case, you should be able to auto-generate the config file you want with |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Heya! Im building my project, which depends on
libudev-dev
againstarm-unknown-linux-gnueabihf
(which compiles against glibc 2.17). After some tweaking (see #874) it managed to nearly compile, except I get/lib/arm-linux-gnueabihf/libudev.so: undefined reference to getrandom@GLIBC_2.25'.
Building my own base image using crosstool-ng (see #734 for instructions) against glibc 2.27 works, but this was harder than expected since there seems to be no documentation outside the commit message in #734. Also, it's not good for shared projects, since my other colleagues don't have my "homemade" base image to compile with (same goes for CI) and compilation of this custom image took around ~2h on my machine.
Is there a way to either get a image like this automatically or lower the glibc requirements of libudev-dev?
Beta Was this translation helpful? Give feedback.
All reactions