mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-18 00:23:38 +01:00
ci: Doc ASLR workaround for sanitizer tasks
This commit is contained in:
@@ -20,6 +20,14 @@ requires `bash`, `docker`, and `python3` to be installed. To run on different ar
|
|||||||
sudo apt install bash docker.io python3 qemu-user-static
|
sudo apt install bash docker.io python3 qemu-user-static
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For some sanitizer builds, the kernel's address-space layout randomization
|
||||||
|
(ASLR) entropy can cause sanitizer shadow memory mappings to fail. When running
|
||||||
|
the CI locally you may need to reduce that entropy by running:
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo sysctl -w vm.mmap_rnd_bits=28
|
||||||
|
```
|
||||||
|
|
||||||
It is recommended to run the ci system in a clean env. To run the test stage
|
It is recommended to run the ci system in a clean env. To run the test stage
|
||||||
with a specific configuration,
|
with a specific configuration,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user