There is an updated pull request by tornaria against master on the void-packages repository https://github.com/tornaria/void-packages pari https://github.com/void-linux/void-packages/pull/32453 pari: update to 2.13.2. - enable pthreads build - switch gp binary to static link libpari; this offsets the slowdown due to pthreads - ship the static library, so external programs can static link Rationale: - pthreads gives an interesting functionality, and recent versions of giac require pari with tls; sagemath requires pari with pthreads. - The cost for enabling pthreads is quite high, on the order of 30-40% for some tests; -flto saves maybe 1-2% at most. - On the other hand, switching to static binary yields some savings on the order of 5-10% - More important: the cost of enabling pthread with -flto for a static binary is only about 5-10% - In summary: enabling pthread while switching to static is roughly the same speed as current binary, with an interesting feature (esp. if one has many cores) and apparently better compatibility. - Shipping static library as well is easy and allows for external code linking to the static library. @sgn: if you agree, I am willing to take over maintainership. I have used pari for 25+ years, and I use it almost daily. #### Have the results of the proposed changes been tested? - [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me A patch file from https://github.com/void-linux/void-packages/pull/32453.patch is attached