summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/vim/files/no-path-adjust.patch
diff options
context:
space:
mode:
authorRyan Eatmon <reatmon@ti.com>2022-11-29 08:12:02 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-05 22:28:12 +0000
commit058def277e0cd8e262ba8f3d5821ec5300de7466 (patch)
tree4a159b8170d555b55d034b683f0e5428a25e5a2c /meta/recipes-support/vim/files/no-path-adjust.patch
parent891dfba7a0b3f6f717bdb27a48ba724b6f50e0c3 (diff)
downloadpoky-058def277e0cd8e262ba8f3d5821ec5300de7466.tar.gz
go: Update reproducibility patch to fix panic errors
Based on a discussion on the mailing list [1], there are panic errors that occur on a few platforms caused by the patch. We cannot simply remove the original patch due to the reproducibility issues that it addresses, so this patch on the original patch fixes the cause of the panic errors. The previous version of this patch was a little too aggressive in cleaning up the environment. Some of the variables impacted by the filerCompilerFlags() function require at least one value to remain in the array. In this case, the values for ccExe, cxxExe, and fcExe require a value or later code that access them result in a panic related to accessing a value out of range. This updated patch adds a flag that requires keeping the first value so that at least one thing remains and the assignments for the Exes set that flag to true. The first item in the array should be the executable name, so leaving it should be safe. I have run the oe-selftest and everything passed in my setup. There is a bug report [2] filed for the issue that this patch addresses. [YOCTO #14976] [1] https://lists.openembedded.org/g/openembedded-core/topic/94022663 [2] https://bugzilla.yoctoproject.org/show_bug.cgi?id=14976 (From OE-Core rev: 9eaa3a813555dd016a65be63a258f9c0b548a115) Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/vim/files/no-path-adjust.patch')
0 files changed, 0 insertions, 0 deletions