-
Notifications
You must be signed in to change notification settings - Fork 3k
Remove compatibility for Arm Compiler versions prior to 6.01.0050 #12708
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
- Add the code prior to 6.01.0050 versions.
CI started |
Test run: FAILEDSummary: 1 of 6 test jobs failed Failed test jobs:
|
Test restarted (io serial device) |
Test restarted |
@@ -1084,12 +1078,8 @@ extern "C" long PREFIX(_flen)(FILEHANDLE fh) | |||
#if !defined(COMPONENT_SPE) || !defined(TARGET_TFM) | |||
|
|||
#if !defined(__MICROLIB) | |||
#if defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050) |
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.
@evedon Wasn't #if defined (__ARMCC_VERSION)
still required here?
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.
Well spotted. @rajkan01 we need a patch
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.
There was an already existing macro guard #ifdef __ARMCC_VERSION
at https://github.com/ARMmbed/mbed-os/blob/master/platform/source/mbed_retarget.cpp#L1051, so it is not required.
Summary of changes
Removed the pre-processor directive __ARMCC_VERSION >= 6010050 and the code added for versions before 6.01.0050.
Impact of changes
Breaking change: The binary generated from ARM Compiler 5 cannot be relied on as support has been dropped.
Migration actions required
Use Arm Compiler 6
Documentation
Pull request type
Test results
Reviewers
@evedon