Skip to content
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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

AngryLoki
Copy link

  1. According to POSIX specification, basename(3) belongs to libgen.h[1]
  2. __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

AngryLoki added a commit to AngryLoki/gentoo that referenced this pull request May 22, 2024
Upstream pull-requests:
* ROCm/clr#83
* ROCm/hip-tests#463

Signed-off-by: Sv. Lockal <[email protected]>
littlewu2508 pushed a commit to littlewu2508/gentoo that referenced this pull request May 23, 2024
Upstream pull-requests:
* ROCm/clr#83
* ROCm/hip-tests#463

Signed-off-by: Sv. Lockal <[email protected]>
@chrispaquot chrispaquot requested a review from gargrahul as a code owner May 23, 2024 23:47
AngryLoki added a commit to AngryLoki/gentoo that referenced this pull request Jun 11, 2024
Upstream pull-requests:
* ROCm/clr#83
* ROCm/hip-tests#463

Signed-off-by: Sv. Lockal <[email protected]>
negril pushed a commit to negril/gentoo that referenced this pull request Jun 25, 2024
Upstream pull-requests:
* ROCm/clr#83
* ROCm/hip-tests#463

Signed-off-by: Sv. Lockal <[email protected]>
Signed-off-by: Paul Zander <[email protected]>
negril pushed a commit to negril/gentoo that referenced this pull request Jun 25, 2024
Upstream pull-requests:
* ROCm/clr#83
* ROCm/hip-tests#463

Signed-off-by: Sv. Lockal <[email protected]>
Signed-off-by: Paul Zander <[email protected]>
negril pushed a commit to negril/gentoo that referenced this pull request Jun 25, 2024
Upstream pull-requests:
* ROCm/clr#83
* ROCm/hip-tests#463

Signed-off-by: Sv. Lockal <[email protected]>
gentoo-bot pushed a commit to gentoo/gentoo that referenced this pull request Jun 26, 2024
Upstream pull-requests:
* ROCm/clr#83
* ROCm/hip-tests#463

Signed-off-by: Sv. Lockal <[email protected]>
Signed-off-by: Sam James <[email protected]>
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 <[email protected]>
@AngryLoki
Copy link
Author

@gargrahul , could you check this, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant