mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 05:20:30 +00:00
292398b585
Serenity defines a protected range of memory that must not be mmapped, and is apparently reserved for kernel tasks. In this case, the protected range is anything below 0x800000. However, in its default setting, binutils chooses the memory address 0x400000 as the mapping address for executables that do not have PIE enabled, resulting in mmap being unable to map the file unless the load address has been overwritten at link time or if it's a PIE. To mitigate this, move the default base address somewhere outside of that range (and preferably not anywhere close near the beginning of the useable virtual memory space, to avoid running into it during sequential allocations). |
||
---|---|---|
.. | ||
CMake | ||
Patches | ||
Stubs | ||
.dockerignore | ||
.gitignore | ||
BuildClang.sh | ||
BuildFuseExt2.sh | ||
BuildIt.sh | ||
BuildPython.sh | ||
BuildQemu.sh | ||
BuildRuby.sh | ||
Dockerfile | ||
README.md |
Serenity Toolchain
This directory contains all toolchain related files. E.g. build scripts for the cross compilation toolchain and build toolchain for ports.
This document previously contained outdated build instructions. Click here for the latest build instructions.