From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3C5BC3985472; Tue, 20 Jul 2021 07:10:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3C5BC3985472 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/101473] debug_line info depends on toolchain path Date: Tue, 20 Jul 2021 07:10:24 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 10.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2021 07:10:25 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101473 --- Comment #13 from rguenther at suse dot de --- On Mon, 19 Jul 2021, tonyb at cybernetics dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101473 >=20 > --- Comment #12 from tonyb at cybernetics dot com --- > The patch fixed my own programs, so I rebuilt all of Yocto with -flto in = two > different directories. I found that most shared libraries in /lib and /u= sr/lib > still have the problem (i.e. are still not binary reproducible), as well = as > binaries from pciutils, e2fsprogs, dropbear, sysvinit, hdparm, and a few = other > packages (they are all binary reproducible without -flto). However, the = patch > certainly did improve things, since some binaries that were different > previously are now the same. OK, I will try to produce a patch that should catch a few more cases and would be actually mergeable. If issues remain with that some testcases would be nice. You should be able to see the difference in the .o files symbol table already if it's the same underlying issue (different DWARF checksum).=