Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753134AbcLMDSb (ORCPT ); Mon, 12 Dec 2016 22:18:31 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:35164 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752487AbcLMDS3 (ORCPT ); Mon, 12 Dec 2016 22:18:29 -0500 Date: Mon, 12 Dec 2016 19:18:22 -0800 From: Eduardo Valentin To: Zhang Rui Cc: Peter Foley , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH] Fix multiple definition error under lto Message-ID: <20161213031819.GA9668@localhost.localdomain> References: <20161126222528.15261-1-pefoley2@pefoley.com> <1481514306.2325.1.camel@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1481514306.2325.1.camel@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 452 Lines: 10 On Mon, Dec 12, 2016 at 11:45:06AM +0800, Zhang Rui wrote: > On Sat, 2016-11-26 at 17:25 -0500, Peter Foley wrote: > > drivers/thermal/built-in.o: In function `type_show.lto_priv.33': > > (.text+0x3d80): multiple definition of `type_show.lto_priv.33' > > drivers/base/built-in.o:(.text+0x2a40): first defined here > > > can you illustrate how to reproduce this problem? same here. I am not able to see this. Can you please describe your environment?