I have taken an LPC1788 project which has been ported for Crossworks and tried to get it to compile. However, I get the following errors:
/opt/Rowley/ARM2.07/gcc/bin/ld: THUMB Flash Debug/ppcu.elf section `.text.libc' will not fit in region `UNPLACED_SECTIONS' /opt/Rowley/ARM2.07/gcc/bin/ld: section .text.libc loaded at [00000000,0000012b] overlaps section .vectors loaded at [00000000,000000e3] /opt/Rowley/ARM2.07/gcc/bin/ld: section .init loaded at [000000e4,00000283] overlaps section .text.libc loaded at [00000000,0000012b] /opt/Rowley/ARM2.07/gcc/bin/ld: section .text.libdebugio_bkpt loaded at [0000012c,00000143] overlaps section .init loaded at [000000e4,00000283] /opt/Rowley/ARM2.07/gcc/bin/ld: region `UNPLACED_SECTIONS' overflowed by 329 bytes
The map file tells me .text.libc is in lib/libc_v7m_t_le.a and another couple of, what seems to me, to be precompiled libraries. .init loaded and .text.libdebugio_bkpt are also in .a files.
This `UNPLACED_SECTIONS’ error, is apparently to do with the issue reported above where .text.libc has not been defined in the linker file.
Does anyone know why this error is occurring in something that has already been successfully ported to Crossworks please? More importantly, I suppose, is how I can fix it?