summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/cooker.py5
-rw-r--r--meta/classes-global/base.bbclass3
-rw-r--r--meta/recipes-devtools/gcc/gcc-15.1.inc1
3 files changed, 4 insertions, 5 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 93707a250e..f813627661 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -2171,9 +2171,6 @@ class CookerParser(object):
2171 self.parser_quit = multiprocessing.Event() 2171 self.parser_quit = multiprocessing.Event()
2172 self.result_queue = multiprocessing.Queue() 2172 self.result_queue = multiprocessing.Queue()
2173 2173
2174 for jobid in range(len(self.willparse)):
2175 self.toparse_queue.put(jobid)
2176
2177 # Have to pass in willparse at fork time so all parsing processes have the unpickleable data 2174 # Have to pass in willparse at fork time so all parsing processes have the unpickleable data
2178 # then access it by index from the parse queue. 2175 # then access it by index from the parse queue.
2179 for i in range(0, self.num_processes): 2176 for i in range(0, self.num_processes):
@@ -2182,6 +2179,8 @@ class CookerParser(object):
2182 self.process_names.append(parser.name) 2179 self.process_names.append(parser.name)
2183 self.processes.append(parser) 2180 self.processes.append(parser)
2184 2181
2182 for jobid in range(len(self.willparse)):
2183 self.toparse_queue.put(jobid)
2185 self.toparse_queue.close() 2184 self.toparse_queue.close()
2186 2185
2187 self.results = itertools.chain(self.results, self.parse_generator()) 2186 self.results = itertools.chain(self.results, self.parse_generator())
diff --git a/meta/classes-global/base.bbclass b/meta/classes-global/base.bbclass
index ac145d9fd6..6be1f5c2df 100644
--- a/meta/classes-global/base.bbclass
+++ b/meta/classes-global/base.bbclass
@@ -30,8 +30,9 @@ PREFERRED_TOOLCHAIN:class-crosssdk = "${PREFERRED_TOOLCHAIN_SDK}"
30PREFERRED_TOOLCHAIN:class-nativesdk = "${PREFERRED_TOOLCHAIN_SDK}" 30PREFERRED_TOOLCHAIN:class-nativesdk = "${PREFERRED_TOOLCHAIN_SDK}"
31 31
32TOOLCHAIN ??= "${PREFERRED_TOOLCHAIN}" 32TOOLCHAIN ??= "${PREFERRED_TOOLCHAIN}"
33TOOLCHAIN_NATIVE ??= "${PREFERRED_TOOLCHAIN_NATIVE}"
33 34
34inherit toolchain/gcc-native 35inherit_defer toolchain/${TOOLCHAIN_NATIVE}-native
35inherit_defer toolchain/${TOOLCHAIN} 36inherit_defer toolchain/${TOOLCHAIN}
36 37
37def lsb_distro_identifier(d): 38def lsb_distro_identifier(d):
diff --git a/meta/recipes-devtools/gcc/gcc-15.1.inc b/meta/recipes-devtools/gcc/gcc-15.1.inc
index af29db8e5b..28fcf9376c 100644
--- a/meta/recipes-devtools/gcc/gcc-15.1.inc
+++ b/meta/recipes-devtools/gcc/gcc-15.1.inc
@@ -53,7 +53,6 @@ SRC_URI = "${BASEURI} \
53 file://0005-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch \ 53 file://0005-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch \
54 file://0006-cpp-honor-sysroot.patch \ 54 file://0006-cpp-honor-sysroot.patch \
55 file://0007-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch \ 55 file://0007-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch \
56 file://0008-libtool.patch \
57 file://0009-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch \ 56 file://0009-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch \
58 file://0010-Use-the-multilib-config-files-from-B-instead-of-usin.patch \ 57 file://0010-Use-the-multilib-config-files-from-B-instead-of-usin.patch \
59 file://0011-aarch64-Fix-include-paths-when-S-B.patch \ 58 file://0011-aarch64-Fix-include-paths-when-S-B.patch \