Skip to content

Segfault with glibc Compatibility #36

@FanelliMarco

Description

@FanelliMarco

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions