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

Arm64 Apple libs build fails, a recent regression #54505

Closed
sandreenko opened this issue Jun 21, 2021 · 1 comment · Fixed by #54506
Closed

Arm64 Apple libs build fails, a recent regression #54505

sandreenko opened this issue Jun 21, 2021 · 1 comment · Fixed by #54506
Assignees

Comments

@sandreenko
Copy link
Contributor

After #53669 the build on apple fails with:

[  0%] Building C object Native.Unix/System.Security.Cryptography.Native.Apple/CMakeFiles/System.Security.Cryptography.Native.Apple-Static.dir/pal_hmac.c.o
  /Users/seandree/git/runtime/src/libraries/Native/Unix/System.Native/pal_io.c:1491:21: error: implicit declaration of function 'preadv' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
      while ((count = preadv(fileDescriptor, (struct iovec*)vectors, (int)vectorCount, (off_t)fileOffset)) < 0 && errno == EINTR);

the command to repro:

./build.sh libs+clr -arch arm64 -c Release -runtimeconfiguration Checked
@sandreenko
Copy link
Contributor Author

link #53669 (comment) with a possible solution from @janvorli

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Jun 21, 2021
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Jun 27, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jul 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants