Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 477882 - sys-kernel/spl-0.6.1-r3 - configure:17868: error: *** Unable to build an empty module.
Summary: sys-kernel/spl-0.6.1-r3 - configure:17868: error: *** Unable to build an empt...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Richard Yao (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-23 10:17 UTC by andros
Modified: 2014-06-24 16:56 UTC (History)
0 users

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


Attachments
error log sys-kernel/spl (error.log,28.76 KB, text/x-log)
2013-07-23 10:17 UTC, andros
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andros 2013-07-23 10:17:25 UTC
Created attachment 354004 [details]
error log sys-kernel/spl

I use zfs for / build with ebuild version 0.61-r1.
Since ebuild r2 i can't rebuild both kmod and spl. 

With always the same error:

configure:17824: checking whether modules can be built
configure:17847: cp conftest.c build && make modules -C /lib/modules/3.7.5-hardened-r1/build EXTRA_CFLAGS=-Werror-implicit-function-declaration   M=/var/tmp/portage/portage/sys-kernel/spl-0.6.1-r3/work/spl-spl-0.6.1/build 
cc1: error: incompatible gcc/plugin versions
cc1: error: fail to initialize plugin /usr/src/linux-3.7.5-hardened-r1/tools/gcc/constify_plugin.so
cc1: error: incompatible gcc/plugin versions
cc1: error: fail to initialize plugin /usr/src/linux-3.7.5-hardened-r1/tools/gcc/stackleak_plugin.so
cc1: error: incompatible gcc/plugin versions
cc1: error: fail to initialize plugin /usr/src/linux-3.7.5-hardened-r1/tools/gcc/colorize_plugin.so
cc1: error: incompatible gcc/plugin versions
cc1: error: fail to initialize plugin /usr/src/linux-3.7.5-hardened-r1/tools/gcc/kernexec_plugin.so
cc1: error: incompatible gcc/plugin versions
cc1: error: fail to initialize plugin /usr/src/linux-3.7.5-hardened-r1/tools/gcc/size_overflow_plugin.so
make[1]: *** [/var/tmp/portage/portage/sys-kernel/spl-0.6.1-r3/work/spl-spl-0.6.1/build/conftest.o] Error 1
make: *** [_module_/var/tmp/portage/portage/sys-kernel/spl-0.6.1-r3/work/spl-spl-0.6.1/build] Error 2
configure:17850: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define SPL_META_NAME "spl"
| #define SPL_META_VERSION "0.6.1"
| #define SPL_META_RELEASE "1"
| #define SPL_META_ALIAS "spl-0.6.1-1"
| #define PACKAGE "spl"
| #define VERSION "0.6.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define DEBUG_KMEM 1
| 
| 
| int
| main (void)
| {
| 
|   ;
|   return 0;
| }
| 
configure:17865: result: no
configure:17868: error: *** Unable to build an empty module.
Comment 1 Richard Yao (RETIRED) gentoo-dev 2014-06-24 16:56:10 UTC
I usually take care of non-packaging ZFS-related bugs at the upstream tracker as it gets more eye balls on problems. An unfortunate consequence of that is that this slipped through the deluge of bug mail that I receive. I am usually available and responsive on IRC, which tends to make matters worse as users cut into the front of the line by pinging me there.

That being said, this should have been resolved by November of last year, if it had not been resolved sooner. Please file an upstream issue report if the issue persists. You can also try getting me on IRC. I typically always respond there within hours.