2 years, 6 months ago.

Compilation error

When i try to compile a project i often get one of those error messages : Error: The build system did not finish successfully. Error: Warning: L3912W: Option 'legacyalign' is deprecated. Sometime when i run a "build all", the error disappear. But then if i just do a dummy change (space somewhere) in my code and try to compile, it goes wrong.

I'm quite confused since the compilation of some projects did work 2 days ago and is know impossible.

I'm working on a Aconno acnSENSA and the compiler target is a nRF52 DK.

1 Answer

2 years, 6 months ago.

Hi Emmanuel,

A tools update was rolled out on Wednesday that broke the builds for a few targets. In addition, there were some server loading issues that caused intermittent failures that led to inconsistency in builds.

For the nRF52_DK, your working builds were likely generating an executable that didn't execute correctly if it relied on the Nordic SoftDevice. That issue has been corrected today (please see: https://github.com/ARMmbed/mbed-os/issues/10247).

Please let us know if you have build issues or your images are not executing properly. If you have upgraded to use Mbed OS v5.12 you are now building with Arm Compiler 6 (previously Arm Compiler 5 was the default). So if you examine the assembly code of your project or run it with a debugger, you might notice some rather stark differences.


Ralph, Team Mbed