[OE-core] Summary of M3 status
akuster808
akuster808 at gmail.com
Tue Sep 3 15:41:22 UTC 2019
On 9/3/19 8:36 AM, Bruce Ashfield wrote:
> On Tue, Sep 3, 2019 at 11:15 AM Bruce Ashfield <bruce.ashfield at gmail.com> wrote:
>> On Tue, Sep 3, 2019 at 11:09 AM akuster808 <akuster808 at gmail.com> wrote:
>>>
>>>
>>> On 9/3/19 1:10 AM, Richard Purdie wrote:
>>>> I'm going to summarise the current state as it will help people see the
>>>> set of issues we have. We have three issues blocking the current patch
>>>> queue and kernel uprev, spread over four machines and five autobuilder
>>>> targets:
>>>>
>>>> qemumips64:
>>>>
>>>> https://autobuilder.yoctoproject.org/typhoon/#/builders/74/builds/987
>>>>
>>>> RESULTS - parselogs.ParseLogsTest.test_parselogs: FAILED (1.97s)
>>>>
>>>> Central error: [ 1.689184] kprobes: failed to populate blacklist: -22
>>>> [happens 5.2 kernel only]
>>>>
>>>> qemumips:
>>>>
>>>> qemu machine locks up:
>>>>
>>>> https://autobuilder.yoctoproject.org/typhoon/#/builders/60/builds/982
>>>>
>>>> (happens with 5.0 and 5.2 kernels and qemu 4.0 and 4.1 and is in
>>>> master. Not sure of the original cause)
>>>>
>>>> qemuarm64:
>>>>
>>>> Central error: [ 1.816386] kprobes: failed to populate blacklist: -22
>>>>
>>>> RESULTS - parselogs.ParseLogsTest.test_parselogs: FAILED (1.11s)
>>>>
>>>> https://autobuilder.yoctoproject.org/typhoon/#/builders/97/builds/329
>>>> https://autobuilder.yoctoproject.org/typhoon/#/builders/42/builds/985
>>>> [happens 5.2 kernel only]
>>>>
>>>> qemuarm:
>>>>
>>>> https://autobuilder.yoctoproject.org/typhoon/#/builders/38/builds/990
>>>> https://autobuilder.yoctoproject.org/typhoon/#/builders/53/builds/989
>>>>
>>>> See compile failure for stap.StapTest.test_stap below.
>>>> [happens 5.2 kernel only]
>>> there are about 3 5.2 kernel patches sitting on systemtap master.
>>>
>>> I will give it a shot
>> Sounds good. If possible, can you send them to the linux-yocto
>> mailing list as kernel patches (if they work) .. versus doing a
>> linux-yocto_5.2 SRC_URI update with patches, since it is harder for me
>> to integrate them to the tree itself if they are sent that way.
> .. that is of course if they are kernel patches. I haven't had enough
> coffee yet today.
me neither. I should have said systemtap has 3 patches on master to
address issues with the 5.2 kernel.
-armin
>
> Bruce
>
>> Bruce
>>
>>> - armin
>>>> The qemumips issue is of particular concern.
>>>>
>>>> Also needed to sort out M3 are:
>>>>
>>>> * toolchain tests nrossi is working on
>>>> * resolution to the hashserv scaling problem
>>>> * bug fixing for the hash equiv code
>>>>
>>>> Cheers,
>>>>
>>>> Richard
>>>>
>>>> stap.StapTest.test_stap failure:
>>>>
>>>>
>>>> WARNING: Kernel function symbol table missing [man warning::symbols]
>>>> In file included from /usr/share/systemtap/runtime/linux/runtime.h:214,
>>>> from /usr/share/systemtap/runtime/runtime.h:26,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:26:
>>>> /usr/share/systemtap/runtime/linux/access_process_vm.h: In function '__access_process_vm_':
>>>> /usr/share/systemtap/runtime/linux/access_process_vm.h:28:8: error: implicit declaration of function 'get_task_mm'; did you mean 'get_task_comm'? [-Werror=implicit-function-declaration]
>>>> 28 | mm = get_task_mm (tsk);
>>>> | ^~~~~~~~~~~
>>>> | get_task_comm
>>>> /usr/share/systemtap/runtime/linux/access_process_vm.h:28:6: error: assignment to 'struct mm_struct *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
>>>> 28 | mm = get_task_mm (tsk);
>>>> | ^
>>>> /usr/share/systemtap/runtime/linux/access_process_vm.h:51:61: error: passing argument 6 of 'get_user_pages_remote' makes pointer from integer without a cast [-Werror=int-conversion]
>>>> 51 | ret = get_user_pages_remote (tsk, mm, addr, 1, write, 1, &page, &vma);
>>>> | ^
>>>> | |
>>>> | int
>>>> In file included from ./include/linux/kallsyms.h:12,
>>>> from ./include/linux/ftrace.h:11,
>>>> from ./include/linux/kprobes.h:29,
>>>> from /usr/share/systemtap/runtime/linux/runtime.h:21,
>>>> from /usr/share/systemtap/runtime/runtime.h:26,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:26:
>>>> ./include/linux/mm.h:1592:46: note: expected 'struct page **' but argument is of type 'int'
>>>> 1592 | unsigned int gup_flags, struct page **pages,
>>>> | ~~~~~~~~~~~~~~^~~~~
>>>> In file included from /usr/share/systemtap/runtime/linux/runtime.h:214,
>>>> from /usr/share/systemtap/runtime/runtime.h:26,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:26:
>>>> /usr/share/systemtap/runtime/linux/access_process_vm.h:51:64: error: passing argument 7 of 'get_user_pages_remote' from incompatible pointer type [-Werror=incompatible-pointer-types]
>>>> 51 | ret = get_user_pages_remote (tsk, mm, addr, 1, write, 1, &page, &vma);
>>>> | ^~~~~
>>>> | |
>>>> | struct page **
>>>> In file included from ./include/linux/kallsyms.h:12,
>>>> from ./include/linux/ftrace.h:11,
>>>> from ./include/linux/kprobes.h:29,
>>>> from /usr/share/systemtap/runtime/linux/runtime.h:21,
>>>> from /usr/share/systemtap/runtime/runtime.h:26,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:26:
>>>> ./include/linux/mm.h:1593:32: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **'
>>>> 1593 | struct vm_area_struct **vmas, int *locked);
>>>> | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
>>>> In file included from /usr/share/systemtap/runtime/linux/runtime.h:214,
>>>> from /usr/share/systemtap/runtime/runtime.h:26,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:26:
>>>> /usr/share/systemtap/runtime/linux/access_process_vm.h:51:71: error: passing argument 8 of 'get_user_pages_remote' from incompatible pointer type [-Werror=incompatible-pointer-types]
>>>> 51 | ret = get_user_pages_remote (tsk, mm, addr, 1, write, 1, &page, &vma);
>>>> | ^~~~
>>>> | |
>>>> | struct vm_area_struct **
>>>> In file included from ./include/linux/kallsyms.h:12,
>>>> from ./include/linux/ftrace.h:11,
>>>> from ./include/linux/kprobes.h:29,
>>>> from /usr/share/systemtap/runtime/linux/runtime.h:21,
>>>> from /usr/share/systemtap/runtime/runtime.h:26,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:26:
>>>> ./include/linux/mm.h:1593:43: note: expected 'int *' but argument is of type 'struct vm_area_struct **'
>>>> 1593 | struct vm_area_struct **vmas, int *locked);
>>>> | ~~~~~^~~~~~
>>>> In file included from /usr/share/systemtap/runtime/linux/runtime.h:214,
>>>> from /usr/share/systemtap/runtime/runtime.h:26,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:26:
>>>> /usr/share/systemtap/runtime/linux/access_process_vm.h:88:3: error: implicit declaration of function 'mmput' [-Werror=implicit-function-declaration]
>>>> 88 | mmput (mm);
>>>> | ^~~~~
>>>> In file included from /usr/share/systemtap/runtime/linux/runtime.h:217,
>>>> from /usr/share/systemtap/runtime/runtime.h:26,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:26:
>>>> /usr/share/systemtap/runtime/linux/alloc.c: In function '_stp_alloc_percpu':
>>>> /usr/share/systemtap/runtime/linux/alloc.c:456:8: error: too few arguments to function '__alloc_percpu'
>>>> 456 | ret = __alloc_percpu(size);
>>>> | ^~~~~~~~~~~~~~
>>>> In file included from ./include/linux/topology.h:34,
>>>> from ./include/linux/gfp.h:9,
>>>> from /usr/share/systemtap/runtime/linux/runtime_defines.h:20,
>>>> from /usr/share/systemtap/runtime/runtime_defines.h:8,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:11:
>>>> ./include/linux/percpu.h:135:23: note: declared here
>>>> 135 | extern void __percpu *__alloc_percpu(size_t size, size_t align);
>>>> | ^~~~~~~~~~~~~~
>>>> In file included from /usr/share/systemtap/runtime/linux/../regs.c:20,
>>>> from /usr/share/systemtap/runtime/linux/runtime.h:222,
>>>> from /usr/share/systemtap/runtime/runtime.h:26,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:26:
>>>> /usr/share/systemtap/runtime/linux/../linux/regs.c: In function '_stp_print_regs':
>>>> /usr/share/systemtap/runtime/linux/../linux/regs.c:261:15: error: implicit declaration of function 'get_ds'; did you mean 'get_fs'? [-Werror=implicit-function-declaration]
>>>> 261 | get_fs() == get_ds() ? "kernel" : "user");
>>>> | ^~~~~~
>>>> | get_fs
>>>> In file included from /usr/share/systemtap/runtime/linux/runtime.h:244,
>>>> from /usr/share/systemtap/runtime/runtime.h:26,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:26:
>>>> /usr/share/systemtap/runtime/linux/addr-map.c: In function 'lookup_bad_addr':
>>>> /usr/share/systemtap/runtime/linux/addr-map.c:63:63: error: macro "access_ok" passed 3 arguments, but takes just 2
>>>> 63 | || (in_task() && !stp_access_ok(type, (void *)addr, size))
>>>> | ^
>>>> In file included from ./include/linux/uaccess.h:11,
>>>> from /usr/share/systemtap/runtime/addr-map.h:17,
>>>> from /usr/share/systemtap/runtime/runtime.h:22,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:26:
>>>> ./arch/arm/include/asm/uaccess.h:280: note: macro "access_ok" defined here
>>>> 280 | #define access_ok(addr, size) (__range_ok(addr, size) == 0)
>>>> |
>>>> In file included from /usr/share/systemtap/runtime/linux/runtime.h:244,
>>>> from /usr/share/systemtap/runtime/runtime.h:26,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:26:
>>>> /usr/share/systemtap/runtime/linux/addr-map.c:41:30: error: 'access_ok' undeclared (first use in this function)
>>>> 41 | #define stp_access_ok(x,y,z) access_ok(x,y,z)
>>>> | ^~~~~~~~~
>>>> /usr/share/systemtap/runtime/linux/addr-map.c:63:25: note: in expansion of macro 'stp_access_ok'
>>>> 63 | || (in_task() && !stp_access_ok(type, (void *)addr, size))
>>>> | ^~~~~~~~~~~~~
>>>> /usr/share/systemtap/runtime/linux/addr-map.c:41:30: note: each undeclared identifier is reported only once for each function it appears in
>>>> 41 | #define stp_access_ok(x,y,z) access_ok(x,y,z)
>>>> | ^~~~~~~~~
>>>> /usr/share/systemtap/runtime/linux/addr-map.c:63:25: note: in expansion of macro 'stp_access_ok'
>>>> 63 | || (in_task() && !stp_access_ok(type, (void *)addr, size))
>>>> | ^~~~~~~~~~~~~
>>>> In file included from /usr/share/systemtap/runtime/transport/transport.c:23,
>>>> from /usr/share/systemtap/runtime/linux/print.c:17,
>>>> from /usr/share/systemtap/runtime/print.c:17,
>>>> from /usr/share/systemtap/runtime/runtime_context.h:22,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:56:
>>>> /usr/share/systemtap/runtime/transport/../uidgid_compatibility.h: At top level:
>>>> /usr/share/systemtap/runtime/transport/../uidgid_compatibility.h:16: error: "KUIDT_INIT" redefined [-Werror]
>>>> 16 | #define KUIDT_INIT(value) ((uid_t) value)
>>>> |
>>>> In file included from ./include/linux/ipc.h:6,
>>>> from ./include/uapi/linux/sem.h:5,
>>>> from ./include/linux/sem.h:5,
>>>> from ./include/linux/sched.h:15,
>>>> from ./include/linux/uaccess.h:5,
>>>> from /usr/share/systemtap/runtime/addr-map.h:17,
>>>> from /usr/share/systemtap/runtime/runtime.h:22,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:26:
>>>> ./include/linux/uidgid.h:30: note: this is the location of the previous definition
>>>> 30 | #define KUIDT_INIT(value) (kuid_t){ value }
>>>> |
>>>> In file included from /usr/share/systemtap/runtime/transport/transport.c:23,
>>>> from /usr/share/systemtap/runtime/linux/print.c:17,
>>>> from /usr/share/systemtap/runtime/print.c:17,
>>>> from /usr/share/systemtap/runtime/runtime_context.h:22,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:56:
>>>> /usr/share/systemtap/runtime/transport/../uidgid_compatibility.h:17: error: "KGIDT_INIT" redefined [-Werror]
>>>> 17 | #define KGIDT_INIT(value) ((gid_t) value)
>>>> |
>>>> In file included from ./include/linux/ipc.h:6,
>>>> from ./include/uapi/linux/sem.h:5,
>>>> from ./include/linux/sem.h:5,
>>>> from ./include/linux/sched.h:15,
>>>> from ./include/linux/uaccess.h:5,
>>>> from /usr/share/systemtap/runtime/addr-map.h:17,
>>>> from /usr/share/systemtap/runtime/runtime.h:22,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:26:
>>>> ./include/linux/uidgid.h:31: note: this is the location of the previous definition
>>>> 31 | #define KGIDT_INIT(value) (kgid_t){ value }
>>>> |
>>>> In file included from /usr/share/systemtap/runtime/transport/transport.c:23,
>>>> from /usr/share/systemtap/runtime/linux/print.c:17,
>>>> from /usr/share/systemtap/runtime/print.c:17,
>>>> from /usr/share/systemtap/runtime/runtime_context.h:22,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:56:
>>>> /usr/share/systemtap/runtime/transport/relay_v2.c: In function '__stp_relay_create_buf_file_callback':
>>>> /usr/share/systemtap/runtime/transport/../uidgid_compatibility.h:16:27: error: incompatible types when assigning to type 'kuid_t' {aka 'struct <anonymous>'} from type 'unsigned int'
>>>> 16 | #define KUIDT_INIT(value) ((uid_t) value)
>>>> | ^
>>>> /usr/share/systemtap/runtime/transport/relay_v2.c:249:26: note: in expansion of macro 'KUIDT_INIT'
>>>> 249 | file->d_inode->i_uid = KUIDT_INIT(_stp_uid);
>>>> | ^~~~~~~~~~
>>>> /usr/share/systemtap/runtime/transport/../uidgid_compatibility.h:17:27: error: incompatible types when assigning to type 'kgid_t' {aka 'struct <anonymous>'} from type 'unsigned int'
>>>> 17 | #define KGIDT_INIT(value) ((gid_t) value)
>>>> | ^
>>>> /usr/share/systemtap/runtime/transport/relay_v2.c:250:26: note: in expansion of macro 'KGIDT_INIT'
>>>> 250 | file->d_inode->i_gid = KGIDT_INIT(_stp_gid);
>>>> | ^~~~~~~~~~
>>>> In file included from /usr/share/systemtap/runtime/transport/transport.c:65,
>>>> from /usr/share/systemtap/runtime/linux/print.c:17,
>>>> from /usr/share/systemtap/runtime/print.c:17,
>>>> from /usr/share/systemtap/runtime/runtime_context.h:22,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:56:
>>>> /usr/share/systemtap/runtime/transport/relay_v2.c: At top level:
>>>> /usr/share/systemtap/runtime/transport/relay_v2.c:257:21: error: initialization of 'struct dentry * (*)(const char *, struct dentry *, umode_t, struct rchan_buf *, int *)' {aka 'struct dentry * (*)(const char *, struct dentry *, short unsigned int, struct rchan_buf *, int *)'} from incompatible pointer type 'struct dentry * (*)(const char *, struct dentry *, int, struct rchan_buf *, int *)' [-Werror=incompatible-pointer-types]
>>>> 257 | .create_buf_file = __stp_relay_create_buf_file_callback,
>>>> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>> /usr/share/systemtap/runtime/transport/relay_v2.c:257:21: note: (near initialization for '__stp_relay_callbacks.create_buf_file')
>>>> In file included from /usr/share/systemtap/runtime/transport/transport.c:23,
>>>> from /usr/share/systemtap/runtime/linux/print.c:17,
>>>> from /usr/share/systemtap/runtime/print.c:17,
>>>> from /usr/share/systemtap/runtime/runtime_context.h:22,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:56:
>>>> /usr/share/systemtap/runtime/transport/debugfs.c: In function '_stp_register_ctl_channel_fs':
>>>> /usr/share/systemtap/runtime/transport/../uidgid_compatibility.h:16:27: error: incompatible types when assigning to type 'kuid_t' {aka 'struct <anonymous>'} from type 'unsigned int'
>>>> 16 | #define KUIDT_INIT(value) ((uid_t) value)
>>>> | ^
>>>> /usr/share/systemtap/runtime/transport/debugfs.c:52:34: note: in expansion of macro 'KUIDT_INIT'
>>>> 52 | _stp_cmd_file->d_inode->i_uid = KUIDT_INIT(_stp_uid);
>>>> | ^~~~~~~~~~
>>>> /usr/share/systemtap/runtime/transport/../uidgid_compatibility.h:17:27: error: incompatible types when assigning to type 'kgid_t' {aka 'struct <anonymous>'} from type 'unsigned int'
>>>> 17 | #define KGIDT_INIT(value) ((gid_t) value)
>>>> | ^
>>>> /usr/share/systemtap/runtime/transport/debugfs.c:53:34: note: in expansion of macro 'KGIDT_INIT'
>>>> 53 | _stp_cmd_file->d_inode->i_gid = KGIDT_INIT(_stp_gid);
>>>> | ^~~~~~~~~~
>>>> In file included from /usr/share/systemtap/runtime/linux/print.c:17,
>>>> from /usr/share/systemtap/runtime/print.c:17,
>>>> from /usr/share/systemtap/runtime/runtime_context.h:22,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:56:
>>>> /usr/share/systemtap/runtime/transport/transport.c: In function '_stp_lock_inode':
>>>> /usr/share/systemtap/runtime/transport/transport.c:507:19: error: 'struct inode' has no member named 'i_mutex'
>>>> 507 | mutex_lock(&inode->i_mutex);
>>>> | ^~
>>>> /usr/share/systemtap/runtime/transport/transport.c: In function '_stp_unlock_inode':
>>>> /usr/share/systemtap/runtime/transport/transport.c:520:21: error: 'struct inode' has no member named 'i_mutex'
>>>> 520 | mutex_unlock(&inode->i_mutex);
>>>> | ^~
>>>> In file included from ./include/asm-generic/bug.h:18,
>>>> from ./arch/arm/include/asm/bug.h:60,
>>>> from ./include/linux/bug.h:5,
>>>> from ./include/linux/mmdebug.h:5,
>>>> from ./include/linux/gfp.h:5,
>>>> from /usr/share/systemtap/runtime/linux/runtime_defines.h:20,
>>>> from /usr/share/systemtap/runtime/runtime_defines.h:8,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:11:
>>>> /usr/share/systemtap/runtime/transport/transport.c: In function '_stp_get_root_dir':
>>>> /usr/share/systemtap/runtime/transport/transport.c:603:32: error: 'struct hlist_head' has no member named 'next'
>>>> 603 | sb = list_entry(fs->fs_supers.next, struct super_block,
>>>> | ^
>>>> ./include/linux/kernel.h:970:26: note: in definition of macro 'container_of'
>>>> 970 | void *__mptr = (void *)(ptr); \
>>>> | ^~~
>>>> /usr/share/systemtap/runtime/transport/transport.c:603:8: note: in expansion of macro 'list_entry'
>>>> 603 | sb = list_entry(fs->fs_supers.next, struct super_block,
>>>> | ^~~~~~~~~~
>>>> In file included from ./include/uapi/linux/swab.h:6,
>>>> from ./include/linux/swab.h:5,
>>>> from ./arch/arm/include/asm/opcodes.h:86,
>>>> from ./arch/arm/include/asm/bug.h:7,
>>>> from ./include/linux/bug.h:5,
>>>> from ./include/linux/mmdebug.h:5,
>>>> from ./include/linux/gfp.h:5,
>>>> from /usr/share/systemtap/runtime/linux/runtime_defines.h:20,
>>>> from /usr/share/systemtap/runtime/runtime_defines.h:8,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:11:
>>>> /usr/share/systemtap/runtime/transport/transport.c:603:32: error: 'struct hlist_head' has no member named 'next'
>>>> 603 | sb = list_entry(fs->fs_supers.next, struct super_block,
>>>> | ^
>>>> ./include/linux/compiler.h:325:9: note: in definition of macro '__compiletime_assert'
>>>> 325 | if (!(condition)) \
>>>> | ^~~~~~~~~
>>>> ./include/linux/compiler.h:345:2: note: in expansion of macro '_compiletime_assert'
>>>> 345 | _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
>>>> | ^~~~~~~~~~~~~~~~~~~
>>>> ./include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
>>>> 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
>>>> | ^~~~~~~~~~~~~~~~~~
>>>> ./include/linux/kernel.h:971:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
>>>> 971 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
>>>> | ^~~~~~~~~~~~~~~~
>>>> ./include/linux/kernel.h:971:20: note: in expansion of macro '__same_type'
>>>> 971 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
>>>> | ^~~~~~~~~~~
>>>> ./include/linux/list.h:465:2: note: in expansion of macro 'container_of'
>>>> 465 | container_of(ptr, type, member)
>>>> | ^~~~~~~~~~~~
>>>> /usr/share/systemtap/runtime/transport/transport.c:603:8: note: in expansion of macro 'list_entry'
>>>> 603 | sb = list_entry(fs->fs_supers.next, struct super_block,
>>>> | ^~~~~~~~~~
>>>> /usr/share/systemtap/runtime/transport/transport.c:603:32: error: 'struct hlist_head' has no member named 'next'
>>>> 603 | sb = list_entry(fs->fs_supers.next, struct super_block,
>>>> | ^
>>>> ./include/linux/compiler.h:325:9: note: in definition of macro '__compiletime_assert'
>>>> 325 | if (!(condition)) \
>>>> | ^~~~~~~~~
>>>> ./include/linux/compiler.h:345:2: note: in expansion of macro '_compiletime_assert'
>>>> 345 | _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
>>>> | ^~~~~~~~~~~~~~~~~~~
>>>> ./include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
>>>> 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
>>>> | ^~~~~~~~~~~~~~~~~~
>>>> ./include/linux/kernel.h:971:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
>>>> 971 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
>>>> | ^~~~~~~~~~~~~~~~
>>>> ./include/linux/kernel.h:972:6: note: in expansion of macro '__same_type'
>>>> 972 | !__same_type(*(ptr), void), \
>>>> | ^~~~~~~~~~~
>>>> ./include/linux/list.h:465:2: note: in expansion of macro 'container_of'
>>>> 465 | container_of(ptr, type, member)
>>>> | ^~~~~~~~~~~~
>>>> /usr/share/systemtap/runtime/transport/transport.c:603:8: note: in expansion of macro 'list_entry'
>>>> 603 | sb = list_entry(fs->fs_supers.next, struct super_block,
>>>> | ^~~~~~~~~~
>>>> In file included from /usr/share/systemtap/runtime/print.c:17,
>>>> from /usr/share/systemtap/runtime/runtime_context.h:22,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:56:
>>>> /usr/share/systemtap/runtime/linux/print.c: In function '_stp_print_kernel_info':
>>>> /usr/share/systemtap/runtime/linux/print.c:215:20: error: 'struct module' has no member named 'module_core'
>>>> 215 | THIS_MODULE->module_core,
>>>> | ^~
>>>> /usr/share/systemtap/runtime/linux/print.c:216:37: error: 'struct module' has no member named 'core_size'
>>>> 216 | (unsigned long) (THIS_MODULE->core_size - THIS_MODULE->core_text_size)/1024,
>>>> | ^~
>>>> /usr/share/systemtap/runtime/linux/print.c:216:62: error: 'struct module' has no member named 'core_text_size'
>>>> 216 | (unsigned long) (THIS_MODULE->core_size - THIS_MODULE->core_text_size)/1024,
>>>> | ^~
>>>> /usr/share/systemtap/runtime/linux/print.c:217:44: error: 'struct module' has no member named 'core_text_size'
>>>> 217 | (unsigned long) (THIS_MODULE->core_text_size)/1024,
>>>> | ^~
>>>> In file included from /usr/share/systemtap/runtime/timer.h:17,
>>>> from /tmp/stapgYOLtD/stap_19208_src.c:70:
>>>> /tmp/stapgYOLtD/stap_19208_src.c: In function 'module_refresh_timer_cb':
>>>> /usr/share/systemtap/runtime/linux/timer.h:41:56: error: 'struct hrtimer' has no member named 'expires'
>>>> 41 | #define hrtimer_set_expires(timer, time) (void)((timer)->expires = (time))
>>>> | ^~
>>>> /tmp/stapgYOLtD/stap_19208_src.c:78:3: note: in expansion of macro 'hrtimer_set_expires'
>>>> 78 | hrtimer_set_expires(timer,
>>>> | ^~~~~~~~~~~~~~~~~~~
>>>> /usr/share/systemtap/runtime/linux/timer.h:40:44: error: 'struct hrtimer' has no member named 'expires'
>>>> 40 | #define hrtimer_get_expires(timer) ((timer)->expires)
>>>> | ^~
>>>> /usr/share/systemtap/runtime/linux/timer.h:41:69: note: in definition of macro 'hrtimer_set_expires'
>>>> 41 | #define hrtimer_set_expires(timer, time) (void)((timer)->expires = (time))
>>>> | ^~~~
>>>> /tmp/stapgYOLtD/stap_19208_src.c:79:5: note: in expansion of macro 'ktime_add'
>>>> 79 | ktime_add(hrtimer_get_expires(timer),
>>>> | ^~~~~~~~~
>>>> /tmp/stapgYOLtD/stap_19208_src.c:79:15: note: in expansion of macro 'hrtimer_get_expires'
>>>> 79 | ktime_add(hrtimer_get_expires(timer),
>>>> | ^~~~~~~~~~~~~~~~~~~
>>>> cc1: all warnings being treated as errors
>>>> make[1]: *** [scripts/Makefile.build:278: /tmp/stapgYOLtD/stap_19208_src.o] Error 1
>>>> make: *** [Makefile:1597: _module_/tmp/stapgYOLtD] Error 2
>>>> WARNING: kbuild exited with status: 2
>>>> Pass 4: compilation failed. [man error::pass4]
>>>>
>>> --
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core at lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>
>>
>> --
>> - Thou shalt not follow the NULL pointer, for chaos and madness await
>> thee at its end
>> - "Use the force Harry" - Gandalf, Star Trek II
>
>
More information about the Openembedded-core
mailing list