-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
Open
Labels
buildThe build process and cross-buildThe build process and cross-buildtype-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
Proposal:
currently the autotools does the following check
AS_CASE([$PLATFORM_TRIPLET],
[x86_64-linux-gnu], [perf_trampoline=yes],
[aarch64-linux-gnu], [perf_trampoline=yes],
[perf_trampoline=no]
)
simply making it
AS_CASE([$PLATFORM_TRIPLET],
[x86_64-linux-gnu], [perf_trampoline=yes],
[x86_64-linux-musl], [perf_trampoline=yes],
[aarch64-linux-gnu], [perf_trampoline=yes],
[aarch64-linux-musl], [perf_trampoline=yes],
[perf_trampoline=no]
)
makes the trampoline build on musl libc systems too, and it seems to work fine: https://img.ayaya.dev/yT9j39Lfeb8u
it doesn't seem like the assembly actually depends on libc support. maybe it should check -linux-* instead?
in any case just adding the above triples seems to work ok, unless i'm missing something, so it would be nice if it was added :)
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
Metadata
Metadata
Assignees
Labels
buildThe build process and cross-buildThe build process and cross-buildtype-featureA feature request or enhancementA feature request or enhancement