Skip to content

Unable to build trusted firmware - A with SDK tool chain 1.0 #1123

Description

@soumya-TI

Running the following command to build a TI platform:
make ARCH=aarch64 CROSS_COMPILE=/home/a0498701local/zephyr-sdk-1.0.0/gnu/aarch64-zephyr-elf/bin/aarch64-zephyr-elf- PLAT=k3low TARGET_BOARD=am62lx

(.vectors+0x430): relocation truncated to fit: R_AARCH64_CONDBR19 against `.text.asm.sync_exception_handler'
(.vectors+0x438): relocation truncated to fit: R_AARCH64_CONDBR19 against `.text.asm.sync_exception_handler'
(.vectors+0x440): relocation truncated to fit: R_AARCH64_CONDBR19 against `.text.asm.sync_exception_handler'
(.vectors+0x448): relocation truncated to fit: R_AARCH64_CONDBR19 against `.text.asm.imp_def_el3_handler'
/home/a0498701local/Work_2/zspace/downstream/zephyrproject/modules/tee/tf-a/trusted-firmware-a/build/k3low/release/bl31/runtime_exceptions.o: in function `sync_exception_aarch32':
(.vectors+0x630): relocation truncated to fit: R_AARCH64_CONDBR19 against `.text.asm.sync_exception_handler'
(.vectors+0x638): relocation truncated to fit: R_AARCH64_CONDBR19 against `.text.asm.sync_exception_handler'
(.vectors+0x640): relocation truncated to fit: R_AARCH64_CONDBR19 against `.text.asm.sync_exception_handler'
(.vectors+0x648): relocation truncated to fit: R_AARCH64_CONDBR19 against `.text.asm.imp_def_el3_handler'

truncation issues are found.

However the 0.17 version is able to build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions