-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix compilation errors with musl libc #83
base: develop
Are you sure you want to change the base?
Conversation
Upstream pull-requests: * ROCm/clr#83 * ROCm/hip-tests#463 Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Upstream pull-requests: * ROCm/clr#83 * ROCm/hip-tests#463 Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Upstream pull-requests: * ROCm/clr#83 * ROCm/hip-tests#463 Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Upstream pull-requests: * ROCm/clr#83 * ROCm/hip-tests#463 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Upstream pull-requests: * ROCm/clr#83 * ROCm/hip-tests#463 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Upstream pull-requests: * ROCm/clr#83 * ROCm/hip-tests#463 Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Upstream pull-requests: * ROCm/clr#83 * ROCm/hip-tests#463 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
1. According to POSIX specification, basename(3) belongs to libgen.h 2. __cpu_mask is an internal type of glibc's cpu_set implementation, not part of the POSIX definition, so musl does not support it too. Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
@gargrahul , could you check this, please? |
Hi @AngryLoki, Thank you for submitting this PR. This would address the issue, but I wouldn't want to reference this typename in the code at all. Instead, in the few places it is referenced within This would also address the musl compilation issue |
libgen.h
[1]__cpu_mask
is an internal type of glibc's cpu_set implementation, not part of the POSIX specification, so musl does not support it too.[1] https://man7.org/linux/man-pages/man3/basename.3.html