From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7BC693885512; Wed, 13 Jul 2022 17:46:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7BC693885512 From: "cel at us dot ibm.com" To: gdb-prs@sourceware.org Subject: [Bug tdep/29247] [gdb, tdep] ../../gdb/ppc-sysv-tdep.c:1945: internal-error: ppc64_sysv_abi_return_value: Assertion `ok' failed Date: Wed, 13 Jul 2022 17:46:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: tdep X-Bugzilla-Version: 12.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cel at us dot ibm.com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2022 17:46:32 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29247 --- Comment #20 from Carl E Love --- Created attachment 14207 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14207&action=3Ded= it Patch to fix the final error Yes,the control flow is executing the ABI (version 1.9) code as noted by Ul= rich for ELFv1 when the system is actually using ELFv2, First, added support for IEEE 128-bit float to the code pointed out in comm= ent 19. This fixes the final error even though we are actually not supposed to= be executing this code for ELFv2.=20=20 Second, added a check for ELFv1 so the code is only executed with ELFv1. T= he test still passes given the previous fixes to the homogeneous aggregate rul= e. The attachment shows the new code to fix the final bug. Posting it separat= ely to make it easy to review. I will merge the two patches and post the patch on the mailing list for rev= iew and approval. --=20 You are receiving this mail because: You are on the CC list for the bug.=