-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
toolchain: gcc: add support for GCC 14 #15414
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
Conversation
|
Build and run-tested:
|
|
linux-atm compilation is stop with gcc 14 : here is the patch : |
Deleted (upstreamed): - 020-Include-safe-ctype.h-after-C-standard-headers-to-avo.patch [1] - 021-libcc1-fix-vector-include.patch [2] All other patches automatically rebased. [1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=9970b576b7e4ae337af1268395ff221348c4b34a [2] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5213047b1d50af63dfabb5e5649821a6cb157e33 Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Also fix a couple of warnings while at it. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
edit: Mbed-TLS/mbedtls#9003 |
|
I am sorry after deleting and starting over my local openwrt branch, frr now compiled. |
|
@trippleflux can you make a PR for linux-atm? |
|
@neheb |
|
Fallout from updating to a newer GCC major version is undesirable, but unavoidable. In an ideal world, all packages would have already been fixed to compile without issues. In reality, it's unreasonable to expect a developer to go all over the tree, fixing each and every package that fails to build, for one reason or another (I personally don't have the time nor the storage space to do so, I can only vouch for my personal configs). |
|
Yup 3 days ago, I have finally finished my OpenWrt compilation (714 packages for x86_64) using gcc 14, experiencing some quirks on installed image but working fine so far for not heavy usage. Great job on this PR !. |
|
I think this looks fine and you can merge it if you want. We can fix the broken packages afterwards. |
|
LGTM, so feel free to merge |
|
Thanks for the feedback, everyone. I'll merge with a note stating that broken packages will be fixed as they're found. |
|
Merged, thanks once again! |
Deleted (upstreamed):
All other patches automatically rebased.
[1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=9970b576b7e4ae337af1268395ff221348c4b34a
[2] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5213047b1d50af63dfabb5e5649821a6cb157e33
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>