Passing big structs by value fails on hppa-linux
John David Anglin
dave.anglin@bell.net
Sun Sep 26 22:16:03 GMT 2021
This change
commit 43e4ad4d7b4bcc87ee447736a1172b2801a47908 (HEAD, refs/bisect/bad)
Author: Anthony Green <green@moxielogic.com>
Date: Thu Jul 29 07:55:59 2021 -0400
Test passing structs by value
exposed a problem on the hppa linux port:
Running ../../libffi/testsuite/libffi.call/call.exp ...
FAIL: libffi.call/struct_by_value_big.c -W -Wall -Wno-psabi -O0 execution test
FAIL: libffi.call/struct_by_value_big.c -W -Wall -Wno-psabi -O2 execution test
Currently, the code assumes that structs larger than 8 bytes are passed by hidden reference.
Probably, this has broken builds of python_cffi, etc.
Dave
--
John David Anglin dave.anglin@bell.net
More information about the Libffi-discuss
mailing list