Merge bitcoin/bitcoin#33674: ci: Doc ASLR workaround for sanitizer tasks
fa0e36156cci: Doc ASLR workaround for sanitizer tasks (MarcoFalke) Pull request description: Fixes https://github.com/bitcoin/bitcoin/issues/30674 ACKs for top commit: fanquake: ACKfa0e36156cTree-SHA512: 9811a35526c707a6b2438e4f15d1ea765c9ecf1786cb37cd23e3bc5d65a25623f276a74b4a70c24492126a87514845111741290fc3095206decf17ee2c52dd2a
This commit is contained in:
1 file changed
+8
@@ -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