Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

5.0.1 fails to build on Android? #1175

@gnzlbg

Description

@gnzlbg

Currently servo failed to upgrade to jemalloc 5.0.1 due to a build failure on android.

The log is here (read from end): http://build.servo.org/builders/android/builds/11294/steps/compile/logs/stdio

jemalloc/src/background_thread.c:83:2: error: unknown type name 'cpu_set_t'
cpu_set_t cpuset;
^

Are there any peculiarities that must be taken into account to compile jemalloc 5.x on Android? Maybe the Android version we are targeting is too old and not supported by jemallocator anymore ?

Rust is also stuck on jemalloc 4.5 due to some unstable behavior with jemalloc 5 on Android (segfaults): rust-lang/rust#45163 (comment)

Maybe we are just building jemalloc on Android incorrectly ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions