alpine-android icon indicating copy to clipboard operation
alpine-android copied to clipboard

Segfault with glibc Compatibility

Open FanelliMarco opened this issue 4 months ago • 0 comments

Hi @alvr, I'm trying to run the Android emulator headless using alpine-android but hitting glibc/musl compatibility issues. Wanted to check if this is supported or planned. Setup:

Alpine 3.21, Android API 30, x86_64 AVD created successfully with avdmanager Command: emulator -avd name -no-window -no-audio -no-boot-anim -gpu off

Issue: After installing glibc-compat packages and creating /lib64/ld-linux-x86-64.so.2 symlinks:

./emulator: Relink `/usr/lib/libbsd.so.0' with `/usr/glibc-compat/lib/libc.so.6' for IFUNC symbol `memmove'
Segmentation fault (core dumped)

I need to run multiple headless Android emulator instances for automated testing in a containerized environment, and Alpine's small footprint would be ideal if emulator support is feasible.

Have you encountered similar glibc compatibility issues?

FanelliMarco avatar Aug 06 '25 18:08 FanelliMarco