Commit Graph

78054 Commits

Author SHA1 Message Date
Antonin Godard
5ec826fa2e migration-guides/{migration,release-note}-5.2: improvements and fixes
Address some of the reviews received on the release notes and migration
guide for 5.2:

- Remove the wget fetcher addition, I misread commit 0a9f90ff658e
  ("tests/fetch: support setting PV in the wget fetcher") from BitBake,
  and it actually affects the tests for the wget fetcher, not the
  fetcher itself.
- Add a way to transition from the branch=nameX,nameY syntax. From what
  I have tested, I achieve the same behavior when using one or the other
  syntax.
- Remove the default value for SPDX_PACKAGE_VERSION in the release note.
- Fix a couple of typos.

Suggested-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 39bf43a6009a46d4979337d7401eb46ece618f67)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 16:29:51 +01:00
Antonin Godard
a287584563 ref-manual/classes: ptest-python-pytest: improve the current documentation
Improve the current ptest-python-pytest documentation and
PTEST_PYTEST_DIR variable definition. Namely remove the default value
that may evolve over time.

Suggested-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: a83406103ca73d84fc8f5c50a8968faf91276a62)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 16:29:51 +01:00
Richard Purdie
e894acce6e build-appliance-image: Update to master head revision
(From OE-Core rev: dc2ef2cc1183a14cd3a05d388a1d0485a1bc8d20)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-29 15:37:21 +00:00
Richard Purdie
52b5f6a95d poky.conf: Bump version for 5.2 walnascar release
(From meta-yocto rev: cc5255e3f67566b6e1804097780d49e0c0352480)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-29 15:37:12 +00:00
Richard Purdie
382bf579ad poky-tiny: Drop obsolete/broken comment
The comment is obsolete and contains old override syntax, drop it.

(From meta-yocto rev: f6aee8290359404d9d782313ffb213b5f6c28a55)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-29 15:35:52 +00:00
Richard Purdie
6a79d6f9eb layer.conf: Update layer series name for release
Drop styhead from the layer series name ready for release.

(From OE-Core rev: 56253a6ba8dc2d6c337d947ab40d09d7beeddd24)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-29 15:31:15 +00:00
Richard Purdie
3d8c4ad2cf sanity.conf: Update minimum bitbake version to 2.12.0
This should have been 2.11 previously but the numbers got confused.
Correct it for release.

(From OE-Core rev: d4a7c9d1e72dd6e45458ac6590e76f10805c0818)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-29 15:31:15 +00:00
Richard Purdie
2d7f5904a8 bitbake: bitbake: Update version to 2.12.0 for release
(Bitbake rev: 5b4e20377eea8d428edf1aeb2187c18f82ca6757)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-29 15:28:51 +00:00
Richard Purdie
3f8cb421e3 rust-source: Fix remove_gcc_directory
The patch works for rust-native but not other recipes which change ${S}.
Set it to use the correct path so it works for llvm-rust, cargo and others,
maximising the space saving.

(From OE-Core rev: 1aee0bc109c1457159440c279ddc1fe5a8d89586)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-29 15:24:34 +00:00
Richard Purdie
1fce9adf75 lttng-tools: Update patch status
A couple of patches were merged upstream, mark as such.

(From OE-Core rev: ac8557164ed7a4fc2961a7d15aa202a7f38fb4ed)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-29 15:24:34 +00:00
Richard Purdie
67f6bad529 buildperf: Tweak tooltip positioning for usability
The tooltop contains a key hyperlink to make the graphs usable. Make
it easier to click on the link by removing the space between the data
point and the tooltip.

(From OE-Core rev: a090076e42eb9b41da55fc01ccbbb68f9b8a8cb8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 22:14:14 +00:00
Richard Purdie
6d13662148 buildperf: Avoid step usage in performance line graphs
When using steps in the line chart, you have to look long and hard
to understand if the data is the lower or upper point on the step.

Whilst not as pretty, the sloped line charts are more accurate so
switch to those as the transition points are important and the main
reason for the charts.

(From OE-Core rev: 60cc8cf421c0b04f774fd42a415f275ad457bcdf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 22:14:14 +00:00
Peter Marko
fd85dd43e8 cve-update-nvd2-native: handle missing vulnStatus
There is a new CVE which is missing vulnStatus field:
https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-2682

This leads to:
File: '<snip>/poky/meta/recipes-core/meta/cve-update-nvd2-native.bb', lineno: 336, function: update_db
     0332:
     0333:    accessVector = None
     0334:    vectorString = None
     0335:    cveId = elt['cve']['id']
 *** 0336:    if elt['cve']['vulnStatus'] ==  "Rejected":
     0337:        c = conn.cursor()
     0338:        c.execute("delete from PRODUCTS where ID = ?;", [cveId])
     0339:        c.execute("delete from NVD where ID = ?;", [cveId])
     0340:        c.close()
Exception: KeyError: 'vulnStatus'

(From OE-Core rev: 1508a97b175ccfc52a7ab64cbb4c9ce33d12bcb3)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 22:07:06 +00:00
Yoann Congal
9a9029e0af poky.yaml.in: Raise minimum GCC version to 10.1
Since OE-Core commit 19004950ad56 ("sanity: Check if the C++ toolchain supports --std=gnu++20"),
host GCC must support "--std=gnu++20" for a Yocto build.
This option is available from 10.1.

This is related to [YOCTO #15804].

(From yocto-docs rev: 0e538c102bfcb7184c76c2401e8cb878168c4434)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 15:00:10 +00:00
Antonin Godard
0fffea46ec migration-guides/{migration,release-note}-5.2: update for 5.2 release
Document changes between 0e91a1dabf ("adwaita-icon-theme: upgrade 47.0
-> 48.0") up to b3c21a23ad ("migration-guides/release-notes-5.2:
update for upcoming 5.2 release") in Poky.

(From yocto-docs rev: e61630ba2e4e865b57e920171a62824a4eba6533)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 13:17:13 +00:00
Antonin Godard
4562a9b2f3 ref-manual/variables.rst: document the SPDX_PACKAGE_VERSION variable
This variable controls the package version as seen in the SPDX 3.0 JSON
output (software_packageVersion). The default value for this variable is
PV.

(From yocto-docs rev: 3b483c5295b26748c6f2cd63074b20ac3da97b32)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 13:17:13 +00:00
Antonin Godard
b8c7882472 ref-manual/variables.rst: document the GRUB_MKIMAGE_OPTS variable
This new Grub variable controls the options passed to the grub-mkimage
command in the Grub recipe.

(From yocto-docs rev: 2e5a3c3d5199cad6fb90e0218cdd4a1779743644)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 13:17:13 +00:00
Antonin Godard
a9002c2d03 poky.yaml.in: bump minimum required Python version to 3.9
After commit 67566c7410 ("bitbake: lib/bb: Bump minimum python version
requirement to 3.9") on Poky.

(From yocto-docs rev: 25b5184fe231591b6eb4d6a38563c1370dabebac)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 13:17:13 +00:00
Antonin Godard
2c2d3bd92c ref-manual/system-requirements.rst: update list of supported distributions
Before the 5.2 release, update the list of supported distributions to
match the SANITY_TESTED_DISTROS variable in poky.conf.

(From yocto-docs rev: 9dac392c0d834c0089c514d7ad85beeb04d1b698)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 13:17:13 +00:00
Paul Gortmaker
0570d98f1b requirements: move Ubuntu-20.04 into unsupported category due to python
Bitbake commit 0d2e682d00df ("bitbake: lib/bb: Bump minimum python
version requirement to 3.9" -- poky commit 67566c7410) means that
Ubuntu 20.04 is no longer supported out-of-the-box as detailed further
in the respective commit log.

While it is true that it can still be used with buildtools, that can
also be said for nearly every other unsupported distro out there,
including Ubuntu 18.04 that we listed as unsupported some years ago.
Hence continuing to list it as supported with the new python requirement
in place does not make sense.

So we move it alongside of the 18.04 entry, into the "possibly tested,
but you get what you get" category.  And add an explicit mention of the
buildtools, so people have a thread to pull on.

(From yocto-docs rev: b1c09003dc304b1e65044f343fb341aaed58e6f3)

Signed-off-by: Paul Gortmaker <paulg@kernel.org>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 13:17:13 +00:00
Antonin Godard
9b8f4cf9a9 migration-guides/migration-5.2.rst: final update for 5.2
- Add new/removed supported distributions.
- Set the oldest supported kernel.
- Remove empty sections.

(From yocto-docs rev: c1f2b4e352f636594769f55f15fa69d99d69505a)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 13:17:13 +00:00
Antonin Godard
be14e8aa49 migration-guides/release-notes-5.2.rst: add an entry for addfragments
This should be clearly mentioned in the BitBake section as it is an
valuable addition to 5.2.

(From yocto-docs rev: 62e0fd7ec9581918935b44427326ae74991bd72a)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 13:17:13 +00:00
Antonin Godard
e02cf372bf migration-guides/release-notes-5.2.rst: add security fixes
Add security fixes by going through the log between yocto-5.1 and
walnascar branch tip on Poky.

(From yocto-docs rev: 3c895f4188b8c7aaa87198a8bf85776f545ee6a9)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 13:17:13 +00:00
Antonin Godard
cfaca2fb59 migration-guides/release-notes-5.2.rst: add LICENSE recipe changes
Document LICENSE changes between the 5.1 and 5.2 release.
Extracted for commits message containing the "License-Update:" field in
Poky, between tag yocto-5.1 and walnascar.

(From yocto-docs rev: 725135799c4d3ba117376df230be4a1603779121)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 13:17:13 +00:00
Antonin Godard
b015ce6a59 migration-guides/release-notes-5.2.rst: add recipe upgrades
Extracted from layers.openembedded.org branch comparison tool.

(From yocto-docs rev: 69f084adc7ef4224346ec466e9ccd1255fb738bf)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 13:17:13 +00:00
Antonin Godard
c3862047cf migration-guides/release-notes-5.2.rst: add the list of contributors
Obtained by running:

  git log --format=%an yocto-5.1..walnascar | sort | uniq

On the Poky repository.

(From yocto-docs rev: 8c32f84e75ba4fce9428df7ce68cc2193f26cff7)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 13:17:13 +00:00
Antonin Godard
8c9f86ce06 classes/spdx-*.bbclass: move spdx2 specific variables out of spdx-common class
Setting SPDX_ARCHIVE_SOURCES and SPDX_ARCHIVE_PACKAGED makes no
difference when using the spdx-3.0 class. Move these two in the spdx-2.0
class since they are only used there.

(From OE-Core rev: 8ce06538c9cde0f09909a5a2e61ec10b0d35df49)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 11:19:40 +00:00
Ross Burton
b199e9ff9f scripts/devtool: sort the recipes that need to be upgraded together
Sort the list of recipes for a more visually pleasing display, and to
make it easier to compare output from multiple runs.

(From OE-Core rev: 561e1996d655147199dc1601b5cba0512042de6b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 11:19:40 +00:00
Khem Raj
f811ac0d16 man-db: Do not delete chatset.alias
charset.alias is not generated anymore

(From OE-Core rev: e44fc07386a8e9e84725f4e5bded1c299b3e0896)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 11:19:40 +00:00
Khem Raj
1ed41d125b fmt: Backport patch to fix spdlog ABI issue
(From OE-Core rev: 47f5808d86c4721a16c8d7ae3d0d2b2bfe4d1247)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 11:19:40 +00:00
Ross Burton
847f0f2346 coreutils: fix cksum on musl
musl has subtly different type definitions to glibc, which broke cksum
under musl. Backport a patch from upstream to fix this.

(From OE-Core rev: b177a9d5676cf0cfbaca3c589c513d7d89a2035c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 11:19:40 +00:00
Ross Burton
d1f59f7267 coreutils: add missing ptest dependencies
One tests needs xz, and the acl and attr tests if enabled need the
corresponding tools.

(From OE-Core rev: 9caa68b9af19fea283ecdd55c4a8afd371fe388a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 11:19:40 +00:00
Richard Purdie
1c3020f173 expat: Upgrade 2.7.0 -> 2.7.1
Includes a fix for a regression from the fix for CVE-2024-8176.

License-Update: Copyright years change only

(From OE-Core rev: 10b8ac71d5f3cfe4a36a5ad260ac4ec77459268f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-28 11:19:40 +00:00
Antonin Godard
b3c21a23ad migration-guides/release-notes-5.2: update for upcoming 5.2 release
Changes since 87d7341465 ("python3-iniparse: remove recipe") up to
9cd6b3ad8b ("cronie: Resolve build failure with GCC15") in Poky.

(From yocto-docs rev: ea1636013722c12e72ca115240c8ce533e05ece2)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 15:25:05 +00:00
Antonin Godard
4130f9a595 migration-guides/migration-5.2: update for upcoming 5.2 release
Changes since 87d7341465 ("python3-iniparse: remove recipe") up to
9cd6b3ad8b ("cronie: Resolve build failure with GCC15") in Poky.

(From yocto-docs rev: c20001db2544c7d1c3cd9a34f629f452a2f3029d)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 15:25:05 +00:00
Antonin Godard
bec55f3182 ref-manual/variables.rst: add a link for BB_USE_HOME_NPMRC
Documented in the BitBake manual.

(From yocto-docs rev: f58b8c80b7665ab5e67398a4ce4bfaa035114278)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 15:25:05 +00:00
Antonin Godard
e7999d5413 migration-guides/migration-5.2.rst: add information about autotools changes
Original patch by Ross Burton:
https://lists.yoctoproject.org/g/docs/message/6466

Moved to the migration manual as it is potentially a breaking change.

Co-developed-by: Ross Burton <ross.burton@arm.com>
(From yocto-docs rev: 9b795ad8fdeadf17f08e03eedc93bc922a2d5736)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 15:25:05 +00:00
Antonin Godard
1bc6298738 ref-manual/variables.rst: document autotools class related variables
Document the AUTOTOOLS_SCRIPT_PATH and the CONFIGURE_SCRIPT variables.

(From yocto-docs rev: b3964a89fd6a5f19a8f45f9b46e8eaa8b8bff38e)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 15:25:05 +00:00
Antonin Godard
801c23ba69 ref-manual/variables.rst: document the NVD_DB_VERSION variable
This variable allows choosing the CVE feed when using the cve-check
class.

(From yocto-docs rev: 639ea86c5034d7706faf14a2ff52b603c3ccd905)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 15:25:05 +00:00
Antonin Godard
879371ca7c ref-manual/variables.rst: document the MESON_INSTALL_TAGS
This variable can be used to add install tags to the 'meson install'
command.

(From yocto-docs rev: 72b502cfb67345cda17bc2ae7af222b7cecb9a0c)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 15:25:05 +00:00
Antonin Godard
bfa657b639 ref-manual/features.rst: drop ld-is-gold
Dropped in OE-Core after commit a4addb9ab630 ("recipes: Drop ld-is-gold
support").

(From yocto-docs rev: 95645cb765b20c3215defe165e7d886da98c1787)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 15:25:05 +00:00
Antonin Godard
235756f049 ref-manual/variables.rst: document the MOUNT_GROUP variable
(From yocto-docs rev: 959735468264bac1bdd7b274fc1477635817c208)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 15:25:05 +00:00
Antonin Godard
1379494769 ref-manual/variables.rst: document the WATCHDOG_RUNTIME_SEC variable
This variable controls the RuntimeWatchdogSec option in
/etc/systemd/system.conf.

(From yocto-docs rev: 6d6b638ee94c3ba36a02ef2289bf246392d8c854)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 15:25:05 +00:00
Antonin Godard
bd156d28fe ref-manual/variables.rst: WATCHDOG_TIMEOUT: fix recipe name
This variable affects the watchdog-config recipe, not the watchdog
recipe.

(From yocto-docs rev: d3350c38910c47c76ed17f24579120013589ca1f)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 15:25:05 +00:00
Antonin Godard
7e822e13de ref-manual/classes.rst: document the ptest-python-pytest class and variables
Add documentation for the ptest-python-pytest class, and the
PTEST_PYTEST_DIR variable which can be overriden.

(From yocto-docs rev: 1abee62c2b9f32dfa42782893940f211db930b4c)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 15:25:05 +00:00
Chen Qi
498666694f mc: fix buildpath QA regarding unzip
When unzip-native is somehow introduced indirectly into the dependency
chain, then we get buildpath QA issue. Pass a similar value as the ZIP
to fix this issue.

(From OE-Core rev: 8d4987cf652c9844d93000fb012dc09eebcf9fcc)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 13:41:58 +00:00
Deepesh Varatharajan
01dbb30d39 rust: Oe-selftest changes for rust v1.84.1
Ignore the failing unit test.

The tidy check failed due to a typo, which was already reported and
fixed in the Rust upstream.

Upstream-Status: Backport [8e77349782]

(From OE-Core rev: 94a244a14075ead1b3b5e966c0fe713cd448cad8)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 13:41:58 +00:00
Deepesh Varatharajan
28a077b4aa rust: Fix build failure when multilibs are enabled
When multilibs are enabled, building rust is failing because of the following commit
68034f837a
with stage1/rustc cannot able to find dependent *.so files. The issue is
been fixed inrust-master with the following commit by passing the necessary library
paths before executing stage1/rustc

Upstream-Status: Backport [139d6ba054]

(From OE-Core rev: ab29b970ba7e08eabca92018d103af5f249ed2c5)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 13:41:58 +00:00
Deepesh Varatharajan
6d78fbe5c5 rust: Upgrade 1.83.0->1.84.1
Rust stable version updated to 1.84.1.
https://blog.rust-lang.org/2025/01/30/Rust-1.84.1.html

Renamed and modified the below patch to adapt the new version.
rv32-cargo-rustix-0.38.37-fix.patch->rv32-cargo-rustix-0.38.38-fix.patch

Modified the below patches to adapt the new version.
repro-issue-fix-with-cc-crate-hashmap.patch
revert-link-std-statically-in-rustc_driver-feature.patch

Dropped the below patches :
0001-NFC-fix-build-failure-100993.patch
6ee49080e4

revert-Zdual-proc-macros-additional-check.patch
Issue is fixed in rust-master and the fix is backported in the
subsequent patch of the series.

(From OE-Core rev: 4265f668de8c6708cb3a003ad655559031724149)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 13:41:58 +00:00
Deepesh Varatharajan
824f05fe73 rust: Fix build break because of "download-rustc" and "llvm-tools"
>From Rust 1.84, the download-rustc and llvm-tools options were set to True
(previously they were False)

cce6f03754
(download-rustc)

38f0c099b2
(llvm-tools)

For tarball sources, the download-rustc option should be False, so it has been
reverted back to False.

Setting llvm-tools to True caused issues with finding llvm-objcopy, so this
has been changed back to False.

Upstream-Status: https://github.com/rust-lang/rust/pull/134240/

(From OE-Core rev: 2eb952d839e72c24a4180a57631c77910a0da980)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 13:41:58 +00:00