support perf trampoline on -linux-musl
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 77.2k
- Forks
- 35.9k
- PR-Merge-Kennzahlen
- PR-Kennzahlen ausstehend
Beschreibung
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
- gh-122370
- gh-153424
- gh-153457
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Finde die im Issue beschriebene autotools-Prüfung mit AS_CASE([$PLATFORM_TRIPLET]), und überprüfe dann zuerst die verknüpften PRs gh-122370, gh-153424 und gh-153457. Bestätige die unterstützten musl-Tripel und validiere den Trampoline-Build auf den betroffenen Linux-musl-Plattformen; abgeschlossen bedeutet, dass der Build mit aktiviertem perf_trampoline erfolgreich ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- build-system, performance
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 25/100