mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-21 16:32:45 -09:00
721e51f58a5477c5eccc9d2a41c6c7ee5e5529e3
Qemu in user mode cannot load target binaries laid out for 4k pages when the host uses larger pages, as the 16k pages of the Asahi Linux kernel on Apple Silicon. The dynamic loader then fails with e.g.: GLib-2.0: error while loading shared libraries: libz.so.1: failed to map segment from shared object or, depending on the target: qemu-aarch64: .../GLib-2.0: Error mapping file: Invalid argument torque: error while loading shared libraries: libz.so.1: ELF load command address/offset not page-aligned This hits every package running target code through qemu at build time, i.e. gobject-introspection and nodejs, on mips, sparc64 and aarch64 alike, and is not something Buildroot can fix in the packages themselves. As this only depends on the build host, reject such configurations in genrandconfig when the host page size is larger than 4k. Fixes: https://autobuild.buildroot.org/results/4848e735fe83dfeef4f24d32655c567951fd113a (mips) https://autobuild.buildroot.org/results/089ddac5bdaaf5650cbc5c26d48952b5bede0ca6 (sparc64) https://autobuild.buildroot.org/results/c30c6719a0350370ebe3cfe262123727f4057734 (aarch64) Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
…
…
…
…
…
…
…
…
…
Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation. The documentation can be found in docs/manual. You can generate a text document with 'make manual-text' and read output/docs/manual/manual.text. Online documentation can be found at https://buildroot.org/docs.html To build and use the buildroot stuff, do the following: 1) run 'make menuconfig' 2) select the target architecture and the packages you wish to compile 3) run 'make' 4) wait while it compiles 5) find the kernel, bootloader, root filesystem, etc. in output/images You do not need to be root to build or run buildroot. Have fun! Buildroot comes with a basic configuration for a number of boards. Run 'make list-defconfigs' to view the list of provided configurations. Please feed suggestions, bug reports, insults, and bribes back to the buildroot mailing list: buildroot@buildroot.org You can also find us on #buildroot on OFTC IRC. If you would like to contribute patches, please read https://buildroot.org/manual.html#submitting-patches
Description
Languages
Makefile
62.2%
Python
19.4%
C
8.4%
Shell
6.1%
PHP
1.4%
Other
2.1%