diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-03 17:31:17 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-07 21:57:21 +0000 |
commit | 4b80c6cdc01e3aa2d5971b880e33f360feaa528d (patch) | |
tree | 1e9d7536a7a3d80b330b3583fbc98cd48fd6a2df /meta/recipes-devtools/file/file_5.43.bb | |
parent | f494d47e6501f86a3c45dc0f2f50afa527ccebb2 (diff) | |
download | poky-4b80c6cdc01e3aa2d5971b880e33f360feaa528d.tar.gz |
gcc-shared-source: Fix source date epoch handling
The source date epoch for gcc isn't being transferred from the shared
workdir to the current WORKDIR for the specific recipe. This results in
the clamping code within sstate.bbclass using a value from 2011 which
changes the timestamps of many files. Since this happens part way
through the build, if pieces of gcc haven't built, or build/rebuild
later, we see things rebuilding when they should not and for generated
files, races are possible.
Fix this by copying the SDE from the shared workdir into the recipe
workdir.
[YOCTO #14953]
(From OE-Core rev: b996293b4c8ab7ff3ed852045d17290df29205df)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/file/file_5.43.bb')
0 files changed, 0 insertions, 0 deletions