From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 70836 invoked by alias); 26 Feb 2019 16:18:52 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 70692 invoked by uid 89); 26 Feb 2019 16:18:51 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=H*Ad:U*mark, Hx-languages-length:436 X-HELO: mx1.suse.de Received: from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 26 Feb 2019 16:18:50 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id BBC37B171; Tue, 26 Feb 2019 16:18:48 +0000 (UTC) Date: Tue, 26 Feb 2019 16:18:00 -0000 From: Michael Matz To: Richard Biener cc: Mark Wielaard , gcc@gcc.gnu.org Subject: Re: [RFC] Change PCH "checksum" In-Reply-To: Message-ID: References: <4b144c8b12b3413b1ec450d9ba468b71dd5b4547.camel@klomp.org> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-IsSubscribed: yes X-SW-Source: 2019-02/txt/msg00149.txt.bz2 Hi, On Tue, 26 Feb 2019, Richard Biener wrote: > get_build_id_1 (struct dl_phdr_info *info, size_t, void *data) > { Isn't this all a bit silly? We could simply encode the svn revision, or maybe even just some random bytes generated once in stage1 at build time as "checksum" and be done with. In the latter case PCHs will then not work across different compiler builds, but so what? Ciao, Michael.