From: Thomas Koenig <tkoenig@netcologne.de>
To: Tobias Burnus <tobias@codesourcery.com>,
Paul Richard Thomas <paul.richard.thomas@gmail.com>
Cc: fortran <fortran@gcc.gnu.org>, gcc mailing list <gcc@gcc.gnu.org>
Subject: Re: Non-dwarf blocks detected by valgrind
Date: Mon, 25 Jan 2021 15:05:48 +0100 [thread overview]
Message-ID: <c5627671-2fce-1304-f451-6d8cc08f0c3f@netcologne.de> (raw)
In-Reply-To: <362769a6-4184-e59b-ded1-7cbe972c84ba@codesourcery.com>
Hi Tobias,
>> Does this constitute a regression?
>
> From your description, yes. Can you give more details how to reproduce it?
$ cat hello.f90
print *,"Hello, world!"
end
$ valgrind --version
valgrind-3.15.0
$ gfortran -g hello.f90
$ valgrind ./a.out
[...]
--4184-- WARNING: Serious error when reading debug info
--4184-- When reading debug info from /home/ig25/lib64/libgfortran.so.5.0.0:
--4184-- Ignoring non-Dwarf2/3/4 block in .debug_info
--4184-- WARNING: Serious error when reading debug info
--4184-- When reading debug info from /home/ig25/lib64/libgfortran.so.5.0.0:
[...]
--4184-- WARNING: Serious error when reading debug info
--4184-- When reading debug info from /home/ig25/lib64/libgcc_s.so.1:
--4184-- Ignoring non-Dwarf2/3/4 block in .debug_info
[...]
--4184-- WARNING: Serious error when reading debug info
--4184-- When reading debug info from /home/ig25/lib64/libquadmath.so.0.0.0:
--4184-- Ignoring non-Dwarf2/3/4 block in .debug_info
So, the problem (at least for me) is that libgfortran and
other libraries are built in a format that valgrind can not
understand, so it becomes much harder to debug libgfortran :-(
Is there a way to configure the build so that the old debug
format is used for the libraries?
Best regards
Thomas
next prev parent reply other threads:[~2021-01-25 14:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-23 8:52 Paul Richard Thomas
2021-01-23 10:51 ` Tobias Burnus
2021-01-23 13:32 ` Paul Richard Thomas
2021-01-24 20:37 ` Thomas Koenig
2021-01-24 21:47 ` Paul Richard Thomas
2021-01-25 7:33 ` Tobias Burnus
2021-01-25 14:05 ` Thomas Koenig [this message]
2021-01-25 14:38 ` Mark Wielaard
2021-01-25 17:08 ` Mark Wielaard
2021-01-25 14:40 ` Tobias Burnus
2021-01-25 14:55 ` Thomas Koenig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c5627671-2fce-1304-f451-6d8cc08f0c3f@netcologne.de \
--to=tkoenig@netcologne.de \
--cc=fortran@gcc.gnu.org \
--cc=gcc@gcc.gnu.org \
--cc=paul.richard.thomas@gmail.com \
--cc=tobias@codesourcery.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).