From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1BABA3853802; Sun, 1 Aug 2021 20:56:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1BABA3853802 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1627851409; bh=/PBdZOTnqca+pNWb6jAhyTi5c+RjmnHnF8nauKqxosY=; h=From:To:Subject:Date:From; b=pmQqW5ZkND7aaDknwRwh1gkJgHJ4Fuce/t9C6l55fa3Oi09UwUPYkv8fumcNLMe/u qXtfmjmnH8UwQZxwe+gtevc5HIcyNZZ848YidzzTOIsO0OrcD1I3YEosm0kN3sixBV MxyEuRTjxidOtQEBupj8Qd5VgkJWs2NE1onJH9rk= From: "slyfox at inbox dot ru" To: debugedit@sourceware.org Subject: [Bug debugedit/28161] New: debugedit fails test against gcc git/binutils-2.37: [debugedit 5.0] testsuite: 17 19 21 failed Date: Sun, 01 Aug 2021 20:56:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: debugedit X-Bugzilla-Component: debugedit X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: slyfox at inbox dot ru X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: debugedit@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: debugedit development mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Aug 2021 20:56:49 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28161 Bug ID: 28161 Summary: debugedit fails test against gcc git/binutils-2.37: [debugedit 5.0] testsuite: 17 19 21 failed Product: debugedit Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: debugedit Assignee: unassigned at sourceware dot org Reporter: slyfox at inbox dot ru CC: debugedit at sourceware dot org Target Milestone: --- Tests fail as: debugedit 1: debugedit help ok 2: debugedit usage ok 3: debugedit executable ok 4: debugedit .debug_str objects DWARF4 ok 5: debugedit .debug_str/line_str objects DWARF5 ok 6: debugedit .debug_str partial DWARF4 ok 7: debugedit .debug_str/line_str partial DWARF5 ok 8: debugedit .debug_str exe DWARF4 ok 9: debugedit .debug_str/line_str exe DWARF5 ok 10: debugedit .debug_info objects ok 11: debugedit .debug_info partial ok 12: debugedit .debug_info exe ok 13: debugedit .debug_types objects ok 14: debugedit .debug_types partial ok 15: debugedit .debug_types exe ok 16: debugedit .debug_line objects DWARF4 ok 17: debugedit .debug_line objects DWARF5 FAILED (debugedit.at:5= 01) 18: debugedit .debug_line partial DWARF4 ok 19: debugedit .debug_line partial DWARF5 FAILED (debugedit.at:5= 46) 20: debugedit .debug_line exe DWARF4 ok 21: debugedit .debug_line exe DWARF5 FAILED (debugedit.at:5= 91) 22: debugedit .debug_macro objects ok 23: debugedit .debug_macro partial ok 24: debugedit .debug_macro exe ok 25: debugedit --list-file DWARF4 ok 26: debugedit --list-file DWARF5 ok ## ------------- ## ## Test results. ## ## ------------- ## ERROR: All 26 tests were run, 3 failed unexpectedly. Somewhat fresh gcc, binutils-2.37: $ LANG=3DC h gcc -v Using built-in specs. COLLECT_GCC=3D/usr/bin/x86_64-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/x86_64-pc-linux-gnu/12.0.0/lto-wrapp= er Target: x86_64-pc-linux-gnu Configured with: /tmp/portage-tmpdir/portage/sys-devel/gcc-12.0.0_pre9999/work/gcc-12.0.0_pr= e9999/configure --host=3Dx86_64-pc-linux-gnu --build=3Dx86_64-pc-linux-gnu --prefix=3D/usr --bindir=3D/usr/x86_64-pc-linux-gnu/gcc-bin/12.0.0 --includedir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include --datadir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/12.0.0 --mandir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/12.0.0/man --infodir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/12.0.0/info --with-gxx-include-dir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/g+= +-v12 --with-python-dir=3D/share/gcc-data/x86_64-pc-linux-gnu/12.0.0/python --enable-languages=3Dc,c++,d,go,jit,fortran --enable-obsolete --enable-secu= replt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=3Drelease --with-bugurl=3Dhttps://bugs.gentoo.org/ --with-pkgversion=3D'Gentoo 12.0.0= _pre9999 p2, commit 1121e495b70105deeb82295f8210e30f2080bc37' --disable-esp --enable-libstdcxx-time --enable-host-shared --enable-shared --enable-threads=3Dposix --enable-__cxa_atexit --enable-clocale=3Dgnu --enable-multilib --with-multilib-list=3Dm32,m64 --disable-fixed-point --enable-targets=3Dall --enable-libgomp --disable-libssp --disable-libada --enable-systemtap --enable-valgrind-annotations --enable-vtable-verify --with-zstd --enable-lto --with-isl --disable-isl-version-check --enable-default-pie --enable-default-ssp Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 20210728 (experimental) (Gentoo 12.0.0_pre9999 p2, commit 1121e495b70105deeb82295f8210e30f2080bc37) Looking tests/testsuite.dir/17 failure example: tests/testsuite.dir/17 $ cat testsuite.log # -*- compilation -*- 17. debugedit.at:488: testing debugedit .debug_line objects DWARF5 ... ./debugedit.at:498: debugedit -b $(pwd) -d /foo/bar/baz ./foo.o ./debugedit.at:499: debugedit -b $(pwd) -d /foo/bar/baz ./subdir_bar/bar.o ./debugedit.at:500: debugedit -b $(pwd) -d /foo/bar/baz ./baz.o ./debugedit.at:501: $READELF --debug-dump=3Dline foo.o subdir_bar/bar.o baz.o \ | grep -A5 "The Directory Table" | grep "^ [123]" \ | cut -f2- -d/ | grep ^foo/ | sort --- expout 2021-08-01 21:53:10.763723255 +0100 +++ /home/slyfox/dev/git/debugedit/tests/testsuite.dir/at-groups/17/stdout= =20=20=20=20=20 2021-08-01 21:53:10.768723312 +0100 @@ -1,2 +1 @@ -foo/bar/baz foo/bar/baz/subdir_headers 17. debugedit.at:488: 17. debugedit .debug_line objects DWARF5 (debugedit.at:488): FAILED (debugedit.at:501) Running manually: $ LANG=3DC x86_64-pc-linux-gnu-readelf --debug-dump=3Dline foo.o subdir_bar= /bar.o baz.o | grep -A10 "The Directory Table" The Directory Table (offset 0x22, lines 4, columns 1): Entry Name 0 (indirect line string, offset: 0x4f): /foo/bar/baz 1 (indirect line string, offset: 0x35): subdir_foo 2 (indirect line string, offset: 0x40): subdir_headers 3 (indirect line string, offset: 0x11): /usr/include The File Name Table (offset 0x38, lines 4, columns 2): Entry Dir Name 0 0 (indirect line string, offset: 0x0): subdir_foo/foo.c 1 1 (indirect line string, offset: 0xb): foo.c -- The Directory Table (offset 0x22, lines 3, columns 1): Entry Name 0 (indirect line string, offset: 0x2a): /foo/bar/baz/subdir_bar 1 (indirect line string, offset: 0x42): ../subdir_headers 2 (indirect line string, offset: 0x6): /usr/include The File Name Table (offset 0x34, lines 4, columns 2): Entry Dir Name 0 0 (indirect line string, offset: 0x0): bar.c 1 0 (indirect line string, offset: 0x0): bar.c 2 1 (indirect line string, offset: 0x21): foobar.h -- The Directory Table (offset 0x22, lines 3, columns 1): Entry Name 0 (indirect line string, offset: 0x53): /foo/bar/baz 1 (indirect line string, offset: 0x37): /foo/bar/baz/subdir_headers 2 (indirect line string, offset: 0x13): /usr/include The File Name Table (offset 0x34, lines 4, columns 2): Entry Dir Name 0 0 (indirect line string, offset: 0x0): /foo/bar/baz/baz.c 1 0 (indirect line string, offset: 0xd): baz.c 2 1 (indirect line string, offset: 0x2e): foobar.h --=20 You are receiving this mail because: You are on the CC list for the bug.=