-
-
Notifications
You must be signed in to change notification settings - Fork 411
Attempt to fix CircleCi #2048
Attempt to fix CircleCi #2048
Conversation
src/core/time.d
Outdated
| foreach(T; _TypeTuple!(Duration, const Duration, immutable Duration)) | ||
| { | ||
| foreach(U; _TypeTuple!(Duration, const Duration, immutable Duration)) | ||
| foreach(U; _TypeTuple!(Duration, /*const Duration,*/ immutable Duration)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know why this doesn't work anymore when compiled with -cov :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the first build that failed: https://circleci.com/gh/dlang/druntime/1607
So probably this is due to:
(and something else as #2032 did pass merge being merged - interestingly #2044 did pass too)
|
This failure is bizarre. Can you print out what the value is if they are not equal? |
|
I wonder if it has something to do with the |
|
|
I see no reason why this should be failing, especially when
It's been discussed before. I would be nice, but it's too expensive. |
It can be opt-in - problem solved! |
|
I investigated this a bit: this code fails in the second iteration: but works if either -cov or -fPIC is removed. This disassembly shows that an instruction is omitted: |
|
Well who know what that backend does, some stale com-subs or whatever, the IR gen for coverage looks ok though. |
|
I suspect that the switch from static to global symbol has uncovered the bug, because it now uses an additional indirection. |
|
@MartinNowak thanks for adding your more specific workaround and I would love to approve it, but it seems like GitHub doesn't allow me to approve my own PRs :/ |
|
Urgh now Jenkins is failing, but the temporary fix is on the merge queue: dlang/ci#132 So I'm force-merging this PR here. |
Start to dig into the CircleCi failures seen here:
rt_dmain2#2046 (comment)Reproducible locally with:
Failure: