[Bug 988009] New: linux-vanilla fails to compile because GCC does not support plugins
http://bugzilla.suse.com/show_bug.cgi?id=988009 Bug ID: 988009 Summary: linux-vanilla fails to compile because GCC does not support plugins Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: aarch64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: rguenther@suse.com Reporter: mbrugger@suse.com QA Contact: qa-bugs@suse.de CC: afaerber@suse.com, agraf@suse.com, dmueller@suse.com, schwab@suse.com Found By: --- Blocker: --- [ 266s] ../scripts/gcc-plugin.sh: line 19: g++: command not found [ 266s] HOSTCC scripts/basic/bin2c [ 266s] Cannot use CONFIG_GCC_PLUGINS: your gcc installation does not support plugins, perhaps the necessary headers are missing? [ 266s] make[1]: *** [scripts/Makefile.gcc-plugins:50: gcc-plugins-check] Error 1 [ 266s] make[1]: *** Waiting for unfinished jobs.... https://build.opensuse.org/package/live_build_log/Kernel:linux-next/kernel-v... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=988009
http://bugzilla.suse.com/show_bug.cgi?id=988009#c2
--- Comment #2 from Matthias Brugger
[ 266s] ../scripts/gcc-plugin.sh: line 19: g++: command not found
Fix that first.
I added "BuildRequires: gcc-c++" to kernel-vanilla.spec which did only help partially: [ 118s] In file included from <stdin>:1:0: [ 118s] ../scripts/gcc-plugins/gcc-common.h:4:22: fatal error: bversion.h: No such file or directory [ 118s] #include "bversion.h" [ 118s] ^ [ 118s] compilation terminated. [ 118s] Cannot use CONFIG_GCC_PLUGINS: your gcc installation does not support plugins, perhaps the necessary headers are missing? [ 118s] make[1]: *** [scripts/Makefile.gcc-plugins:50: gcc-plugins-check] Error 1 [ 118s] make[1]: *** Waiting for unfinished jobs.... [ 118s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/kernel-vanilla-4.7.rc6.next.20160706/linux-4.7-rc6-next-20160706/linux-obj' [ 118s] make: *** [Makefile:150: sub-make] Error 2 [ 118s] make: Leaving directory '/home/abuild/rpmbuild/BUILD/kernel-vanilla-4.7.rc6.next.20160706/linux-4.7-rc6-next-20160706' [ 120s] error: Bad exit status from /var/tmp/rpm-tmp.Kun9nh (%prep) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=988009
http://bugzilla.suse.com/show_bug.cgi?id=988009#c4
Matthias Brugger
Plugins are disabled for our GCC packages as the ABI/API is not stable and thus this feature is not supportable.
Ok, I will see how to update the config to get that compiling again. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=988009
http://bugzilla.suse.com/show_bug.cgi?id=988009#c5
Matthias Brugger
http://bugzilla.suse.com/show_bug.cgi?id=988009
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=988009
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com