Skip to content
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

zcc with sdcc fails frequently on msys2 #2471

Open
pauloscustodio opened this issue Dec 30, 2023 · 0 comments
Open

zcc with sdcc fails frequently on msys2 #2471

pauloscustodio opened this issue Dec 30, 2023 · 0 comments

Comments

@pauloscustodio
Copy link
Member

The test code:

char f(char a) {
        return (a >> 4);
}
int main() {
        return f(0x12);
}

compiled with zcc +zxn -v --list -o test_t_issue_1874.dir/test test_t_issue_1874.dir/test.c fails silently about half of the runs on msys2. I've added a perror() at zcc.c:1414 and the error output is "No such file or directory".

My guess is that the input file to sdcc is not ready yet when the sdcc process starts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant