Comnpiling google-perftools on arm64 fails with an error: src/stacktrace.cc:230:2: error: Cannot calculate stack trace: will need to write for your environment There might be an easy fix aside from disabling the port for arm64. The package includes several stack trace implementations, one of which might be useful.
(In reply to John F. Carr from comment #0) Unfortunately, I don't have arm here. Are you able to provide the patch?
Created attachment 202339 [details] Possible fix This is an untested fix. I verified it causes libunwind to be added as a dependency. I don't want to build binutils, which is a prerequisite for libunwind, so I can't test. I will look for a better fix that doesn't lead to dependency hell.
Created attachment 202347 [details] patch it builds with this patch, but the tests aren't so good: ============================================================================ Testsuite summary for gperftools 2.7 ============================================================================ # TOTAL: 45 # PASS: 21 # SKIP: 0 # XFAIL: 0 # FAIL: 24 # XPASS: 0 # ERROR: 0