Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 584912 Details for
Bug 690926
sys-kernel/kpatch-0.6.3[kmod]: kmod/core/core.c:143:15: error: variable ‘trace’ has initializer but incomplete type
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 13.35 KB, created by
Stefan Strogin
on 2019-07-28 17:31:59 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Stefan Strogin
Created:
2019-07-28 17:31:59 UTC
Size:
13.35 KB
patch
obsolete
>[32;01m * [39;49;00mPackage: sys-kernel/kpatch-0.6.3 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: alicef@gentoo.org >[32;01m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux kmod kpatch kpatch-build userland_GNU >[32;01m * [39;49;00mFEATURES: compressdebug preserve-libs sandbox splitdebug userpriv usersandbox >[32;01m * [39;49;00mPackage: sys-kernel/kpatch-0.6.3 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: alicef@gentoo.org >[32;01m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux kmod kpatch kpatch-build userland_GNU >[32;01m * [39;49;00mFEATURES: compressdebug preserve-libs sandbox splitdebug userpriv usersandbox > [32;01m*[0m Determining the location of the kernel source code > [32;01m*[0m Found kernel source directory: > [32;01m*[0m /usr/src/linux > [32;01m*[0m Found sources for kernel version: > [32;01m*[0m 5.2.3-gentoo > [32;01m*[0m Checking for suitable kernel configuration options... >[A[173C [34;01m[ [32;01mok[34;01m ][0m >>>> Unpacking source... >>>> Unpacking kpatch-0.6.3.tar.gz to /var/tmp/portage/sys-kernel/kpatch-0.6.3/work >>>> Source unpacked in /var/tmp/portage/sys-kernel/kpatch-0.6.3/work >>>> Preparing source in /var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3 ... >make -j1 -C kpatch-build >make: Entering directory '/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kpatch-build' >gcc -march=skylake -O1 -pipe -MMD -MP -I../kmod/patch -Iinsn -Wall -Wsign-compare -g -Werror -c -o create-diff-object.o create-diff-object.c >gcc -march=skylake -O1 -pipe -MMD -MP -I../kmod/patch -Iinsn -Wall -Wsign-compare -g -Werror -c -o kpatch-elf.o kpatch-elf.c >gcc -march=skylake -O1 -pipe -MMD -MP -I../kmod/patch -Iinsn -Wall -Wsign-compare -g -Werror -c -o lookup.o lookup.c >gcc -march=skylake -O1 -pipe -MMD -MP -I../kmod/patch -Iinsn -Wall -Wsign-compare -g -Werror -c -o insn/insn.o insn/insn.c >gcc -march=skylake -O1 -pipe -MMD -MP -I../kmod/patch -Iinsn -Wall -Wsign-compare -g -Werror -c -o insn/inat.o insn/inat.c >gcc -Wl,-O1 -Wl,--as-needed create-diff-object.o kpatch-elf.o lookup.o insn/insn.o insn/inat.o -lelf -o create-diff-object >gcc -march=skylake -O1 -pipe -MMD -MP -I../kmod/patch -Iinsn -Wall -Wsign-compare -g -Werror -c -o create-klp-module.o create-klp-module.c >gcc -Wl,-O1 -Wl,--as-needed create-klp-module.o kpatch-elf.o -lelf -o create-klp-module >gcc -march=skylake -O1 -pipe -MMD -MP -I../kmod/patch -Iinsn -Wall -Wsign-compare -g -Werror -c -o create-kpatch-module.o create-kpatch-module.c >gcc -Wl,-O1 -Wl,--as-needed create-kpatch-module.o kpatch-elf.o -lelf -o create-kpatch-module >make: Leaving directory '/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kpatch-build' >make -j1 -C kpatch >make: Entering directory '/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kpatch' >make: Nothing to be done for 'all'. >make: Leaving directory '/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kpatch' >make -j1 -C kmod >make: Entering directory '/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod' >make -C core clean >make[1]: Entering directory '/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core' >rm -f -Rf .*.o.cmd .*.ko.cmd .tmp_versions *.o *.ko *.mod.c \ >Module.symvers >make[1]: Leaving directory '/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core' >make -C core >make[1]: Entering directory '/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core' >make -C /lib/modules/5.2.3-gentoo/build M=/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core kpatch.ko >make[2]: Entering directory '/usr/src/linux-5.2.3-gentoo' > CC [M] /var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.o >[01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:143:15:[m[K [01;31m[Kerror: [m[Kvariable â[01m[Ktrace[m[Kâ has initializer but incomplete type > 143 | static struct [01;31m[Kstack_trace[m[K trace = { > | [01;31m[K^~~~~~~~~~~[m[K >[01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:144:3:[m[K [01;31m[Kerror: [m[Kâ[01m[Kstruct stack_trace[m[Kâ has no member named â[01m[Kmax_entries[m[Kâ > 144 | .[01;31m[Kmax_entries[m[K = ARRAY_SIZE(stack_entries), > | [01;31m[K^~~~~~~~~~~[m[K >In file included from [01m[K./include/linux/list.h:9[m[K, > from [01m[K./include/linux/module.h:9[m[K, > from [01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:37[m[K: >[01m[K./include/linux/kernel.h:47:25:[m[K [01;35m[Kwarning: [m[Kexcess elements in struct initializer > 47 | #define ARRAY_SIZE(arr) [01;35m[K([m[Ksizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) > | [01;35m[K^[m[K >[01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:144:17:[m[K [01;36m[Knote: [m[Kin expansion of macro â[01m[KARRAY_SIZE[m[Kâ > 144 | .max_entries = [01;36m[KARRAY_SIZE[m[K(stack_entries), > | [01;36m[K^~~~~~~~~~[m[K >[01m[K./include/linux/kernel.h:47:25:[m[K [01;36m[Knote: [m[K(near initialization for â[01m[Ktrace[m[Kâ) > 47 | #define ARRAY_SIZE(arr) [01;36m[K([m[Ksizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) > | [01;36m[K^[m[K >[01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:144:17:[m[K [01;36m[Knote: [m[Kin expansion of macro â[01m[KARRAY_SIZE[m[Kâ > 144 | .max_entries = [01;36m[KARRAY_SIZE[m[K(stack_entries), > | [01;36m[K^~~~~~~~~~[m[K >[01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:145:3:[m[K [01;31m[Kerror: [m[Kâ[01m[Kstruct stack_trace[m[Kâ has no member named â[01m[Kentries[m[Kâ > 145 | .[01;31m[Kentries[m[K = &stack_entries[0], > | [01;31m[K^~~~~~~[m[K >[01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:145:13:[m[K [01;35m[Kwarning: [m[Kexcess elements in struct initializer > 145 | .entries = [01;35m[K&[m[Kstack_entries[0], > | [01;35m[K^[m[K >[01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:145:13:[m[K [01;36m[Knote: [m[K(near initialization for â[01m[Ktrace[m[Kâ) >[01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:[m[K In function â[01m[Kkpatch_verify_activeness_safety[m[Kâ: >[01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:274:8:[m[K [01;31m[Kerror: [m[Kinvalid use of undefined type â[01m[Kstruct stack_trace[m[Kâ > 274 | trace[01;31m[K.[m[Knr_entries = 0; > | [01;31m[K^[m[K >[01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:275:3:[m[K [01;31m[Kerror: [m[Kimplicit declaration of function â[01m[Ksave_stack_trace_tsk[m[Kâ [[01;31m[K-Werror=implicit-function-declaration[m[K] > 275 | [01;31m[Ksave_stack_trace_tsk[m[K(t, &trace); > | [01;31m[K^~~~~~~~~~~~~~~~~~~~[m[K >[01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:276:12:[m[K [01;31m[Kerror: [m[Kinvalid use of undefined type â[01m[Kstruct stack_trace[m[Kâ > 276 | if (trace[01;31m[K.[m[Knr_entries >= trace.max_entries) { > | [01;31m[K^[m[K >[01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:276:32:[m[K [01;31m[Kerror: [m[Kinvalid use of undefined type â[01m[Kstruct stack_trace[m[Kâ > 276 | if (trace.nr_entries >= trace[01;31m[K.[m[Kmax_entries) { > | [01;31m[K^[m[K >In file included from [01m[K./include/linux/kernel.h:15[m[K, > from [01m[K./include/linux/list.h:9[m[K, > from [01m[K./include/linux/module.h:9[m[K, > from [01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:37[m[K: >[01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:279:16:[m[K [01;31m[Kerror: [m[Kinvalid use of undefined type â[01m[Kstruct stack_trace[m[Kâ > 279 | trace[01;31m[K.[m[Kmax_entries); > | [01;31m[K^[m[K >[01m[K./include/linux/printk.h:304:33:[m[K [01;36m[Knote: [m[Kin definition of macro â[01m[Kpr_err[m[Kâ > 304 | printk(KERN_ERR pr_fmt(fmt), ##[01;36m[K__VA_ARGS__[m[K) > | [01;36m[K^~~~~~~~~~~[m[K >[01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:283:38:[m[K [01;31m[Kerror: [m[Kinvalid use of undefined type â[01m[Kstruct stack_trace[m[Kâ > 283 | for (i = 0; i < trace[01;31m[K.[m[Knr_entries; i++) { > | [01;31m[K^[m[K >[01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:284:13:[m[K [01;31m[Kerror: [m[Kinvalid use of undefined type â[01m[Kstruct stack_trace[m[Kâ > 284 | if (trace[01;31m[K.[m[Kentries[i] == ULONG_MAX) > | [01;31m[K^[m[K >[01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:287:19:[m[K [01;31m[Kerror: [m[Kinvalid use of undefined type â[01m[Kstruct stack_trace[m[Kâ > 287 | trace[01;31m[K.[m[Kentries[i]); > | [01;31m[K^[m[K >[01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:297:24:[m[K [01;31m[Kerror: [m[Kinvalid use of undefined type â[01m[Kstruct stack_trace[m[Kâ > 297 | for (i = 0; i < trace[01;31m[K.[m[Knr_entries; i++) { > | [01;31m[K^[m[K >[01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:298:13:[m[K [01;31m[Kerror: [m[Kinvalid use of undefined type â[01m[Kstruct stack_trace[m[Kâ > 298 | if (trace[01;31m[K.[m[Kentries[i] == ULONG_MAX) > | [01;31m[K^[m[K >In file included from [01m[K./include/linux/kernel.h:15[m[K, > from [01m[K./include/linux/list.h:9[m[K, > from [01m[K./include/linux/module.h:9[m[K, > from [01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:37[m[K: >[01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:301:24:[m[K [01;31m[Kerror: [m[Kinvalid use of undefined type â[01m[Kstruct stack_trace[m[Kâ > 301 | (void *)trace[01;31m[K.[m[Kentries[i], > | [01;31m[K^[m[K >[01m[K./include/linux/printk.h:304:33:[m[K [01;36m[Knote: [m[Kin definition of macro â[01m[Kpr_err[m[Kâ > 304 | printk(KERN_ERR pr_fmt(fmt), ##[01;36m[K__VA_ARGS__[m[K) > | [01;36m[K^~~~~~~~~~~[m[K >[01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:302:24:[m[K [01;31m[Kerror: [m[Kinvalid use of undefined type â[01m[Kstruct stack_trace[m[Kâ > 302 | (void *)trace[01;31m[K.[m[Kentries[i]); > | [01;31m[K^[m[K >[01m[K./include/linux/printk.h:304:33:[m[K [01;36m[Knote: [m[Kin definition of macro â[01m[Kpr_err[m[Kâ > 304 | printk(KERN_ERR pr_fmt(fmt), ##[01;36m[K__VA_ARGS__[m[K) > | [01;36m[K^~~~~~~~~~~[m[K >[01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:[m[K At top level: >[01m[K/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.c:143:27:[m[K [01;31m[Kerror: [m[Kstorage size of â[01m[Ktrace[m[Kâ isnât known > 143 | static struct stack_trace [01;31m[Ktrace[m[K = { > | [01;31m[K^~~~~[m[K >cc1: some warnings being treated as errors >make[3]: *** [scripts/Makefile.build:279: /var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core/core.o] Error 1 >make[2]: *** [Makefile:1746: kpatch.o] Error 2 >make[2]: Leaving directory '/usr/src/linux-5.2.3-gentoo' >make[1]: *** [Makefile:13: kpatch.ko] Error 2 >make[1]: Leaving directory '/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod/core' >make: *** [Makefile:7: all] Error 2 >make: Leaving directory '/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3/kmod' > [31;01m*[0m ERROR: sys-kernel/kpatch-0.6.3::gentoo failed (compile phase): > [31;01m*[0m emake failed > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=sys-kernel/kpatch-0.6.3::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=sys-kernel/kpatch-0.6.3::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/tmp/portage/sys-kernel/kpatch-0.6.3/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-kernel/kpatch-0.6.3/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3' > [31;01m*[0m S: '/var/tmp/portage/sys-kernel/kpatch-0.6.3/work/kpatch-0.6.3'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 690926
: 584912 |
584964