Message375511
Yes, it doesn't appear that it will be solved in libffi. I don't fully understand the need for the work-around because it should gracefully overflow to the stack. I can't tell if the issue is a problem with arguments passed by value that need to be passed partially in registers and partially in the stack.
But if the work-around is necessary, it is target- and ABI-dependent: the number of arguments passed in registers is target- and ABI-dependent. Implementing a work-around solely based on x64 ABI is not correct. The ctypes stgdict.c code needs to define MAX_STRUCT_SIZE based on the target, at least for the targets that experience the problem. |
|
Date |
User |
Action |
Args |
2020-08-16 15:20:27 | David.Edelsohn | set | recipients:
+ David.Edelsohn, vinay.sajip, ronaldoussoren, amaury.forgeotdarc, belopolsky, meador.inge, eryksun, Michael.Felt, Ayappan, BTaskaya, sanket, T.Rex |
2020-08-16 15:20:27 | David.Edelsohn | set | messageid: <1597591227.09.0.246346146346.issue38628@roundup.psfhosted.org> |
2020-08-16 15:20:27 | David.Edelsohn | link | issue38628 messages |
2020-08-16 15:20:26 | David.Edelsohn | create | |
|