f9micro / f9-kernel

An efficient and secure microkernel built for ARM Cortex-M cores, inspired by L4
Other
682 stars 145 forks source link

Avoid unexpected linker messages "Conflicting CPU architectures 13/0" #68

Closed georgekang closed 10 years ago

georgekang commented 10 years ago

Fixes #61

The root cause of the issue is that the linker is assuming the wrong defaults for an object which does not have a .ARM.attributes section.

We can remove all ".ARM.attributes " before linking to avoid this noise. Please reference http://permalink.gmane.org/gmane.comp.gnu.binutils/54317