-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
Error in host-m4-1.4.18/lib/c-stack.c breaks build #75
Comments
Couldn't confirm the issue on Github Actions used for firmware CI. Please use Docker environments to remove differences between platforms |
Is this a compiler bug? |
What's your |
Currently recent buildroot uses m4-1.4.19 without such kind of problems so workaround could consist removing patches and replace m4.hash and m4.mk to recent versions for m4-1.4.19. I met the same issue building OpenIPC firmware on Ubuntu 22.04. Unfortunatelly it's not only one issue with Ubuntu 22.04 (next one will be segfault crash for make ver. 4.3 on printvars) so I decide to downgrade the building environment to 20.04 |
We use |
During building i am getting the next error
I did try to build some different configurations and this bug does not depend on it as I can see.
The problem is in this file:
./openipc-2.1/output/build/host-m4-1.4.18/lib/c-stack.c
I did remove preprocessor directive lines so the code could be compiled now:
#ifndef SIGSTKSZ
#define SIGSTKSZ 16384
#endif
But I am not sure if the bug descibed in the comment of the c-stack.c is still actual ( there is a whitespace between # and define so it's interpreted as a comment by preprocessor )
The text was updated successfully, but these errors were encountered: