public inbox for libffi-discuss@sourceware.org
 help / color / mirror / Atom feed
* Passing big structs by value fails on hppa-linux
@ 2021-09-26 22:16 John David Anglin
  0 siblings, 0 replies; only message in thread
From: John David Anglin @ 2021-09-26 22:16 UTC (permalink / raw)
  To: libffi-discuss

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-26 22:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-26 22:16 Passing big structs by value fails on hppa-linux John David Anglin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).