swift-server/sswg

Backtrace Support for arm64

grahamburgsma opened this issue ยท 5 comments

Now that there are official arm docker images, it seems appropriate to also have backtrace support.

The issue here swift-server/swift-backtrace#19 from October 2019 requests support for it, but it doesn't look like there has been much progress on it.

Is there anything the SSWG can do to push that forward? I've been running a production Vapor app on AWS Graviton and have been missing the backtrace support for a couple of difficult to find crashes.

Thanks!

I think this is a reasonable thing to ask of the SSWG, yeah.

0xTim commented

We'll discuss this and see what we can do

+1 for this feature it is a big pain point for me

t089 commented

Is there some progress?

I have not had time to look into this in too many details, but I suspect this is mostly a build issue. libbacktrace should be usable on arm64, but this packages picks and chooses the relevant files from the project and builds them with SwiftPM. if anyone has cycles, the idea would be to figure out what the build setup on arm64 should look like and then update the SwiftPM configuration to include the right files under that architecture