Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949724 - sys-libs/musl: llvm-runtimes/libgcc: missing __getauxval on aarch64
Summary: sys-libs/musl: llvm-runtimes/libgcc: missing __getauxval on aarch64
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM64 Linux
: Normal normal
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-14 02:45 UTC by mojyack
Modified: 2025-06-13 13:09 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,6.40 KB, text/plain)
2025-02-14 02:45 UTC, mojyack
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mojyack 2025-02-14 02:45:46 UTC
Created attachment 918902 [details]
emerge --info

libgcc_s.so produced by llvm-runtimes/libgcc contains a reference to __getauxval on aarch64, which should be defined by libc.
But musl doesn't expose it.
There is a MR for that (https://www.openwall.com/lists/musl/2023/10/12/3), but haven't merged yet.
With that patch applied to musl-1.2.5, libgcc works well on aarch64.
Comment 1 vadorovsky 2025-05-28 15:59:07 UTC
Hitting the same issue. @mojyack: Mind making a PR which applies the patch to musl?
Comment 2 mojyack 2025-05-29 01:20:23 UTC
> Mind making a PR which applies the patch to musl?
To Gentoo? Okay I'll do that.  
Should we also report this to the upstream ML?
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-05-29 21:53:56 UTC
A release is hopefully upcoming soon. I recommend replying to that ML post and pinging it. Maybe try on IRC too.
Comment 4 mojyack 2025-05-30 02:18:39 UTC
I sent a message to the ML.  
Maybe waiting for moderator approval.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-06-13 13:09:40 UTC
(In reply to mojyack from comment #4)
> I sent a message to the ML.  
> Maybe waiting for moderator approval.

https://www.openwall.com/lists/musl/2025/05/30/1