Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 423117 - sys-kernel/tuxonice-sources: multiple definition of `__pcpu_unique_contexts'
Summary: sys-kernel/tuxonice-sources: multiple definition of `__pcpu_unique_contexts'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://lists.tuxonice.net/pipermail/t...
Whiteboard: Reported to upstream via mail
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-23 11:33 UTC by Pacho Ramos
Modified: 2013-11-14 20:37 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2012-06-23 11:33:32 UTC
When running:
make allyesconfig

compilation dies with:
  LD      kernel/power/built-in.o
kernel/power/tuxonice_compress.o:(.discard+0x0): multiple definition of `__pcpu_unique_contexts'
kernel/power/tuxonice_core.o:(.discard+0x4): first defined here
make[2]: *** [kernel/power/built-in.o] Error 1
make[1]: *** [kernel/power] Error 2
make: *** [kernel] Error 2

could kernel team help me to find offending option to at least warn our users to disable it?

Thanks

Reproducible: Always
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-10-14 17:47:12 UTC
You can find them in the Makefile in the same directory:

obj-$(CONFIG_TOI_CRYPTO)	+= tuxonice_compress.o
             ^ Here. :)

I guess to fix this one of both either needs the name changed (not intended to share same memory) or made extern (intended to share the same memory).
Comment 2 Mike Pagano gentoo-dev 2013-11-14 20:37:41 UTC
Question seems answered, reopen if I am misinterpreting the request.