From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cmx-torrgo001.bell.net (mta-tor-001.bell.net [209.71.212.28]) by sourceware.org (Postfix) with ESMTP id 57D0F3858C60 for ; Sun, 26 Sep 2021 22:16:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 57D0F3858C60 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=bell.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=bell.net X-RG-CM-BuS: 0 X-RG-CM-SC: 0 X-RG-CM: Clean X-Originating-IP: [70.52.221.220] X-RG-Env-Sender: dave.anglin@bell.net X-RG-Rigid: 60C886880626B0CC X-CM-Envelope: MS4xfMvn2wBbHj+quQXn4PiOt0spc2jCrv3Db8ZiocnfWsS6jRn5VHr1fMIoMZJEGrmJOoND29O9w+8g51RAAXA2AONyLHzxqmMoS+ji+MxIUSIjjCYjkzRZ DXrOSAhx8P9CnJU3AAU49B6rWqNYe4o90RMHwioqxK7qKJF0I/rzkCTWf968sAVHVVlYoTHJMyUAmwO5ZIHaB2tX2ucGhi5i5V767wxgQpwNB70bNqxQ/6ot 595YZDIIdgpE3CplKrOwmA== X-CM-Analysis: v=2.4 cv=Udwy9IeN c=1 sm=1 tr=0 ts=6150f122 a=YO5NLpPX/y/Fbmk87HoZTg==:117 a=YO5NLpPX/y/Fbmk87HoZTg==:17 a=IkcTkHD0fZMA:10 a=p4D-Ht2GAAAA:8 a=FBHGMhGWAAAA:8 a=pry1z24Sz3m9tgNVLjkA:9 a=QEXdDO2ut3YA:10 a=-Hb3TDFouGTP5sTg7LsH:22 a=9gvnlMMaQFpL9xblJ6ne:22 Received: from [192.168.2.49] (70.52.221.220) by cmx-torrgo001.bell.net (5.8.716.03) (authenticated as dave.anglin@bell.net) id 60C886880626B0CC; Sun, 26 Sep 2021 18:16:02 -0400 To: libffi-discuss@sourceware.org From: John David Anglin Subject: Passing big structs by value fails on hppa-linux Message-ID: <0b66161e-56e7-b358-672d-88c9b7661060@bell.net> Date: Sun, 26 Sep 2021 18:16:03 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libffi-discuss@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libffi-discuss mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Sep 2021 22:16:05 -0000 This change commit 43e4ad4d7b4bcc87ee447736a1172b2801a47908 (HEAD, refs/bisect/bad) Author: Anthony Green Date:=C2=A0=C2=A0 Thu Jul 29 07:55:59 2021 -0400 =C2=A0=C2=A0=C2=A0 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 b= y hidden reference. Probably, this has broken builds of python_cffi, etc. Dave --=20 John David Anglin dave.anglin@bell.net