valgrind: use @Lzhiyong's align_fix.py to fix underaligned TLS segment
Otherwise we get: $ valgrind error: "valgrind": executable's TLS segment is underaligned: alignment is 8, needs to be at least 64 for ARM64 Bionic Aborted
This commit is contained in:
parent
8a82ee521d
commit
38ffdd9187
@ -27,3 +27,10 @@ termux_step_pre_configure() {
|
||||
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
termux_step_post_massage() {
|
||||
termux_download https://github.com/Lzhiyong/termux-ndk/raw/902f483485b4/patches/align_fix.py \
|
||||
$TERMUX_PKG_CACHEDIR/align_fix.py \
|
||||
83579beef5f0899300b2f1cb7cfad25c3ee2c90089f9b7eb83ce7472d0e730bd
|
||||
python3 $TERMUX_PKG_CACHEDIR/align_fix.py bin/valgrind
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user