Skip to content

Conversation

@tagunil
Copy link
Contributor

@tagunil tagunil commented Nov 16, 2024

The current state of ARC MWDT toolchain support doesn't really allow building Zephyr for our ARC-V cores.

@tagunil tagunil force-pushed the mwdt-riscv-fixes branch 3 times, most recently from 590e134 to b23ba27 Compare November 18, 2024 15:00
Raise minimal required version of ARC MWDT toolchain in preparation
for RISC-V and Picolibc.

Signed-off-by: Ilya Tagunov <[email protected]>
The new version of the ARC MWDT toolchain already supports C++20.

Signed-off-by: Ilya Tagunov <[email protected]>
The SECTION_ macros have at least one significant issue, leading to
symbols being put into sections with names like vectors() or text().
In practice it means that e.g. __start code appears at the end of
the romable region instead of being at the beginning. Align these
and other macro definitions with the ARC GCC ones, as the RISC-V
side of ARC MWDT toolchain generates symbol names more like GCC,
but the assembly language still uses ; for single line comments.

Signed-off-by: Ilya Tagunov <[email protected]>
Newer versions of ARC MWDT toolchain provide built-in Picolibc in
addition to the classic MW libc. For now it is available only for
RISC-V processors, so keep it disabled for classic ARC ones.

Signed-off-by: Ilya Tagunov <[email protected]>
The RISC-V variant of the classic MetaWare libc provides a thread-safe
errno through TLS and uses it internally, so there is no point in
having the hook. Just use the libc errno like we do for Picolibc.

Signed-off-by: Ilya Tagunov <[email protected]>
ARC MWDT toolchain does not provide the GNU C++ Library, also known
as libstdc++, so there is no way to run this test.

Signed-off-by: Ilya Tagunov <[email protected]>
@github-actions
Copy link

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions bot added the Stale label Mar 15, 2025
@abrodkin abrodkin added area: ARC ARC Architecture platform: Synopsys Synopsys labels Mar 24, 2025
@github-actions github-actions bot removed the Stale label Mar 25, 2025
@github-actions
Copy link

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions bot added the Stale label May 24, 2025
@github-actions github-actions bot closed this Jun 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants