public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "howarth at nitro dot med.uc.edu" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/43751] dsymutil is not called for fortran and, under some circumstances not for other FEs. Date: Sun, 05 Dec 2010 20:12:00 -0000 [thread overview] Message-ID: <bug-43751-4-hF9CLRR8hL@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-43751-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43751 --- Comment #16 from Jack Howarth <howarth at nitro dot med.uc.edu> 2010-12-05 20:12:30 UTC --- As a refresher, the original comments from the Apple dsymutil maintainer on the FORM_ref4 were... ------------------------------------------------ The warning was cause for alarm, and the root cause has been fixed (checked in), though it isn't affecting your test case. If you see this type of warning again before you get a fixed dsymutil, look at the dwarfdump output as you were doing for a matching attribute value. In this case it was: 0x00000205: TAG_subrange_type [28] =20 AT_type[FORM_ref4] ( {0x00000048} ( base ) ) AT_upper_bound[FORM_ref4] ( {0x00000149} ) Then you want to make sure that the reference (FORM_ref4) it has ({0x00000149}) made it into the output file which it did: 0x00000149: TAG_variable [21] =20 AT_artificial[FORM_flag] ( 0x01 ) AT_type[FORM_ref4] ( {0x0000020f} ( const base ) ) AT_location[FORM_data4] ( 0x00000144 0x0000000100000d46 - 0x0000000100000e62: r13-1 0x0000000100000e64 - 0x0000000100000e6f: r13-1 ) So everything is ok in this case. dsymutil will track exactly which DIEs make it into the dSYM and only put those DIEs and the dependent DIEs. This helps deal with gcc's one definition rule which can bloat up the debug info. If dead code stripping is on, and only one function of 100 makes it into the dSYM, we strip 99% of the debug info and keep the DWARF small. In a failing case, dsymutil would not add 0x00000149 to the output dSYM and the DWARF would have a DIE with an invalid reference. ------------------------------------------------ So pruning these errors will mask the fact that darwin9 may potentially generate bad DWARF debug information. Alternatively we could drop the pruning and move the expansion of the source types to gcc/config/darwin10.h per Comment 12 if we always want to have pristine DWARF generated.
next prev parent reply other threads:[~2010-12-05 20:12 UTC|newest] Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-43751-4@http.gcc.gnu.org/bugzilla/> 2010-11-26 22:08 ` iains at gcc dot gnu.org 2010-11-27 9:55 ` iains at gcc dot gnu.org 2010-12-02 11:49 ` iains at gcc dot gnu.org 2010-12-02 22:27 ` mrs at gcc dot gnu.org 2010-12-03 8:58 ` iains at gcc dot gnu.org 2010-12-03 20:17 ` mikestump at comcast dot net 2010-12-03 22:32 ` rguenth at gcc dot gnu.org 2010-12-03 23:01 ` howarth at nitro dot med.uc.edu 2010-12-04 22:01 ` howarth at nitro dot med.uc.edu 2010-12-04 22:02 ` howarth at nitro dot med.uc.edu 2010-12-05 19:58 ` howarth at nitro dot med.uc.edu 2010-12-05 20:01 ` howarth at nitro dot med.uc.edu 2010-12-05 20:12 ` howarth at nitro dot med.uc.edu [this message] 2010-12-05 20:27 ` iains at gcc dot gnu.org 2010-12-10 12:41 ` iains at gcc dot gnu.org 2010-12-10 17:17 ` mrs at gcc dot gnu.org 2013-12-13 15:18 ` dominiq at lps dot ens.fr 2014-04-02 8:35 ` dominiq at gcc dot gnu.org 2014-04-04 6:44 ` dominiq at gcc dot gnu.org 2014-04-04 6:49 ` dominiq at lps dot ens.fr 2010-04-14 9:00 [Bug target/43751] New: " iains at gcc dot gnu dot org 2010-04-14 9:07 ` [Bug target/43751] " iains at gcc dot gnu dot org 2010-04-14 9:24 ` steven at gcc dot gnu dot org 2010-04-14 9:50 ` iains at gcc dot gnu dot org 2010-04-14 17:38 ` iains at gcc dot gnu dot org
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=bug-43751-4-hF9CLRR8hL@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /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: linkBe 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).