-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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: CMSG_HEADER_ALIGNMENT was not properly equal to the C Header file in illumos #3171
Conversation
…e in illumos Signed-off-by: Till Wegmueller <toasterson@gmail.com>
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) soon. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
@Toasterson Have you run the libc tests with this change on x86 (and if it's functional, the in-progress ARM platform)? |
So Originally I tested by Compiling the ARM rustc cross compiler and compiling my Rust programs for aarch64. (The rustc aarch64 target-spec is waiting for this PR to complete) I now ran the tests and found a bug in the tests. GCC tries to compile a main.c file to get I get
@pfmooney did we recently change some things in the API's there? because the C file generated tries to find all the API's like automake does just all in one big C file. So there needs to be a header definition added to that file I think |
In general it seems wrong to me that the C file looks for |
The failure seems unrelated anyway, @bors r=JohnTitor,pfmooney |
fix: CMSG_HEADER_ALIGNMENT was not properly equal to the C Header file in illumos A small fix for illumos so we can add more archs to the definition. This aligns the defintions in libc with the corresponding C Headers. I ran all the steps it asked me and only got an issue with `cc1: note: unrecognized command-line option '-Wno-unknown-warning-option' may have been intended to silence earlier diagnostics` although that seems to me like I am using a different gcc that CI. This is part of the ARM work goin on at the moment. CC: `@richlowe` and `@jclulow` for coordination.
💔 Test failed - checks-actions |
@bors retry |
☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14 |
A small fix for illumos so we can add more archs to the definition. This aligns the defintions in libc with the corresponding C Headers.
I ran all the steps it asked me and only got an issue with
cc1: note: unrecognized command-line option '-Wno-unknown-warning-option' may have been intended to silence earlier diagnostics
although that seems to me like I am using a different gcc that CI.This is part of the ARM work goin on at the moment.
CC: @richlowe and @jclulow for coordination.