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

Disable pwritev and preadv for 'macos' (fixes #1588) #1590

Closed
wants to merge 2 commits into from

Conversation

rivy
Copy link

@rivy rivy commented Nov 14, 2021

Fixes #1588.

Please merge; we're using a patched vendored version until you're able to fix this...

@rivy
Copy link
Author

rivy commented Nov 14, 2021

I've added matching OS restrictions to the matching tests to help surface any future breakage.

@rivy rivy force-pushed the fix.macos-missing-symbols branch 2 times, most recently from 2a01bdb to d33ffa9 Compare November 15, 2021 03:42
rivy added a commit to rivy/rs.coreutils that referenced this pull request Nov 16, 2021
Copy link
Member

@asomers asomers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing those functions is not the solution to whatever problem you're experiencing. Those functions do exist on OSX, at least according to libc. If they in fact don't, or if they need to be linked with a different library, then you need to fix this issue in libc. We can't merge this PR until you've root-caused the issue.

@rivy
Copy link
Author

rivy commented Nov 17, 2021

I believe that you have already root-caused the issue by noting that the current version fails for OSX v10.15 (see #1588).

rivy added a commit to rivy/rs.coreutils that referenced this pull request Nov 17, 2021
rivy added a commit to rivy/rs.coreutils that referenced this pull request Nov 17, 2021
rivy added a commit to rivy/rs.coreutils that referenced this pull request Nov 17, 2021
rivy added a commit to rivy/rs.coreutils that referenced this pull request Nov 20, 2021
@rivy rivy closed this Dec 24, 2021
@rivy rivy deleted the fix.macos-missing-symbols branch January 2, 2022 02:35
@rivy rivy restored the fix.macos-missing-symbols branch January 2, 2022 02:35
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.

MacOS: Undefined symbols for architecture x86_64
2 participants