Keil Logo

ARMCLANG: Use of LTO is disallowed in this variant of ARM Compiler


Information in this knowledgebase article applies to:

  • Keil-MDK Version 5.xx evaluation version
  • Keil-MDK Version 5.xx with free ST license
  • ARM Compiler Version 6

QUESTION

I am using Keil-MDK and would like to use the link time optimization (LTO) option of ARM Compiler Version 6.

But every time I build the project, the below error appears in the build window of µVision IDE:

Use of LTO is disallowed in this variant of ARM Compiler

ANSWER

A registered version of Keil-MDK is required to use this Compiler option.

This option is not available for either the evaluation version of Keil-MDK or the Keil-MDK registered with free ST licenses.

To request a license, contact the official local distributor.

SEE ALSO

Last Reviewed: Thursday, October 29, 2020


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.