public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/25424] New: CU referenced from PU (--odr-mode=link case)
@ 2020-01-01  0:00 vries at gcc dot gnu.org
  2020-01-01  0:00 ` [Bug default/25424] " vries at gcc dot gnu.org
  2020-01-01  0:00 ` vries at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2020-01-01  0:00 UTC (permalink / raw)
  To: dwz

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

            Bug ID: 25424
           Summary: CU referenced from PU (--odr-mode=link case)
           Product: dwz
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
          Assignee: nobody at sourceware dot org
          Reporter: vries at gcc dot gnu.org
                CC: dwz at sourceware dot org
  Target Milestone: ---

When applying the assert patch from PR25398 comment 1 to master, we hit the
assert like this:
...
$ dwz cc1 -lnone --odr-mode=link
dwz: dwz.c:11047: write_die: Assertion `IMPLIES (cu->cu_kind == CU_PU, die_cu
(refd)->cu_kind == CU_PU)' failed.
Aborted (core dumped)
...

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug default/25424] CU referenced from PU (--odr-mode=link case)
  2020-01-01  0:00 [Bug default/25424] New: CU referenced from PU (--odr-mode=link case) vries at gcc dot gnu.org
@ 2020-01-01  0:00 ` vries at gcc dot gnu.org
  2020-01-01  0:00 ` vries at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2020-01-01  0:00 UTC (permalink / raw)
  To: dwz

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

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Partial fix:
https://sourceware.org/git/?p=dwz.git;a=commit;h=cf56afd0ff4993d35a24cdf414a43518b5caccac

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug default/25424] CU referenced from PU (--odr-mode=link case)
  2020-01-01  0:00 [Bug default/25424] New: CU referenced from PU (--odr-mode=link case) vries at gcc dot gnu.org
  2020-01-01  0:00 ` [Bug default/25424] " vries at gcc dot gnu.org
@ 2020-01-01  0:00 ` vries at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2020-01-01  0:00 UTC (permalink / raw)
  To: dwz

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

--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
tentative patch series: https://github.com/vries/dwz/tree/tentative-pr25424

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-22 13:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-01  0:00 [Bug default/25424] New: CU referenced from PU (--odr-mode=link case) vries at gcc dot gnu.org
2020-01-01  0:00 ` [Bug default/25424] " vries at gcc dot gnu.org
2020-01-01  0:00 ` vries at gcc dot gnu.org

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).