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

[C++] musl does not define _SC_LEVEL1_DCACHE_SIZE etc #32615

Closed
asfimport opened this issue Aug 8, 2022 · 4 comments
Closed

[C++] musl does not define _SC_LEVEL1_DCACHE_SIZE etc #32615

asfimport opened this issue Aug 8, 2022 · 4 comments
Assignees
Labels
Milestone

Comments

@asfimport
Copy link
Collaborator

Arrow 9.0.0 has new code which includes _SC_LEVEL1_DCACHE_SIZE 

introduced in commit cde5a08

 

there is a fallback function

std::ifstream cacheinfo(kCacheSizeEntries[level].sysfs_path, std::ios::in);

 

but that uses the structure with the defines in as well.

Reporter: Duncan Bellamy
Assignee: Yibo Cai / @cyb70289

PRs and other links:

Note: This issue was originally created as ARROW-17341. Please see the migration documentation for further details.

@asfimport
Copy link
Collaborator Author

Kouhei Sutou / @kou:
@cyb70289 Could you take a look at this?

@asfimport
Copy link
Collaborator Author

Yibo Cai / @cyb70289:
Sure.

@asfimport
Copy link
Collaborator Author

Yibo Cai / @cyb70289:
Thanks for the report. I think we didn't test with musl libc. But this specific issue should be easy to fix.

@asfimport
Copy link
Collaborator Author

Antoine Pitrou / @pitrou:
Issue resolved by pull request 13819
#13819

@raulcd raulcd modified the milestones: 9.0.1, 10.0.0 Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants