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
[Buildroot] augeas-1.7.0 fails with "Bad expression" #108
Comments
Hi, indeed the construction is wrong. Please provide the preprocessed file, command options used for uncovering the error and the compiler version used. |
This is the link to the preprocessed This is the configuration step:
The compiler info:
|
Thank you. I'll analyze the issue asap. |
Simplified example a() {
char *b = "";
char c;
int d = &c - " \n\t\v\b\r\f\a/\0";
e(b[d]);
} line to have it crashed: arc-elf32-gcc -Os -mno-sdata -fpic fa.i -c |
Fixed by commits: Thank you for signalizing this issue. |
We encountered an compiler error with the ARC toolchain version 2016.09 when building the package augeas in Buildroot:
The corresponding assembler output is:
The C code for this function:
The following build command was used to test the compilation:
The package is not available in Buildroot, yet, but the package was build based on a patch on patchwork.
The text was updated successfully, but these errors were encountered: