This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Solving_warning_message

Hello,

 

Did anyone could help me how can I solve this warning message:

 

>> warning: creating output section $build.attributes without SECTIONS
            specification

 

 

 

  • Which version of the compiler are you using and for which target?

    The warning generated by the linker in this case is a bug. Usually the linker reports such warnings when it finds input sections that don't match any of the output SECTION specifier in the linker command file, but the warning makes sense only when the linker generated output section is allocated in memory. The section $build.attributes is not allocated in memory and hence should not trigger this warning. It is ok to ignore the warning.

    This has been fixed in more recent versions of the compiler tools, so you should not see the warning if you update to the latest version of the compiler available for your target device.