public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
From: "vt at altlinux dot org" <sourceware-bugzilla@sourceware.org>
To: dwz@sourceware.org
Subject: [Bug default/28590] dwz-0.14 FAIL: odr-struct-multifile.sh and devel-ignore-locus.sh
Date: Sat, 13 Nov 2021 05:06:14 +0000	[thread overview]
Message-ID: <bug-28590-11298-JtUgeodKC5@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-28590-11298@http.sourceware.org/bugzilla/>

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

--- Comment #1 from Vitaly Chikunov <vt at altlinux dot org> ---
I added `set -x` to odr-struct-multifile.sh:
```
+ /usr/src/RPM/BUILD/dwz-0.14/dwz-for-test --odr -v
+ cp /usr/src/RPM/BUILD/dwz-0.14/odr-struct 1
+ cp 1 2
+ for name in aaa bbb ccc
++ readelf -wi 1
++ grep -c 'DW_AT_name.*:.*aaa'
+ cnt=2
+ '[' 2 -eq 2 ']'
+ for name in aaa bbb ccc
++ readelf -wi 1
++ grep -c 'DW_AT_name.*:.*bbb'
+ cnt=2
+ '[' 2 -eq 2 ']'
+ for name in aaa bbb ccc
++ readelf -wi 1
++ grep -c 'DW_AT_name.*:.*ccc'
+ cnt=2
+ '[' 2 -eq 2 ']'
+ for name in member_one member_two member_three member_four
++ readelf -wi 1
++ grep -c 'DW_AT_name.*:.*member_one'
+ cnt=2
+ case $name in
+ '[' 2 -eq 2 ']'
+ for name in member_one member_two member_three member_four
++ readelf -wi 1
++ grep -c 'DW_AT_name.*:.*member_two'
+ cnt=2
+ case $name in
+ '[' 2 -eq 2 ']'
+ for name in member_one member_two member_three member_four
++ readelf -wi 1
++ grep -c 'DW_AT_name.*:.*member_three'
+ cnt=1
+ case $name in
+ '[' 1 -eq 1 ']'
+ for name in member_one member_two member_three member_four
++ readelf -wi 1
++ grep -c 'DW_AT_name.*:.*member_four'
+ cnt=1
+ case $name in
+ '[' 1 -eq 1 ']'
++ readelf -wi 1
++ grep -c DW_AT_declaration
+ decl_cnt=12
+ /usr/src/RPM/BUILD/dwz-0.14/dwz-for-test --odr 1 2 -m 3
+ verify-dwarf.sh 1
+ verify-dwarf.sh 3
+ for name in aaa bbb ccc
++ readelf -wi 3
++ grep -c 'DW_AT_name.*:.*aaa'
+ cnt=1
+ '[' 1 -eq 1 ']'
+ for name in aaa bbb ccc
++ readelf -wi 3
++ grep -c 'DW_AT_name.*:.*bbb'
+ cnt=1
+ '[' 1 -eq 1 ']'
+ for name in aaa bbb ccc
++ readelf -wi 3
++ grep -c 'DW_AT_name.*:.*ccc'
+ cnt=1
+ '[' 1 -eq 1 ']'
+ for name in member_one member_two member_three member_four
++ readelf -wi 3
++ grep -c 'DW_AT_name.*:.*member_one'
+ cnt=1
+ '[' 1 -eq 1 ']'
+ for name in member_one member_two member_three member_four
++ readelf -wi 3
++ grep -c 'DW_AT_name.*:.*member_two'
+ cnt=1
+ '[' 1 -eq 1 ']'
+ for name in member_one member_two member_three member_four
++ readelf -wi 3
++ grep -c 'DW_AT_name.*:.*member_three'
+ cnt=1
+ '[' 1 -eq 1 ']'
+ for name in member_one member_two member_three member_four
++ readelf -wi 3
++ grep -c 'DW_AT_name.*:.*member_four'
+ cnt=1
+ '[' 1 -eq 1 ']'
+ for name in aaa bbb ccc
++ readelf -wi 1
++ grep -c 'DW_AT_name.*:.*aaa'
+ cnt=1
+ '[' 1 -eq 0 ']'
FAIL: /usr/src/RPM/BUILD/dwz-0.14/testsuite/dwz.tests/odr-struct-multifile.sh
```

And to devel-ignore-locus.sh:
```
+ cp /usr/src/RPM/BUILD/dwz-0.14/two-typedef 1
++ readelf -wi 1
++ grep 'DW_AT_name.*: aaa'
++ wc -l
+ cnt=0
+ '[' 0 -eq 2 ']'
FAIL: /usr/src/RPM/BUILD/dwz-0.14/testsuite/dwz.tests/devel-ignore-locus.sh
```

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

  reply	other threads:[~2021-11-13  5:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-13  5:00 [Bug default/28590] New: " vt at altlinux dot org
2021-11-13  5:06 ` vt at altlinux dot org [this message]
2021-11-13  5:10 ` [Bug default/28590] " vt at altlinux dot org
2021-11-13  5:11 ` vt at altlinux dot org
2022-06-25 21:14 ` mark at klomp dot org
2022-06-26  1:45 ` vt at altlinux dot org
2022-11-03 16:39 ` mark at klomp dot org
2022-11-03 19:26 ` vt at altlinux 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-28590-11298-JtUgeodKC5@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=dwz@sourceware.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: 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).