-
Notifications
You must be signed in to change notification settings - Fork 3k
Tools: check for GCC 9, rather than 6 #10618
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
@kjbracey-arm, thank you for your changes. |
Thanks @mark-edgeworth for quick review! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initial approval for the update, it has been due.
Docs and CI needs to have this update integrated
@kjbracey-arm Any reason for jumping straight to GCC 8? (Can dig up older Travis CI builds if needed) |
No specific reason, beyond it being the current version, and not totally new and raw (ARM embedded release was in December, first update release due in June). And a general assumption that newer = better. (I'm optimistic sometimes!) I don't see any particular merit in choosing an old version to test against, unless we do actually know of problems with GCC 8. In terms of features, LTO is usable in GCC 7, but I don't know if GCC 7 is sufficient for ARMv8-M CMSE. It probably is, but can anyone confirm? |
Also, I was comparing against IAR and ARM Compiler 6, where both versions we're using are of similar age to the GCC 8 ARM embedded release, so it felt like making it catch up. |
I've checked Travis, it fetches still 6.x version - it should be updated and we can compare the time to older logs |
@0xc0170 @kjbracey-arm Not conclusive by any means, but it was an interesting to observe. Also, for updating the GCC version, you should only need to change this line: https://github.com/ARMmbed/mbed-os/blob/master/tools/test/travis-ci/functions.sh#L62 |
Hi Any update ? GCC6 cannot compile TFM. |
@kjbracey-arm Can you update? What about CI update, tracking issue for this to happen? |
We have a JIRA PREQ: https://jira.arm.com/browse/ISGDEVPREQ-1487 - no tasks created there yet, and not sure what planning status is for the CI guys. |
@bulislaw @kjbracey-arm @Patater While analysing the issue I observed that we are using v7-M FPU flags for v8-M as well. The issue is not seen with GCC7. Can we prioritise this PR and switch to either GCC7 or GCC8? |
@Devran01 Please update also ticket 1487 referenced above in our internal tracker. I would like to understand what we are doing with this update in the next release or we don't. |
@0xc0170 I've updated https://jira.arm.com/browse/ISGDEVPREQ-1487 with relavent details. |
GCC version updated in CI. Triggering CI for this. |
I think this can proceed to merge now. CI is on GCC 8, and I'm seeing the warnings in the logs. |
CI started |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
@OPpuolitaival Just to confirm, this is ready for integration ? |
We can merge this from my point of view |
Does that need to be updated to 9? |
I would probably wait for 9 to be out at least one more quarter as it was just released. @kjbracey-arm what do you think? |
I have no particularly strong feelings. If specifying 9, would we be open to moving to requiring later update releases based on 9 during LTS? If so, taking the first 9 is probably no biggy. This should just follow whatever decision is being made - let me know :) |
@kjbracey-arm This shall be updated to 9 version and CI started to get in 5.15? |
Will do. |
Planning to update to supporting GCC 9 as found in GNU Tools for Arm Embedded Processors 9-2019q4-major. Newer GCC in particular supports ARMv8-M security extensions, and link-time optimisation - two areas of interest. Should be no code changes required, but need to change the warning in the toolchain script.
CI started |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
Description
Planning to update to supporting GCC 9 as found in GNU Tools for Arm Embedded Processors 9-2019q4-major.
Newer GCC in particular supports ARMv8-M security extensions, and link-time optimisation - two areas of interest.
Should be no code changes required, but need to change the warning in the toolchain script.
Docs update: ARMmbed/mbed-os-5-docs#1073
Pull request type
Reviewers
@bulislaw
Release Notes