[meta-xilinx] Errors when Compiling arm-trusted-firmware
Manjukumar Harthikote Matha
manjukumar.harthikote-matha at xilinx.com
Fri Nov 18 08:55:05 PST 2016
> -----Original Message-----
> From: meta-xilinx-bounces at yoctoproject.org [mailto:meta-xilinx-
> bounces at yoctoproject.org] On Behalf Of Schmitt, Richard
> Sent: Friday, November 18, 2016 7:13 AM
> To: meta-xilinx at yoctoproject.org
> Cc: Sharma, Sunit Kumar
> Subject: [meta-xilinx] Errors when Compiling arm-trusted-firmware
>
> Meta-xilinx branch: rel-v2016.3
>
> Machine target: zcu102-zynqmp
>
> Poky branch: krogoth
>
>
>
> After upgrading to meta-xilinx rel-v2016.3 and attempting a bitbake of core-image-
> minimal (or arm-trusted-firmware), I get the following error:
>
>
>
> | AS common/aarch64/context.S
>
> | bl31/aarch64/runtime_exceptions.S: Assembler messages:
>
> | bl31/aarch64/runtime_exceptions.S:177: Error: non-constant expression in ".if"
> statement
>
> | bl31/aarch64/runtime_exceptions.S:186: Error: non-constant expression in ".if"
> statement
>
>
>
> I can work around the issue by editing arm-trusted-firmware: include/asm_macros.S
>
>
>
> And commenting out lines 102 through 105 as follows:
>
>
>
> /*
>
> * This macro verifies that the given vector doesn't exceed the
>
> * architectural limit of 32 instructions. This is meant to be placed
>
> * immediately after the last instruction in the vector. It takes the
>
> * vector entry as the parameter
>
> */
>
> .macro check_vector_size since
>
> /* .section .vectors, "ax"
>
> .if (. - \since) > (32 * 4)
>
> .error "Vector exceeds 32 instructions"
>
> .endif */
>
> .endm
>
>
>
> I know this is not a correct fix, but is a quick and easy workaround.
>
>
>
> Does anyone know what the correct fix is?
binutils issue , working on it to send a patch
>
>
>
> Thanks,
>
> Rich
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
More information about the meta-xilinx
mailing list