Skip to content

Conversation

@stephanosio
Copy link
Member

@stephanosio stephanosio commented Jun 26, 2025

This commit pulls in the GCC patch that adds RV64GC multi-lib built for large code model (-mcmodel=large).

The large code model is required to handle offsets larger than 2GiB.


GCC PR: zephyrproject-rtos/gcc#52

Closes #943
Must be merged after #952

@stephanosio stephanosio added DNM DO NOT MERGE area: GCC Issues related to GCC (GNU Compiler Collection) labels Jun 26, 2025
@stephanosio
Copy link
Member Author

DNM until zephyrproject-rtos/gcc#52 is merged.

This commit pulls in the GCC patch that adds RV64GC multi-lib built for
large code model (`-mcmodel=large`).

The large code model is required to handle offsets larger than 2GiB.

Signed-off-by: Stephanos Ioannidis <[email protected]>
@stephanosio stephanosio removed the DNM DO NOT MERGE label Jun 27, 2025
@stephanosio stephanosio merged commit 4508765 into zephyrproject-rtos:main Jun 28, 2025
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: GCC Issues related to GCC (GNU Compiler Collection)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Zephyr SDK for RISCV-64 doesn't allow -mcmodel=large

1 participant