-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
temp work-around for 32-bit inference failure (#29923) #30032
Conversation
Won't we just merge this and then forget about it? |
Shouldn't |
Yes, it should. I had the logic inverted previously and only half fixed it! |
e28b7c0
to
ce1a51a
Compare
I'm not aware of a good way to do that for
Possibly but it's been a week with all 32-bit CI failing, which is not acceptable. I've pinged the entire compiler team on Slack but gotten no response. @JeffBezanson, @vtjnash, @Keno, can someone at least comment if they're looking at #29923 or not? |
Agreed, this is probably for the best to not waste everyones time looking at CI logs. |
ce1a51a
to
84c8654
Compare
I agree we should temporarily disable this. We don't know how to fix this. It has come up before and we've never fully figured it out, so there's no estimate of how long it will take to fix. |
Alternatively, we keep the test and do --- a/base/int.jl
+++ b/base/int.jl
@@ -775,7 +775,7 @@ if Core.sizeof(Int) == 4
return Int128(rem(BigInt(x), BigInt(y)))
end
function rem(x::UInt128, y::UInt128)
- return UInt128(rem(BigInt(x), BigInt(y)))
+ return UInt128(rem(BigInt(x), BigInt(y)))::UInt128
end
function mod(x::Int128, y::Int128) Here, I'd like to point out that (on 32bit systems), we have two definitions in Lines 770 to 772 in e209c3d
Lines 777 to 779 in e209c3d
So by adding the type assertion to the second one, too, we then have covered "all" of them. Therefore, one may hope for these test failures not to show up again. It is still more of a work-around than a fix, though. |
Even though I'm experimenting with an alternative over in #30050, I'm in favour of merging this ASAP to get CI back up and then investigate further. |
Unrelated (?) Profile test failure on AV 32-bit. |
Restarting AV given that the whole point of this PR is to fix CI, so I'd like to see it actually pass. |
all green 👍 |
No description provided.