flawed Makefile dependencies in libacpi
Every once in a while build.c fails to compile because ssdt_s3.h does not exist. The 'sed' command which creates the file appears a few lines down in the build log.
I'm not familiar with make. I wonder if "build.o" should depend on "$(H_SRC)" instead of the expanded list of generated headers. Some sort of dependency to the individual files seem to exist, otherwise make would probably complain.
Olaf
Quoted 3 lines · Olaf Hering
Every once in a while
build.cfails to compile becausessdt_s3.hdoes not exist. The 'sed' command which creates the file appears a few lines down in the build log.I'm not familiar with make. I wonder if "build.o" should depend on "$(H_SRC)" instead of the expanded list of generated headers.
Oh, yes, it definitely should. Will you make a patch?
Jan
Quoted 6 lines · Jan Beulich
Quoted 3 lines · Olaf Hering
Every once in a while
build.cfails to compile becausessdt_s3.hdoes not exist. The 'sed' command which creates the file appears a few lines down in the build log.I'm not familiar with make. I wonder if "build.o" should depend on "$(H_SRC)" instead of the expanded list of generated headers.
Oh, yes, it definitely should. Will you make a patch?
Actually it only should be if this line was useful for anything. But it's dead. Instead the consumers of libacpi/ may need respective dependencies to be added. In this context it then is relevant in which context you see the failure - firmware/hvmloader/ or libs/light/ ?
Jan
Am Tue, 27 Oct 2020 11:25:17 +0100
schrieb Jan Beulich <[email protected]>:
Quoted 1 line
In this context it then is relevant in which context you see the failure -
firmware/hvmloader/or libs/light/ ?
I do not have the log anymore to check this detail.
Olaf
Quoted 6 lines · Olaf Hering
Am Tue, 27 Oct 2020 11:25:17 +0100
schrieb Jan Beulich <[email protected]>:Quoted 1 line
In this context it then is relevant in which context you see the failure -
firmware/hvmloader/or libs/light/ ?I do not have the log anymore to check this detail.
From looking at both makefiles, it's only libxl which is affected. I guess I'll make a patch then.
Jan
Am Tue, 27 Oct 2020 11:38:04 +0100
schrieb Jan Beulich <[email protected]>:
Quoted 1 line
I guess I'll make a patch then.
Thanks. I briefly looked at the code and it is not obvious how it would need to look like.
Olaf