-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
gcc: Update coroutine header from master #8263
Conversation
What is build.cmd? |
Oops, that was careless. It's just something I keep around locally for invoking bash commands from a cmd.exe environment. I'll replace the commit. |
will this be in 10.3 (next week)? |
No, not as far as I can see. As of the advertised commit the first of the three commits in my PR had been cherry-picked to the 10.3 release candidate, and the other two commits had not. |
Ah, releases/gcc-10 is the rc branch. Same deal there: just the first patch has been cherry-picked. |
I've mentioned it on the gcc mailing list. |
Given the upstream feedback do you still think we should backport this? |
Yes, I think so, after we land 10.3. Users will be better served by having something that works, even if it means they need to recompile when the 'final' ABI is settled, potentially in version 10.4. (Just my opinion.) |
ok, sounds good |
Use github source
gcc update in #8320 |
Updated and rebased onto Astrum-polaris:updates. |
Fixed, I think. Hope this helps. Here are some notes on what's in my commit. Commits to libstdc++-v3/include/std/coroutine (in reverse chronological order) from
The merge base is [A]. The fix is [D]. It's easiest to include [C] as well. Here's what I've done: In gcc repo
There are now 4 patches for #8263 but in effect they just cherry pick two commits ([C] and [D]). In MINGW-packages repo
|
Thanks. We will likely wait a bit after 10.3 to rule out any regressions before patching more. Please be patient :) |
This is in 11.1 (next week, maybe). I think it can wait until then. |
Third patch prevents multiple definition errors when including header "coroutine" in more than one translation unit. Applying the other two intermediate commits to simplify patch management.