-
Notifications
You must be signed in to change notification settings - Fork 73
Managing the upstreaming of libgccjit patches #8
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
Comments
Yup, I wanted to send all the patches I had before updating it (I just sent you the last one).
CI won't pass anything soon since I have many bugs to fix and features to implement. Were you asking because you tried running this? |
Also, I'm not sure if it would against gcc policies, but I could open PRs here for those patches to do the reviews with an easier tool than email so that it's easier to keep tracks of what issues remain and those that are resolved (I'm having a hard time figuring that out, especially with my big patch that adds the reflection API). When all issues are solved, we could then post the patch to the gcc mailing list for a final review by other people. What do you think? |
Thanks. I see that all of them are of the form "0001-*.patch" so it's not clear what order they go in. I was more thinking a But it might make more sense to instead have the readme point people at a fork of https://github.com/gcc-mirror/gcc with a branch holding the patches that are needed, so that it's trivial to see what patches still need to be merged into gcc upstream. That would probably be easier for you and other people to work with. Are you also using a forked copy of the libgccjit rust bindings? If so, maybe that should be published too, and linked to from the readme.
I did try (and failed) a few months ago. My question was more about making it easy to see what patches I need to review. You seem to be doing a great job of finding bugs and features that libgccjit doesn't implement yet, so I expect that there will be a few more patches along the way. Hope this is constructive |
Yes, this is in the I added my fork of gcc in the readme. |
By the way, I renamed the files so that they have different number prefixes: even though they cannot be applied on gcc master branch without conflicting, that will at least tell you the order in which they should be merged (which is important because they add different ABI numbers). |
As requested for the inclusion into rustc, the patches were moved out of this repository and are now in this one. |
…ister_to_gcc Add missing mappings from register classes to dummy output types
So? What's the status here? Were the patches upsteamed? Is it possible to build it with the upstream libgccjit? If not, why the issue is closed? |
This issue was opened by the maintainer of libgccjit in order to find a way to have a list of patches that were sent for review and that way was found, so that's why the issue is closed. The patches weren't merged upstream yet. |
Is there any way to track the progress of the patches being merged upstream? Some mailing list thread maybe? |
This page will list most of them (I believe there's one or 2 missing, not sure why). |
Thanks. |
Readme.md currently states that two libgccjit patches are needed, but judging by the patches you've been sending me for review I'm guessing that that's currently out of date.
Idea: have a "gcc-patches" subdirectory, containing the patches to libgccjit currently needed to build the project. Ideally the subdirectory will eventually become empty as all the support is merged into the gcc source tree, but it at least documents exactly what you're building against (and the readme probably should document exactly which revision of the gcc tree you're patching). It may help with CI, and also gives me a good at-a-glance way of seeing if I have anything of yours I need to review.
The text was updated successfully, but these errors were encountered: