From cadde71480b6950d0b2984e3f25842c53b3c8a1a Mon Sep 17 00:00:00 2001 From: Yonatan Goldschmidt Date: Sun, 1 May 2022 17:37:49 +0300 Subject: [PATCH] Downgrade staticx 0.12.1 for x86_64 --- exe-requirements.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/exe-requirements.txt b/exe-requirements.txt index e9b0943ef..af9286b5c 100644 --- a/exe-requirements.txt +++ b/exe-requirements.txt @@ -4,4 +4,10 @@ pyinstaller==4.0; platform.machine == "x86_64" # see https://github.com/pyinstaller/pyinstaller/issues/5540 pyinstaller==4.10; platform.machine == "aarch64" # for aarch64 we build a slightly patched version -staticx==0.13.6; platform.machine == "x86_64" +# I tried upgrading to 0.13.6 but it crashes when the botoloader is run as non-root :/ +# I got this error in gdb: +# (gdb) run +# Starting program: /path/to/build/x86_64/gprofiler +# During startup program terminated with signal SIGSEGV, Segmentation fault. +# staying with 0.12.1 for the mean time... +staticx==0.12.1; platform.machine == "x86_64"