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

Makefile dependency Bug #298

Closed
Meiye-lj opened this issue Oct 11, 2023 · 0 comments · Fixed by #303
Closed

Makefile dependency Bug #298

Meiye-lj opened this issue Oct 11, 2023 · 0 comments · Fixed by #303

Comments

@Meiye-lj
Copy link
Contributor

Meiye-lj commented Oct 11, 2023

Hi,

We recently conducted a study to detect build dependency errors, focusing on missing and redundant dependencies.
*Missing dependencies (MDs), are dependencies that are not declared in the build script but will be used in the full build.
MDs prevent GNU Make from recompiling programs after they have been modified and regenerating all the targets that contain them, resulting in incorrect incremental builds
*Redundant dependencies (RDs), are dependencies that are declared in the build script but will not be used in the full build.
RDs refer to static build dependencies which declare dependencies that are not the actual build dependencies of the target. RDs cause the build system to perform unnecessary incremental builds. In addition, RDs cause targets that could be executed in parallel to be executed sequentially, reducing the build efficiency.
We analyze the actual software construction process and detect dependency errors.
We have detected the following dependency errors in your public project. Please help us to check these dependency errors.

Base on Commit ID: 0c19a04
For quick check: The target "clib-configure (

clib/Makefile

Line 51 in 0c19a04

$(BINS): $(SRC) $(MAKEFILES) $(OBJS)
)" miss dependencies: /src/common/clib-settings.h, /clib/src/common/clib-settings.c, /src/common/clib-package.c...
If we modify these file, the target will not be rebuild.

For all errors:
dep_error_0c19a04.csv

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

Successfully merging a pull request may close this issue.

1 participant