-
Notifications
You must be signed in to change notification settings - Fork 35
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
Firmware compilation fails under Docker (Windows) with missing GLIBC_2.27 #484
Comments
Note that if I check out v3.0.1, I get similar error messages about missing files in |
I've been trying to get this working too, to add a lil' custom teensyLC module to the ii devices :) Using this as
It just updates the ubuntu release (fixing GLIBC_2.27 error) and adds the
|
I'm having the same experience: the updated Dockerfile allows compilation to start, but I error out with the same messages as above. Here are a few more lines from my terminal output for context (there are around 10 or so of these errors in the log before it exits):
|
Interestingly, I can get it to compile in an Ubuntu container in WSL2 just fine. The issue may be with the docker container? Or perhaps the mount directory? Compiling the first time I did get a bunch of errors about missing .h files corresponding to lua files, but they were then auto generated and compilation proceeded. |
quick notes to explain what is (and isn't) an issue here: the following errors are expected the first time you compile. they're caused by issues in the Makefile (dependencies with the code generation isn't clear i think), but they don't stop the compilation, so i haven't prioritized fixing them:
i had to write a lua bytecode cross-compiler ( the best(?) solution would be to add compilation of as to "why" this is necessary -- with all the new v4 features, we were running out of RAM constantly. previously we would save lua scripts as raw strings, then compile them while crow was running. i changed this so that we compile to lua bytecode on the PC, and save that bytecode into flash directly. this dramatically reduces RAM usage at runtime because we don't have to load the big strings into RAM and compile them. the issue is crow runs on a 32bit ARM system, but we're (typically) compiling on a 64bit x86 machine. as such we need a cross-compiler to get the lua bytecode into the correct format so it runs on crow. if there's another solution for this cross-compilation that doesn't require a compiled C program to do the hard work (it's just a modified version of @eethann
this looks like the code-generation hasn't run properly before arriving here? hope it gives some perspective, and if anyone has ideas or finds a good solution i'd love to have it incorporated into the repo. added benefit is this would mean the github CI checks would start working again! |
If I try to build main (at e134db1) under docker (Docker Desktop on Windows), I get the following errors:
The text was updated successfully, but these errors were encountered: