Closed vmilea closed 2 years ago
Hey @vmilea, thanks for raising this issue. Yes, looks like the objdump
binaries were indeed removed in NDK r23. We'll take a look into what's possible to support this version here. In the meantime, if you're able to NDK r21 still contains these binaries and is tested with.
In the meantime, if you're able to NDK r21 still contains these binaries and is tested with.
We've worked around it for now by pointing bugsnag.objdumpPaths
to files from an older NDK. This way we can keep using NDK r23b, which has universal binaries to drastically improve build times for our developers on Apple M1 Silicon.
We'll take a look into what's possible to support this version here.
Have you considered allowing the merged_native_libs
to be uploaded, and generating the mapping files on the server instead? This would avoid problems with the newer NDKs, and also save a lot of bandwidth (the original .so is 4-5x smaller than the mapping file when compressed).
Hi @vmilea, Thanks for the suggestion, we are looking into the approach of processing on server and we will let you know of updates. In the meantime your workaround seems like the best option here.
We didn't notice this problem for a long time since it just logs some errors, it doesn't make the gradle tasks fail.
We also seem to have just hit this. Is there any update on a fix for this @xljones?
Hi @jaltin - this is still on our backlog to review when priorities allow. In the meantime, you could consider adopting the workaround suggested above.
Hi @jaltin - this is still on our backlog to review when priorities allow. In the meantime, you could consider adopting the workaround suggested above.
@luke-belton we have avoided the fix as it caused other complications for us.
Do you have any idea of if/when this will be looked at?
@jaltin this is one of the things that we are looking into at the moment. It requires a fair amount of work and we are hoping to release something for this in the next quarter.
@jaltin this is one of the things that we are looking into at the moment. It requires a fair amount of work and we are hoping to release something for this in the next quarter.
@phillipsam Thanks for the more time specific update, it really helps in setting our expectations.
Hope you manage to get it done in the next quarter, would really be helpful.
Hi @phillipsam, just wanted to check in and see whether there were any updates on the plan for working on a fix? Just curious :) thanks.
Hey @afturner, This is still on our backlog, and has turned into an even larger piece of work that initially expected. We are working on some of the prerequisites at the moment and expect get to this soon, but we don't have any updated ETA to share at the moment.
We still have not seen the NDK symbols files being uploaded using the 7.4.0 version configured using the guide. I see this message in the log output:
Cannot detect Bugsnag SDK version for variant prodRelease, assuming a modern version is being used. This can cause problems with NDK symbols if older versions are being used. Please either specify the Bugsnag SDK version for prodRelease directly.See https://docs.bugsnag.com/api/ndk-symbol-mapping-upload/ for details.
Is this the source of the issue and if so how we can fix it?
Hi @andrei-tofan, would you mind writing in to us at support@bugsnag.com. If you would be willing to share your entire build.gradle
files that would be ideal. If thats not possible at a minimum could you include how you are configuring the BugSnag gradle plugin in your build.gradle
files.
Hi @johnkiely1, I've sent the files to support (request #43575).
Describe the bug
NDK r23 has removed GNU binutils:
The Bugsnag Android plugin can't cope, and fails when preparing symbols:
Steps to reproduce
ndkVersion 23.1.7779620
Environment