-
Notifications
You must be signed in to change notification settings - Fork 721
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
RISC-V: backport libffi commit aa3fce08 #14699
RISC-V: backport libffi commit aa3fce08 #14699
Conversation
This commit backports changes in upstream libffi, namely change in commit commit aa3fce08ba620c50db17215a9f14dd0f1facf741 Author: Andreas Schwab <schwab@linux-m68k.org> Date: Sun Feb 13 21:04:33 2022 +0100 This change properly widens integral return value narrower than XLEN bits as documented [1]. Changes done in OpenJ9 commit 4c0adb depend on this (documented) libffi behavior. [1]: https://github.com/libffi/libffi/blob/ab1677106605aba1c27665964ff90bea59612ce3/doc/libffi.texi#L216-L221
f5fb8c4
to
d51d8b6
Compare
FYI: @ChengJin01 , @pshipton , @sxa |
Hi @janvrany, what we usually do is to get the last version of |
@ChengJin01 The fix is already merged in upstream: libffi/libffi#680 The OpenJ9 version of In any case, I can copy the upstream version, add IBM copyright (I guess that's required) and change That being said, if you now update whole libffi from upstream, nothing will break and there will be no inconsistency. |
We have a bunch of settings in |
This is exactly what I did. |
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.
Looks reasonable to me but since I'm not an openJ9 committer I don't believe my review counts ;-)
FYI: @tajila, @DanHeidinga, @gacholio |
Would it make sense to reimport the project wholesale? |
@gacholio I do not know, but given that it is already a patchwork I'm not sure is it worth. I'm certainly not keen reimporting it myself. |
This commit backports changes in upstream libffi, namely change in
commit
commit aa3fce08ba620c50db17215a9f14dd0f1facf741
Author: Andreas Schwab schwab@linux-m68k.org
Date: Sun Feb 13 21:04:33 2022 +0100
This change properly widens integral return value narrower than
XLEN bits as documented 1. Changes done in OpenJ9 commit 4c0adb4 (see #14610)
depend on this (documented) libffi behavior.