From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 70B68386EC47; Sat, 15 Aug 2020 10:01:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 70B68386EC47 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug tdep/26362] [aarch64] gdb/utils.c:671: internal-error: virtual memory exhausted: can't allocate 187647121162241 bytes Date: Sat, 15 Aug 2020 10:01:43 +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: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org 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: 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: Sat, 15 Aug 2020 10:01:43 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26362 --- Comment #27 from Tom de Vries --- (In reply to Tom de Vries from comment #22) > Hmm, I think the test-case needs a fix for gcc-7 and earlier, something > along the lines of: > ... > diff --git a/gdb/testsuite/gdb.fortran/mixed-lang-stack.c > b/gdb/testsuite/gdb.fortran/mixed-lang-stack....c > index 0d254cde2c6..39a0ba1f184 100644 > --- a/gdb/testsuite/gdb.fortran/mixed-lang-stack.c > +++ b/gdb/testsuite/gdb.fortran/mixed-lang-stack.c > @@ -22,8 +22,14 @@ struct some_struct > float a, b; > }; >=20=20 > +#if __GNUC__ > 7 > +typedef size_t fortran_charlen_t; > +#else > +typedef int fortran_charlen_t; > +#endif > + > extern void mixed_func_1d_ (int *, float *, double *, complex float *, > - char *, size_t); > + char *, fortran_charlen_t); >=20=20 > void > mixed_func_1c (int a, float b, double c, complex float d, char *f, > ... > [ Found at > https://gcc.gnu.org/onlinedocs/gfortran/Argument-passing-conventions.html= ] >=20 Done: https://sourceware.org/git/?p=3Dbinutils-gdb.git;a=3Dcommit;h=3D3d11c30a6e8= 39cfc126353fd1b35960301a1b6a0 --=20 You are receiving this mail because: You are on the CC list for the bug.=