Page MenuHomePhabricator

Build error: TF-M build fails for gcc version 6.3 for CoreTest configuration
Closed, ResolvedPublic


build/app/s_veneers.o: section `.TFM_SP_CRYPTO_STACK' can't be allocated in segment 15
collect2: error: ld returned 1 exit status

Event Timeline

matetothpal triaged this task as Normal priority.Jan 21 2019, 2:34 PM
matetothpal created this task.

If a section is empty, and '.' is aligned in the section, the gcc linker returns a warning.

To avoid this warning for the .text, .data and .bss sections of the secure partitions, the alignment of '.' have to be moved outside of the section.

This needs to be merged, it has been open for months and the issue is being reported by Summer as well.

matetothpal closed this task as Resolved.Jul 11 2019, 11:42 AM

The change for this issue had been merged