From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 90986 invoked by alias); 11 Feb 2020 16:07:20 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 90869 invoked by uid 89); 11 Feb 2020 16:07:19 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=cure, ciao, HX-Languages-Length:526, H*Ad:U*amodra X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 11 Feb 2020 16:07:18 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 1F5BB69B33; Tue, 11 Feb 2020 16:07:16 +0000 (UTC) Date: Tue, 11 Feb 2020 16:07:00 -0000 From: Michael Matz To: "H.J. Lu" cc: Alan Modra , Binutils Subject: Re: [PATCH] Use GCC LTO wrapper to get real symbols from LTO IR objects In-Reply-To: Message-ID: References: <20200210142435.397899-1-hjl.tools@gmail.com> <20200210230156.GR5669@bubble.grove.modra.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: 2020-02/txt/msg00191.txt.bz2 Hi, On Mon, 10 Feb 2020, H.J. Lu wrote: > > Wow, that's a lot of work to get proper symbol type. What happens if > > Very true. I couldn't come up with a better solution without changing > plugin API. Then, it should perhaps be changed? The cure without that (i.e. your patch) looks worse than the disease (temporary files, hardcoding path layouts, dependence on gcc installed) :-/ I know why you wrote the patch as is, but ... ugh. Ciao, Michael.