Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201030185016.GD534@brightrain.aerifal.cx>
Date: Fri, 30 Oct 2020 14:50:16 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: [PATCH] crt: Add .file directive

On Fri, Oct 30, 2020 at 11:44:02AM -0700, Khem Raj wrote:
> Musl linked binaries come out to be not reproducible because
> absolute build path is seen in debug info of crti.o and crtn.o
> This is due to the fact that these objects are built from assembly
> source files and they are missing .file directive
> if we add .file <filename>.s in them then debug info encodes this
> value instead of absolute path in debug_line section

Surely there should be some better way to achieve this with CFLAGS
instead of duplication across every source file..?

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.