diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-03 10:34:25 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-24 15:30:01 +0000 |
| commit | 6ad627fe87bfb23c1661ef07b45cd5a2b3382a73 (patch) | |
| tree | 2b24ecc34ac2be31d9ad3cd096c33ab8dc6d9a20 | |
| parent | 58ca943f91dd9eee3b7e6d352e08ab24052dda52 (diff) | |
| download | poky-6ad627fe87bfb23c1661ef07b45cd5a2b3382a73.tar.gz | |
gcc-source: Fix gengtypes race
gcc renamed .c files to .cc files:
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=5c69acb32329d49e58c26fa41ae74229a52b9106
but we didn't fix this reference which meant we re-introduced a race around
gengtypes-lex.c. This lead to the race reappearing on the autobuilder. Fix
the naming to avoid the problem again.
[YOCTO #14953]
(From OE-Core rev: ac7d5ea832c880002fd466360294ffb357e9c56c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit dbca40ed399405b663dbc3894e35596a2615f47d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-source.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-source.inc b/meta/recipes-devtools/gcc/gcc-source.inc index 224b7778ef..03837f4381 100644 --- a/meta/recipes-devtools/gcc/gcc-source.inc +++ b/meta/recipes-devtools/gcc/gcc-source.inc | |||
| @@ -26,7 +26,7 @@ python do_preconfigure () { | |||
| 26 | cmd = d.expand('cd ${S} && PATH=${PATH} gnu-configize') | 26 | cmd = d.expand('cd ${S} && PATH=${PATH} gnu-configize') |
| 27 | subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True) | 27 | subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True) |
| 28 | # See 0044-gengtypes.patch, we need to regenerate this file | 28 | # See 0044-gengtypes.patch, we need to regenerate this file |
| 29 | bb.utils.remove(d.expand("${S}/gcc/gengtype-lex.c")) | 29 | bb.utils.remove(d.expand("${S}/gcc/gengtype-lex.cc")) |
| 30 | cmd = d.expand("sed -i 's/BUILD_INFO=info/BUILD_INFO=/' ${S}/gcc/configure") | 30 | cmd = d.expand("sed -i 's/BUILD_INFO=info/BUILD_INFO=/' ${S}/gcc/configure") |
| 31 | subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True) | 31 | subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True) |
| 32 | 32 | ||
