From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8997 invoked from network); 30 Oct 2020 18:50:31 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 30 Oct 2020 18:50:31 -0000 Received: (qmail 9525 invoked by uid 550); 30 Oct 2020 18:50:29 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 9502 invoked from network); 30 Oct 2020 18:50:28 -0000 Date: Fri, 30 Oct 2020 14:50:16 -0400 From: Rich Felker To: musl@lists.openwall.com Message-ID: <20201030185016.GD534@brightrain.aerifal.cx> References: <20201030184402.807422-1-raj.khem@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201030184402.807422-1-raj.khem@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [musl] [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 .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