Skip to content

Toolchain fixes for Scarthgap

Mark Hatle openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2binutils: Fix aarch64 disassembly abortmeta/recipes-devtools/binutils/binutils-2.42.inc meta/recipes-devtools/binutils/binutils/0016-aarch64-Remove-asserts-from-operand-qualifier-decode.patch+383 -02 replies
2/2gcc: Fix for CVE-2024-0151meta/recipes-devtools/gcc/gcc-13.2.inc meta/recipes-devtools/gcc/gcc/CVE-2024-0151.patch+316 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [scarthgap 0/2] Toolchain fixes for Scarthgap

Two different toolchain fixes for Scarthgap.

The binutils change was found in a AMD/Xilinx specific build script that attempts to disassemble some code as part of a firmware setup. This cortex-a53 baremetal firmware triggered a fault fixed by the issue.

The newer versions of binutils have already accepted this change, but I'm not exactly sure which version(s) have it other then then the current development tree.

The GCC change only affects cortex-M. This is simply a port of the GCC accepted change into Yocto Project for baremetal usage. Unfortunately I don't have any sort of test cases to show it works or doesn't. It does not break any of my existing test cases related to Linux for cortex-r baremetal.

Again this change has already been accepted to newer versions of GCC.

Mark Hatle (2):
binutils: Fix aarch64 disassembly abort
gcc: Fix for CVE-2024-0151

 .../binutils/binutils-2.42.inc                |   1 +
 ...sserts-from-operand-qualifier-decode.patch | 382 ++++++++++++++++++
 meta/recipes-devtools/gcc/gcc-13.2.inc        |   1 +
 .../gcc/gcc/CVE-2024-0151.patch               | 315 +++++++++++++++
 4 files changed, 699 insertions(+)
 create mode 100644 meta/recipes-devtools/binutils/binutils/0016-aarch64-Remove-asserts-from-operand-qualifier-decode.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc/CVE-2024-0151.patch
Signature · 1 line
2.34.1