Page MenuHomePhabricator

RME capable TF-A build fails
Open, NormalPublic

Description

On M1 in a Multipass instance RME capable TF-A build fails:

  LD      /home/ubuntu/projects/trusted-firmware-a/build/fvp/debug/bl2/bl2.elf
aarch64-none-elf-ld.bfd: warning: /home/ubuntu/projects/trusted-firmware-a/build/fvp/debug/bl2/bl2.elf has a LOAD segment with RWX permissions
make: *** [Makefile:1358: /home/ubuntu/projects/trusted-firmware-a/build/fvp/debug/bl2/bl2.elf] Error 1

Event Timeline

ikitayama triaged this task as Normal priority.Feb 10 2023, 8:39 AM
ikitayama created this task.

@hill climb racing To address this, you might want to check the linker script being used for your build. It could be that certain sections are being incorrectly marked with RWX permissions. Look for any segments that should only have read and execute permissions (RX) instead.

Great article! The insights shared are really valuable for anyone looking to improve their coding skills. As a technical professional, I always emphasize the importance of clean, efficient code and staying updated with the latest best practices. If you're working on multilingual projects or need translation support for technical documentation, International Tercüme Bürosu offers expert translation services, ensuring accuracy and clarity across all technical fields. Keep up the excellent work!