-
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
Initial fixes for linux x32 #812
Conversation
@bors: r+ Thanks! |
@bors: r+ ...? |
@bors: r+ |
📌 Commit dbe6d2e has been approved by |
☔ The latest upstream changes (presumably #811) made this pull request unmergeable. Please resolve the merge conflicts. |
Thanks! I think this may need a rebase though now? |
Rebased. All green. |
@bors: r+ |
📌 Commit a5bd4b5 has been approved by |
Initial fixes for linux x32 Tested with a local build of rustc. The main test can be compiled but fails to execute (receives SIGTRAP, which I think in this case indicates memory violation, I will open an issue in the rustc repo). This PR is important because it fixes the definition of `c_long` and `c_ulong`. Without these fixes, rustc crash with the error: ``` Cannot emit physreg copy instruction UNREACHABLE executed at /checkout/src/llvm/lib/Target/X86/X86InstrInfo.cpp:5778! ``` Related rust-lang/rust#37976
💔 Test failed - status-travis |
@bors: retry |
Initial fixes for linux x32 Tested with a local build of rustc. The main test can be compiled but fails to execute (receives SIGTRAP, which I think in this case indicates memory violation, I will open an issue in the rustc repo). This PR is important because it fixes the definition of `c_long` and `c_ulong`. Without these fixes, rustc crash with the error: ``` Cannot emit physreg copy instruction UNREACHABLE executed at /checkout/src/llvm/lib/Target/X86/X86InstrInfo.cpp:5778! ``` Related rust-lang/rust#37976
💔 Test failed - status-travis |
@bors: retry
…On Thu, Oct 19, 2017 at 11:21 AM, bors ***@***.***> wrote:
💔 Test failed - status-travis
<https://travis-ci.org/rust-lang/libc/builds/290050601?utm_source=github_status&utm_medium=notification>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#812 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAD95PjcY46JjaJPefgt7xrLbe_8Y-Lzks5st3cFgaJpZM4P-Vcq>
.
|
Initial fixes for linux x32 Tested with a local build of rustc. The main test can be compiled but fails to execute (receives SIGTRAP, which I think in this case indicates memory violation, I will open an issue in the rustc repo). This PR is important because it fixes the definition of `c_long` and `c_ulong`. Without these fixes, rustc crash with the error: ``` Cannot emit physreg copy instruction UNREACHABLE executed at /checkout/src/llvm/lib/Target/X86/X86InstrInfo.cpp:5778! ``` Related rust-lang/rust#37976
☀️ Test successful - status-appveyor, status-travis |
As indicated by rust-lang/libc#812 the x32 ABI specifies the tv_nsec field as i64 instead of c_long. With this PR the time crate now successfully builds with the x86_64-unknown-linux-gnux32 target.
Tested with a local build of rustc. The main test can be compiled but fails to execute (receives SIGTRAP, which I think in this case indicates memory violation, I will open an issue in the rustc repo).
This PR is important because it fixes the definition of
c_long
andc_ulong
. Without these fixes, rustc crash with the error:Related rust-lang/rust#37976