This commit pulls in the fix for the OpenOCD failing to flash a target
when the target is in sleep state.
Note that this is only a workaround until the Zephyr-side OpenOCD
configurations are updated to fundamentally fix this issue -- refer to
the linked OpenOCD commit message for more details.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit updates the Kconfig symbol name to reflect the current
version of Zephyr SDK (the 0.15.0 release forgot to do it).
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
The Zephyr SDK toolchains all enable TLS, so add a Kconfig setting
which reports this to the Zephyr build. This will allow the
explicit zephyr toolchain variant check in Zephyr's kernel/Kconfig to
eventually be removed.
Signed-off-by: Keith Packard <keithp@keithp.com>
Adds a note on a typical workflow to generate the Zephyr SDK to test
changes to gcc or other submodules.
Signed-off-by: Kevin Townsend <kevin.townsend@linaro.org>
This commit pulls in the GCC commit that reverts the controversial GCC
behaviour, introduced in the GCC 12.1 release, that emits the GOT
indirections for the weak symbol references even when not compiling
position-independent code (PIC).
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit pulls in the RV64 multilib code model fix in order to
ensure that the RV64 multilibs are built using the `medany` code model,
as required by Zephyr.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
Since Git 2.35.1, the `safe.directory` config can be set to a wildcard,
which has the effect of disabling the ownership check.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit adds the GitHub runner temporary directory (`RUNNER_TEMP`)
to the Git safe directory list because the `meta-zephyr-sdk` build
process may check out source files under this directory.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
The owner UID of the GITHUB_WORKSPACE directory may not match the
container user UID because of the way GitHub Actions runner is
implemented, and this can cause the Git operations to fail unless the
workspace directory is explicitly listed as a "safe directory."
For more details, refer to the following GitHub issue:
actions/checkout#760
Remove this workaround when GitHub comes up with a fundamental fix for
this problem.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This makes the new version of GCC compatible with older versions
when no -march is specified on the command line
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit updates the CI workflow to install ninja and meson, which
are required for building the picolibc, for the toolchain build job on
macOS.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit updates the CI workflow to use the sdk-build image v1.2.3,
which added the ninja-build and meson utilities required for building
the picolibc.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit pulls in the ARC architecture-related fixes that were
merged as part of zephyrproject-rtos/binutils-gdb#6.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
Both 32bit and 64bit ARCv3 have same toolchain prefix
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
The `intel_s1000_crb` platform support, which is currently used for
testing the Intel S1000 Xtensa toolchain, has been removed from the
upstream Zephyr.
This commit updates the CI workflow to test the Intel S1000 Xtensa
toolchain using the `intel_adsp_cavs18` platform, which is another
board that builds using this toolchain.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit pulls in the GCC patch that fixes the problem in which the
libstdc++ incorrectly picks up the availability of the "getentropy" and
"arc4random" functions and uses them for "std::random_device" leading
to "undefined reference to `getentropy`" link errors.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This reverts commit 46ceb8961a, which
enabled the C99 format specifier support for the "nano" variant of the
newlib.
It has been decided at the TSC to keep the C99 format specifier support
disabled for the newlib "nano" variant at the cost of breaking the C99
standard compatibility[1] until the picolibc gains more adoption and
can function as an effective replacement of the newlib "nano" variant.
[1] https://github.com/zephyrproject-rtos/zephyr/issues/47329#issuecomment-1190530446
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit modifies the CI release workflow to upload the release
assets in multiple parts because the `softprops/action-gh-release`
action attempts to load all specified release assets into the runner
memory at once and this may cause the runner instance to run out of
memory.
For more details, refer to the GitHub issue #520.
Revert this when the action is updated to use the streams.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This reverts commit 3054f9216e since the
ARC patches for the GNU toolchains have been merged and the toolchains
for it can be built now.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit enables the GDB build for the ARC64 target because the
Zephyr GDB 12.1 branch now includes the support for it.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
The ARC64 binutils patches have been reworked so that it can be cleanly
applied on top of the upstream GDB 12.1 branch without affecting other
ARC architectures.
This commit updates the ARC64 toolchain configurations to use the
binutils Git submodule instead of the local ARC64-specific patch.
It also removes the local ARC64-specific binutils patch under the
`patches-arc64` directory since it is no longer used.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit pulls in the crosstool-ng patch that adds the
configurations to explicitly control the liblzma and libguile library
linkage so that the shared version of these libraries are not
automatically linked on the systems that have these libraries
installed (e.g. macos-x86_64).
Note that these configurations are disabled by default, so simply
pulling this patch in should be enough to disable the liblzma and
libguile library linkage.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit pulls in the GCC patch that builds the multilibs for the
RISC-V target configurations that support the bit manipulation
extension (Bitmanip).
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit pulls in the GCC patch that builds the multilibs for the
RISC-V base instruction sets (i.e. rv32i, rv32e, rv64i) in order to
increase the ISA extension configuration coverage.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit relocates the gdbserver `xtensa-xtregs.c`, which was
previously located under `gdb/gdbserver` to `gdbserver` as required by
the GDB 12.1.
Also note that the `xtensa-xtregs.c` file has been renamed to
`xtensa-xtregs.cc`.
The `xtensa-regmap.c` file is removed because it is not used anywhere.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit updates the `xtensa_tdep` global variable definition in the
GDB `xtensa-config.c` to use the new type introduced in GDB 12.1.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>