* [Bug default/28590] New: dwz-0.14 FAIL: odr-struct-multifile.sh and devel-ignore-locus.sh
@ 2021-11-13 5:00 vt at altlinux dot org
2021-11-13 5:06 ` [Bug default/28590] " vt at altlinux dot org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: vt at altlinux dot org @ 2021-11-13 5:00 UTC (permalink / raw)
To: dwz
https://sourceware.org/bugzilla/show_bug.cgi?id=28590
Bug ID: 28590
Summary: dwz-0.14 FAIL: odr-struct-multifile.sh and
devel-ignore-locus.sh
Product: dwz
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: default
Assignee: nobody at sourceware dot org
Reporter: vt at altlinux dot org
CC: dwz at sourceware dot org
Target Milestone: ---
`make check` reports two failures on ALT:
builder@x86_64:~/RPM/BUILD/dwz-0.14$ grep FAIL dwz.log
FAIL: /usr/src/RPM/BUILD/dwz-0.14/testsuite/dwz.tests/odr-struct-multifile.sh
FAIL: /usr/src/RPM/BUILD/dwz-0.14/testsuite/dwz.tests/devel-ignore-locus.sh
The same is with git master. Unfortunately, there is not much debugging output
in this test suite.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug default/28590] dwz-0.14 FAIL: odr-struct-multifile.sh and devel-ignore-locus.sh
2021-11-13 5:00 [Bug default/28590] New: dwz-0.14 FAIL: odr-struct-multifile.sh and devel-ignore-locus.sh vt at altlinux dot org
@ 2021-11-13 5:06 ` vt at altlinux dot org
2021-11-13 5:10 ` vt at altlinux dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: vt at altlinux dot org @ 2021-11-13 5:06 UTC (permalink / raw)
To: dwz
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug default/28590] dwz-0.14 FAIL: odr-struct-multifile.sh and devel-ignore-locus.sh
2021-11-13 5:00 [Bug default/28590] New: dwz-0.14 FAIL: odr-struct-multifile.sh and devel-ignore-locus.sh vt at altlinux dot org
2021-11-13 5:06 ` [Bug default/28590] " vt at altlinux dot org
@ 2021-11-13 5:10 ` vt at altlinux dot org
2021-11-13 5:11 ` vt at altlinux dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: vt at altlinux dot org @ 2021-11-13 5:10 UTC (permalink / raw)
To: dwz
https://sourceware.org/bugzilla/show_bug.cgi?id=28590
--- Comment #2 from Vitaly Chikunov <vt at altlinux dot org> ---
Manual run of failing part for odr-struct-multifile.sh:
```
builder@x86_64:~/RPM/BUILD/dwz-0.14/tmp.odr-struct-multifile.sh$ readelf -wi 1
| grep 'DW_AT_name.*:.*aaa'
<29> DW_AT_name : (string) aaa
```
And the same for devel-ignore-locus.sh:
```
builder@x86_64:~/RPM/BUILD/dwz-0.14/tmp.devel-ignore-locus.sh$ readelf -wi 1 |
grep 'DW_AT_name.*: aaa'
builder@x86_64:~/RPM/BUILD/dwz-0.14/tmp.devel-ignore-locus.sh$ readelf -wi 1 |
grep 'aaa'
<534> DW_AT_name : (string) aaa
<556> DW_AT_type : (ref4) <0x533>, aaa
<5bc> DW_AT_name : (string) aaa
<5de> DW_AT_type : (ref4) <0x5bb>, aaa
```
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug default/28590] dwz-0.14 FAIL: odr-struct-multifile.sh and devel-ignore-locus.sh
2021-11-13 5:00 [Bug default/28590] New: dwz-0.14 FAIL: odr-struct-multifile.sh and devel-ignore-locus.sh vt at altlinux dot org
2021-11-13 5:06 ` [Bug default/28590] " vt at altlinux dot org
2021-11-13 5:10 ` 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
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: vt at altlinux dot org @ 2021-11-13 5:11 UTC (permalink / raw)
To: dwz
https://sourceware.org/bugzilla/show_bug.cgi?id=28590
--- Comment #3 from Vitaly Chikunov <vt at altlinux dot org> ---
```
$ readelf --version
GNU readelf (GNU Binutils) 2.37.20210928
Copyright (C) 2021 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.
```
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug default/28590] dwz-0.14 FAIL: odr-struct-multifile.sh and devel-ignore-locus.sh
2021-11-13 5:00 [Bug default/28590] New: dwz-0.14 FAIL: odr-struct-multifile.sh and devel-ignore-locus.sh vt at altlinux dot org
` (2 preceding siblings ...)
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
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: mark at klomp dot org @ 2022-06-25 21:14 UTC (permalink / raw)
To: dwz
https://sourceware.org/bugzilla/show_bug.cgi?id=28590
Mark Wielaard <mark at klomp dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2022-06-25
Status|UNCONFIRMED |NEW
CC| |mark at klomp dot org
--- Comment #4 from Mark Wielaard <mark at klomp dot org> ---
I think this just got fixed by:
commit b31d0ebd259a7037e43720cc9599ba37a283a698
Author: Lv Ying via Dwz <dwz@sourceware.org>
Date: Thu Jan 13 05:29:44 2022 +0800
Fix handling readelf following links by default
The two testcases still failed when using newer readelf
(binutils commit c46b706620e):
testsuite/dwz.tests/odr-struct-multifile.sh
testsuite/dwz.tests/cycle.sh
fix the new -Wn readelf flag test
Signed-off-by: Lv Ying <lvying6@huawei.com>
Could you retest?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug default/28590] dwz-0.14 FAIL: odr-struct-multifile.sh and devel-ignore-locus.sh
2021-11-13 5:00 [Bug default/28590] New: dwz-0.14 FAIL: odr-struct-multifile.sh and devel-ignore-locus.sh vt at altlinux dot org
` (3 preceding siblings ...)
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
6 siblings, 0 replies; 8+ messages in thread
From: vt at altlinux dot org @ 2022-06-26 1:45 UTC (permalink / raw)
To: dwz
https://sourceware.org/bugzilla/show_bug.cgi?id=28590
--- Comment #5 from Vitaly Chikunov <vt at altlinux dot org> ---
While we are waiting for a fix there are 2 more failures appeared:
FAIL:
/usr/src/RPM/BUILD/dwz-0.14/testsuite/dwz.tests/two-files-low-mem-die-limit-0.sh
FAIL: /usr/src/RPM/BUILD/dwz-0.14/testsuite/dwz.tests/odr-struct-multifile.sh
FAIL: /usr/src/RPM/BUILD/dwz-0.14/testsuite/dwz.tests/devel-ignore-locus.sh
FAIL: /usr/src/RPM/BUILD/dwz-0.14/testsuite/dwz.tests/cycle.sh
With the fix applied:
FAIL:
/usr/src/RPM/BUILD/dwz-0.14/testsuite/dwz.tests/two-files-low-mem-die-limit-0.sh
FAIL: /usr/src/RPM/BUILD/dwz-0.14/testsuite/dwz.tests/devel-ignore-locus.sh
FAIL: /usr/src/RPM/BUILD/dwz-0.14/testsuite/dwz.tests/cycle.sh
So one of originally reported bugs seems fixed.
ps. Also, in meantime we stopped to desire to use dwz for ALT Linux and deleted
the package. So the tests are - I temporary tried to rebuild the old package
and then rebuild after git merge of origin/master with the fix.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug default/28590] dwz-0.14 FAIL: odr-struct-multifile.sh and devel-ignore-locus.sh
2021-11-13 5:00 [Bug default/28590] New: dwz-0.14 FAIL: odr-struct-multifile.sh and devel-ignore-locus.sh vt at altlinux dot org
` (4 preceding siblings ...)
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
6 siblings, 0 replies; 8+ messages in thread
From: mark at klomp dot org @ 2022-11-03 16:39 UTC (permalink / raw)
To: dwz
https://sourceware.org/bugzilla/show_bug.cgi?id=28590
--- Comment #6 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Vitaly Chikunov from comment #5)
> ps. Also, in meantime we stopped to desire to use dwz for ALT Linux and
> deleted the package. So the tests are - I temporary tried to rebuild the old
> package and then rebuild after git merge of origin/master with the fix.
OK, shall we close this bug now then?
I don't see these failures on any other distro with current git.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug default/28590] dwz-0.14 FAIL: odr-struct-multifile.sh and devel-ignore-locus.sh
2021-11-13 5:00 [Bug default/28590] New: dwz-0.14 FAIL: odr-struct-multifile.sh and devel-ignore-locus.sh vt at altlinux dot org
` (5 preceding siblings ...)
2022-11-03 16:39 ` mark at klomp dot org
@ 2022-11-03 19:26 ` vt at altlinux dot org
6 siblings, 0 replies; 8+ messages in thread
From: vt at altlinux dot org @ 2022-11-03 19:26 UTC (permalink / raw)
To: dwz
https://sourceware.org/bugzilla/show_bug.cgi?id=28590
Vitaly Chikunov <vt at altlinux dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |OBSOLETE
--- Comment #7 from Vitaly Chikunov <vt at altlinux dot org> ---
(In reply to Mark Wielaard from comment #6)
> OK, shall we close this bug now then?
> I don't see these failures on any other distro with current git.
Of course, since we stopped to build dwz, so I'm' closing it.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-11-03 19:26 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-13 5:00 [Bug default/28590] New: dwz-0.14 FAIL: odr-struct-multifile.sh and devel-ignore-locus.sh vt at altlinux dot org
2021-11-13 5:06 ` [Bug default/28590] " vt at altlinux dot org
2021-11-13 5:10 ` 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
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).