This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error L6244E generated by ARMLINK after switching from ARMCC to ARMCLANG.

Hello,

Currently, I'm working on the transition of a project initially compiled with ARMCC (for an ARMv7 architecture) and now compiled with ARMCLANG (for an ARMv8 architecture).

With ARMLINK, I get the following error:

Error: L6244E: Load region LOAD_TTB address (0x0000f800) not aligned on a 16384 byte boundary.

Below is the scatter file sample:

LOAD_TTB 0xF800 0x4800
{
  CODE_TTB AlignExpr(+0, 0x4800)
  {
    ttb.o (+RO)
  }
}

I haven't found any information (especially in the links below) on why this error occurs now and if this error is a source of faults when running a program. Or I can safely use “--diag_suppress=6244”.

Do you have a rough explanation to help me to understand, Why switching to ARMCLANG generates this error with ARMLINK?

In addition, can you highlight a related documentation?

Thanks in advance.

---

Arm Compiler for Embedded Errors and Warnings Reference Guide: https://developer.arm.com/documentation/100074/latest/

Arm Compiler armlink User Guide: https://developer.arm.com/documentation/dui0803/l/?lang=en

https://community.arm.com/support-forums/f/compilers-and-libraries-forum/54501/error-l6244e-region-not-aligned-on-cm33-secure-world-with-arm-v6-19-compiler

---

Parents Reply Children