prebuild / docker-images

Docker images for cross compiling prebuilt binaries for Node.js native addons.
GNU General Public License v3.0
10 stars 7 forks source link

Add Android ARMv8 support #14

Closed christianbundy closed 4 years ago

christianbundy commented 4 years ago

Problem: When installing Leveldown on the Google Pixel XL I noticed that it's complaining that it cannot locate symbol "_Unwind_Resume".

Solution: I don't know why this is happening, but I'm wondering whether a prebuild would solve the problem. This commit adds Android ARMv8 support, which I think should work as a prebuild on my device. I'm a bit out of my element and wouldn't be surprised if this is the wrong move.

See: https://github.com/Level/leveldown/issues/705

vweevers commented 4 years ago

The names "arm64" and "armv8" are often used interchangeably. Technically armv8 is an architecture that supports both 32-bit and 64-bit instruction sets. Or you could say, an arm64 prebuild requires 64-bit support and therefor only works on armv8 or later.

Long story short, we already have this image, as prebuild/android-arm64.

christianbundy commented 4 years ago

Wonderful, thanks for teaching me that!