-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Build system dependency issue with syscalls #23504
Labels
bug
The issue is a bug, or the PR is fixing a bug
Comments
Through bisection this PR seems to be the culprit: #23183 |
@xodus7 FYI |
This seems to "fix" it, but I don't know if this is the right thing to do as we don't express dependencies on the subsystem json any more. Maybe the best thing to do is just combine syscalls_json and subsys_json into one file
|
Interesting, sorry that I didn't notice this issue in my original PR. |
andrewboie
pushed a commit
to andrewboie/zephyr
that referenced
this issue
Mar 16, 2020
Actual files make terrible dependency targets in CMake. Wrap the generation of subsystems.json into a custom target to get around this. Fixes a problem where parse_syscalls.py was being called multiple times. Fixes: zephyrproject-rtos#23504 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
andrewboie
pushed a commit
that referenced
this issue
Mar 17, 2020
Actual files make terrible dependency targets in CMake. Wrap the generation of subsystems.json into a custom target to get around this. Fixes a problem where parse_syscalls.py was being called multiple times. Fixes: #23504 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
hakehuang
pushed a commit
to hakehuang/zephyr
that referenced
this issue
Mar 18, 2020
Actual files make terrible dependency targets in CMake. Wrap the generation of subsystems.json into a custom target to get around this. Fixes a problem where parse_syscalls.py was being called multiple times. Fixes: zephyrproject-rtos#23504 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
jukkar
pushed a commit
to jukkar/zephyr
that referenced
this issue
Jul 27, 2020
Actual files make terrible dependency targets in CMake. Wrap the generation of subsystems.json into a custom target to get around this. Fixes a problem where parse_syscalls.py was being called multiple times. Fixes: zephyrproject-rtos#23504 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I'm seeing a problem where
make clean; make -j20
is run and the dependencies look messed up. This was found in code review for #23429 but is reproducible without that PR:In addition, occasionally when doing this the build fails:
This seems a race condition which only reproduces sometimes and depends on the host workstation characteristics and the -j parameter to
make
.To reproduce:
The text was updated successfully, but these errors were encountered: