-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC] lkl: add arm-linux-androidabi- cross build #88
Conversation
If you want to test further, some suggestions:
|
b7979f5
to
0a689ea
Compare
@thehajime on my machine I don't get the warnings I see in CI. This is the version installed on my machine: Package: gcc-arm-linux-androideabi |
332646d
to
ac0cd9c
Compare
thanks @phhusson . I'm going to use the option 2 with qemu-arm. @opurdila, the default contain of circleci is ubuntu precise (12.04), which seems not to have a package for gcc-arm-linux-androideabi and i'm using gcc in pre-installed android NDK. https://discuss.circleci.com/t/ubuntu-14-04-trusty-container/2260 |
6d5a4b9
to
d596627
Compare
but tests/boot is built. Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
ubuntu 14.04 container on circle ci is surely beta: apt-get update wasn't finished and failed so, we still need to 12.04 container for a while. again, this PR introduces a test failure by segfault of I think we could taken an action:
any thought ? |
it's not true.. |
Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
[RFC] lkl: add arm-linux-androidabi- cross build
I enabled 3rd instance of circle ci and got this: https://circleci.com/gh/lkl/linux/289 arm build was failed and seems another reason of #59 (looks like #102 ?) I will investigate later and give other PRs. |
thanks @ngkaho1234, #109 fixes the above test issue. |
@thehajime Probably #111 fixes this because #109 is reverted from the mainline. |
ah, you're right. thanks @ngkaho1234. |
sysbot/KMSAN reported an uninit-value in recvmsg() that I tracked down to tipc_sk_set_orig_addr(), missing srcaddr->member.scope initialization. This patches moves srcaddr->sock.scope init to follow fields order and ease future verifications. BUG: KMSAN: uninit-value in copy_to_user include/linux/uaccess.h:184 [inline] BUG: KMSAN: uninit-value in move_addr_to_user+0x32e/0x530 net/socket.c:226 CPU: 0 PID: 4549 Comm: syz-executor287 Not tainted 4.17.0-rc3+ lkl#88 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x185/0x1d0 lib/dump_stack.c:113 kmsan_report+0x142/0x240 mm/kmsan/kmsan.c:1067 kmsan_internal_check_memory+0x135/0x1e0 mm/kmsan/kmsan.c:1157 kmsan_copy_to_user+0x69/0x160 mm/kmsan/kmsan.c:1199 copy_to_user include/linux/uaccess.h:184 [inline] move_addr_to_user+0x32e/0x530 net/socket.c:226 ___sys_recvmsg+0x4e2/0x810 net/socket.c:2285 __sys_recvmsg net/socket.c:2328 [inline] __do_sys_recvmsg net/socket.c:2338 [inline] __se_sys_recvmsg net/socket.c:2335 [inline] __x64_sys_recvmsg+0x325/0x460 net/socket.c:2335 do_syscall_64+0x154/0x220 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x4455e9 RSP: 002b:00007fe3bd36ddb8 EFLAGS: 00000246 ORIG_RAX: 000000000000002f RAX: ffffffffffffffda RBX: 00000000006dac24 RCX: 00000000004455e9 RDX: 0000000000002002 RSI: 0000000020000400 RDI: 0000000000000003 RBP: 00000000006dac20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff98ce4b6f R14: 00007fe3bd36e9c0 R15: 0000000000000003 Local variable description: ----addr@___sys_recvmsg Variable was created at: ___sys_recvmsg+0xd5/0x810 net/socket.c:2246 __sys_recvmsg net/socket.c:2328 [inline] __do_sys_recvmsg net/socket.c:2338 [inline] __se_sys_recvmsg net/socket.c:2335 [inline] __x64_sys_recvmsg+0x325/0x460 net/socket.c:2335 Byte 19 of 32 is uninitialized Fixes: 31c82a2 ("tipc: add second source address to recvmsg()/recvfrom()") Signed-off-by: Eric Dumazet <edumazet@google.com> Reported-by: syzbot <syzkaller@googlegroups.com> Cc: Jon Maloy <jon.maloy@ericsson.com> Cc: Ying Xue <ying.xue@windriver.com> Acked-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
please don't merge as-is
I created this patch to try to verify #59 (ARM support) on CircleCI. build test is almost okay though there are so many warnings.
I would like to ask guys for the execution test (i.e.,
make test
) since I didn't get arm emulator running with make test so far.this patch also includes @phhusson's #86 (comment) on
gettid()
, which I can't find any patch in the latest tree.