Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1541154
| From | Jiri Kosina <jikos@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] Fix multiple definition error under lto |
| Date | 2016-12-13 16:10 +0100 |
| Message-ID | <sNWSl-2IE-29@gated-at.bofh.it> (permalink) |
| References | <sHTDP-47v-1@gated-at.bofh.it> <sNpMJ-7EK-1@gated-at.bofh.it> <sNLNf-4oe-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH] Fix multiple definition error under lto Zhang Rui <rui.zhang@intel.com> - 2016-12-12 04:50 +0100
Re: [PATCH] Fix multiple definition error under lto Eduardo Valentin <edubezval@gmail.com> - 2016-12-13 04:20 +0100
Re: [PATCH] Fix multiple definition error under lto Jiri Kosina <jikos@kernel.org> - 2016-12-13 16:10 +0100
csiph-web