Bug 15802 - freescale_imx8qmmek_defconfig, freescale_imx8qxpmek_defconfig: Segment flags problem
Summary: freescale_imx8qmmek_defconfig, freescale_imx8qxpmek_defconfig: Segment flags ...
Status: RESOLVED MOVED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-23 22:48 UTC by Jan-Benedict Glaw
Modified: 2024-06-15 15:13 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan-Benedict Glaw 2023-09-23 22:48:56 UTC
While linking (as of ab4f3fafaa839593b3efd9ea12c8ee5d9340cdeb), two configurations face issues with unexpected segment flags:

[build 2023-09-23 19:17:37]   PP      bl31/bl31.ld.S
[build 2023-09-23 19:17:37]   LD      /var/lib/laminar/run/buildroot-freescale_imx8qmmek_defconfig/6/buildroot/output/build/arm-trusted-firmware-custom/build/imx8qm/release/bl31/bl31.elf
[build 2023-09-23 19:17:37] /var/lib/laminar/run/buildroot-freescale_imx8qmmek_defconfig/6/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-ld: warning: /var/lib/laminar/run/buildroot-freescale_imx8qmmek_defconfig/6/buildroot/output/build/arm-trusted-firmware-custom/build/imx8qm/release/bl31/bl31.elf has a LOAD segment with RWX permissions
[build 2023-09-23 19:17:37] make[1]: *** [Makefile:1105: /var/lib/laminar/run/buildroot-freescale_imx8qmmek_defconfig/6/buildroot/output/build/arm-trusted-firmware-custom/build/imx8qm/release/bl31/bl31.elf] Error 1
[build 2023-09-23 19:17:37] make[1]: Leaving directory '/var/lib/laminar/run/buildroot-freescale_imx8qmmek_defconfig/6/buildroot/output/build/arm-trusted-firmware-custom'
[build 2023-09-23 19:17:37] make: *** [package/pkg-generic.mk:293: /var/lib/laminar/run/buildroot-freescale_imx8qmmek_defconfig/6/buildroot/output/build/arm-trusted-firmware-custom/.stamp_built] Error 2

Logs at http://toolchain.lug-owl.de/laminar/jobs/buildroot-freescale_imx8qmmek_defconfig/6 and http://toolchain.lug-owl.de/laminar/jobs/buildroot-freescale_imx8qxpmek_defconfig/6 .
Comment 1 Jan-Benedict Glaw 2023-09-24 18:09:34 UTC
The same issue seems to show up for ls1028ardb_defconfig (see http://toolchain.lug-owl.de/laminar/jobs/buildroot-ls1028ardb_defconfig/6)
Comment 2 Yann E. MORIN 2024-06-15 15:13:02 UTC
Thank you for your report.

The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
    https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.

Thank you!