Hi All
All of our projects developed with MCUXpresso V11.4 fail to link after moving to V11.5 due to overlapping areas generated by the linker.
It looks like it is due to the use of SIZEOF() in linker scripts no longer works. Eg.
__fast_load_end__ = __fast_load_start__ + SIZEOF(.fast);
Instead of SIZEOF() returning the size of a region it looks to always return 0 and therefore all of the layout is incorrect, with multiple regions being located at the same start address.
Is SIZEOF() something that no longer operates and has it been replaced with a new syntax or been dropped?
Presently moving back to V11.4 solves the problem but it seems strange that such a change was done on purpose in MCUXpressor or the GCC version it uses. Is this a known issue?
Regards
Mark
Hi
Please let us know your chip part number thus we can assign right engineer for your issue.
Thanks
Jun Zhang
Hi
It is not part dependent. It happens with all Kinetis and all i.MX RT based projects and seems to be a change/error with the GCC linker used.
Regards
Mark
Hi,
We tried a simple hello world project on RT, no linker error, no problems encountered on SIZEOF:
Can you please elaborate what "fail to link" means? Better to provide an example with what you've tried, what it fails.
Regards,
MCUXpresso IDE Support