From: Jiri Kosina <jikos@kernel.org>
To: Eduardo Valentin <edubezval@gmail.com>
Cc: Zhang Rui <rui.zhang@intel.com>,
Peter Foley <pefoley2@pefoley.com>,
linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org
Subject: Re: [PATCH] Fix multiple definition error under lto
Date: Tue, 13 Dec 2016 15:36:57 +0100 (CET) [thread overview]
Message-ID: <alpine.LRH.2.00.1612131534510.8802@gjva.wvxbf.pm> (raw)
In-Reply-To: <20161213031819.GA9668@localhost.localdomain>
On Mon, 12 Dec 2016, Eduardo Valentin 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?
I'm pretty sure he's experimenting with LTO and hitting the LTO phase
getting link-time symbol conflicts between definitions coming from thermal
and base. I'd even say this to be a toolchain bug, given the fact that
both symbols are static.
--
Jiri Kosina
SUSE Labs
prev parent reply other threads:[~2016-12-13 15:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-26 22:25 Peter Foley
2016-12-12 3:45 ` Zhang Rui
2016-12-13 3:18 ` Eduardo Valentin
2016-12-13 14:36 ` Jiri Kosina [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LRH.2.00.1612131534510.8802@gjva.wvxbf.pm \
--to=jikos@kernel.org \
--cc=edubezval@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=pefoley2@pefoley.com \
--cc=rui.zhang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®