[Bug tdep/29247] [gdb, tdep] ../../gdb/ppc-sysv-tdep.c:1945: internal-error: ppc64_sysv_abi_return_value: Assertion `ok' failed

cel at us dot ibm.com sourceware-bugzilla@sourceware.org
Wed Jul 27 16:54:17 GMT 2022


https://sourceware.org/bugzilla/show_bug.cgi?id=29247

--- Comment #26 from Carl E Love <cel at us dot ibm.com> ---
Looks like the change to the patch was to replace floatformats_ieee_quad with 
floatformats_ia64_quad.  I didn't see any other changes.

The patch applied and compiled without any issues.  I ran the test

 make check RUNTESTFLAGS='GDB=/home/carll/bin/gdb  gdb.base/varargs.exp ' > out

and checked the results in gdb/testsuite/gdb.log

...
gdb) PASS: gdb.base/varargs.exp: print find_max_double_real(4, dc1, dc2, dc3, \
dc4)
print find_max_long_double_real(4, ldc1, ldc2, ldc3, ldc4)^M
$8 = 4 + 4i^M
(gdb) PASS: gdb.base/varargs.exp: print find_max_long_double_real(4, ldc1,
ldc2\
, ldc3, ldc4)
testcase
/home/carll/GDB/build-gdb-12.1/gdb/testsuite/../../../gdb-12.1/gdb/tes\
tsuite/gdb.base/varargs.exp completed in 0 seconds

                === gdb Summary ===

# of expected passes            11
...

It seemed to work fine.

Again, I am using a Power 10 system with Enterprise Linux release 9.0 (Plow).  

I used the gdb 12.1 source tar file gdb-12.1.tar.gz from
https://ftp.gnu.org/gnu/gdb/.  I created a git repository with that source
before applying the back ported patch.


I tried testing with the same source tar file and backported patch on a Power 9
system running  Ubuntu 22.04 LTS.  The  gdb.base/varargs.exp test again runs
with all tests passing.  

Do you have any details on the system where you saw the error?  I can see if I
can find a machine that matches the specs of the machine that you used to see
if I can reproduce the failure.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list