swift-server / sswg

Swift Server Working Group (SSWG)
https://swift.org/server/
183 stars 35 forks source link

Backtrace Support for arm64 #65

Open grahamburgsma opened 2 years ago

grahamburgsma commented 2 years ago

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

The issue here https://github.com/swift-server/swift-backtrace/issues/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!

Lukasa commented 2 years ago

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

0xTim commented 2 years ago

We'll discuss this and see what we can do

rnantes commented 2 years ago

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

t089 commented 2 years ago

Is there some progress?

tomerd commented 2 years ago

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