Skip to content

Move to GCC 14.2 #908

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 33 commits into
base: main
Choose a base branch
from

Conversation

nashif
Copy link
Member

@nashif nashif commented May 13, 2025

GCC 14.2

Copy link
Collaborator

@keith-packard keith-packard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like saving the intermediate crosstool bits won't be that useful?

@nashif
Copy link
Member Author

nashif commented May 13, 2025

Seems like saving the intermediate crosstool bits won't be that useful?

yep, was a local attemp to speed things up

@nashif nashif force-pushed the topic-gcc_14_2_main1 branch 2 times, most recently from 5830c89 to d7377ed Compare May 13, 2025 22:40
@nashif nashif mentioned this pull request May 13, 2025
@nashif nashif force-pushed the topic-gcc_14_2_main1 branch 3 times, most recently from fd7e17b to bf8ce51 Compare May 15, 2025 09:35
nashif and others added 15 commits May 16, 2025 07:15
Use installed python3 instead of pointing to specific version.

Signed-off-by: Anas Nashif <[email protected]>
Signed-off-by: Anas Nashif <[email protected]>
This appears to trigger some compiler bugs. Let's see if disabling
this option generates a working toolchain.

Signed-off-by: Keith Packard <[email protected]>
Add new module to deal with out of tree gcc patches for arc64.

Signed-off-by: Anas Nashif <[email protected]>
Signed-off-by: Anas Nashif <[email protected]>
Signed-off-by: Anas Nashif <[email protected]>
@nashif nashif force-pushed the topic-gcc_14_2_main1 branch from d289594 to 68c7771 Compare May 16, 2025 11:16
nashif and others added 6 commits May 16, 2025 14:23
Update branch to point to 3324eed0e2a124ca41789919ec0e0d15df23a1e1

Signed-off-by: Anas Nashif <[email protected]>
This file depends upon the architecture configuration and is generated
along with the remaining compiler configuration bits. While gcc
doesn't use it, delivering it with gcc avoids needing to customize the
C libraries and simplifies the SDK. It also makes using the toolchain
for other C library development, like picolibc CI, possible.

Signed-off-by: Keith Packard <[email protected]>
Now that we're not building newlib, let Zephyr know it isn't available.

Signed-off-by: Keith Packard <[email protected]>
picolibc provides this file, don't replace it with a gcc-specific
version.

Signed-off-by: Keith Packard <[email protected]>
keith-packard and others added 12 commits May 16, 2025 14:23
We're not providing this library any more

Signed-off-by: Keith Packard <[email protected]>
Track gcc changes.

Signed-off-by: Keith Packard <[email protected]>
This lets Zephyr not use picolibc.specs

Signed-off-by: Keith Packard <[email protected]>
Use code from branches

 zephyr-gcc-14.2
 arc-2024.12-for-zephyr

Signed-off-by: Anas Nashif <[email protected]>
We're not building this, so don't ship it

Signed-off-by: Keith Packard <[email protected]>
Zephyr can add an option to re-enable them, but we want to disable
them by default as essentially no Zephyr targets are set up to
make these useful.

Signed-off-by: Keith Packard <[email protected]>
This one was missed because the ctng option is defined for the x86_64
target.

Signed-off-by: Anas Nashif <[email protected]>
This avoids smashing target-specific CPP_SPEC values.

Signed-off-by: Anas Nashif <[email protected]>
We do not build or test newlib anymore.

Signed-off-by: Anas Nashif <[email protected]>
Make sure the core gcc is built the same way as the final gcc. This
is required for x86_64, but a good idea everywhere.

Signed-off-by: Keith Packard <[email protected]>
Update qemu to 9.2.3

Signed-off-by: Anas Nashif <[email protected]>
@nashif nashif force-pushed the topic-gcc_14_2_main1 branch from 524edb9 to 1055bca Compare May 16, 2025 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants