by@nakario_jp
WA
1713ms
package main //f(){for(i=0;i<32;i++){putchar('1');}} import "C" func main(){C.f()}
478 763 572 332 688 734 955 668 442 642 366 998 622 697 343 379 478 882 969 821 753 513 588 184 485 942 848 986 494 699 281 443 788 488 643 232 243 342 191 287 714 147 377 786 934 335 476 993 699 967 563 362 885 889 195 528 354 549 734 448 366 661 688 882
# command-line-arguments /tmp/code.go: In function 'f': /tmp/code.go:2:9: error: 'i' undeclared (first use in this function) 2 | //f(){for(i=0;i<32;i++){putchar('1');}} | ^ /tmp/code.go:2:9: note: each undeclared identifier is reported only once for each function it appears in /root/script: line 7: /tmp/code: not found rm: can't remove '/tmp/code': No such file or directory
10 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffc7ffc4180 /* 7 vars */) = 0 11 execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x5582f1640d18 /* 7 vars */) = 0 11 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 12 execve("/bin/ln", ["ln", "-sf", "/volume/CODE", "/tmp/code.go"], 0x5582f1640d38 /* 7 vars */) = 0 12 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 13 execve("/usr/bin/go", ["/usr/bin/go", "build", "-o", "/tmp/code", "/tmp/code.go"], 0x5582f294b028 /* 7 vars */) = 0 20 execve("/usr/lib/go/pkg/tool/linux_amd64/compile", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc0002135f0 /* 25 vars */) = 0 21 execve("/usr/lib/go/pkg/tool/linux_amd64/cgo", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc000229c70 /* 25 vars */) = 0 24 +++ exited with 0 +++ 26 +++ exited with 0 +++ 25 +++ exited with 0 +++ 22 +++ exited with 0 +++ 20 +++ exited with 0 +++ 18 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=20, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 27 execve("/usr/lib/go/pkg/tool/linux_amd64/asm", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc000213860 /* 25 vars */) = 0 28 +++ exited with 0 +++ 29 +++ exited with 0 +++ 30 +++ exited with 0 +++ 27 +++ exited with 0 +++ 23 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=27, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 33 +++ exited with 0 +++ 32 +++ exited with 0 +++ 31 +++ exited with 0 +++ 21 +++ exited with 0 +++ 23 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=21, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 34 execve("/usr/lib/go/pkg/tool/linux_amd64/cgo", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-objdir", "/tmp/go-build764385399/b001/", "-importpath", "command-line-arguments", "--", "-I", "/tmp/go-build764385399/b001/", "-g", "-O2", "/tmp/code.go"], 0xc00011c000 /* 26 vars */) = 0 39 execve("/usr/bin/gcc", ["gcc", "-E", "-dM", "-m64", "-I", "/tmp/go-build764385399/b001/", "-O2", "-I", ".", "/tmp/cgo-gcc-input-146833288.c"], 0xc0000de000 /* 29 vars */) = 0 40 execve("/usr/libexec/gcc/x86_64-alpine-linux-musl/9.3.0/cc1", ["/usr/libexec/gcc/x86_64-alpine-l"..., "-E", "-quiet", "-I", "/tmp/go-build764385399/b001/", "-I", ".", "/tmp/cgo-gcc-input-146833288.c", "-m64", "-mtune=generic", "-march=x86-64", "-O2", "-dM"], 0x1f7f7c0 /* 31 vars */) = 0 40 +++ exited with 0 +++ 39 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=40, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 39 +++ exited with 0 +++ 34 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=39, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 41 execve("/usr/bin/gcc", ["gcc", "-w", "-Wno-error", "-o/tmp/go-build764385399/b001//_"..., "-gdwarf-2", "-c", "-I", "/tmp/go-build764385399/b001/", "-m64", "-O0", "-I", ".", "/tmp/cgo-gcc-input-578633543.c"], 0xc00011c000 /* 29 vars */) = 0 42 execve("/usr/libexec/gcc/x86_64-alpine-linux-musl/9.3.0/cc1", ["/usr/libexec/gcc/x86_64-alpine-l"..., "-quiet", "-I", "/tmp/go-build764385399/b001/", "-I", ".", "/tmp/cgo-gcc-input-578633543.c", "-quiet", "-dumpbase", "cgo-gcc-input-578633543.c", "-m64", "-mtune=generic", "-march=x86-64", "-auxbase-strip", "/tmp/go-build764385399/b001//_cg"..., "-gdwarf-2", "-O0", "-Wno-error", "-w", "-o", "/tmp/ccpooLOM.s"], 0xb72920 /* 31 vars */) = 0 42 +++ exited with 1 +++ 41 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=42, si_uid=0, si_status=1, si_utime=0, si_stime=0} --- 41 +++ exited with 1 +++ 38 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=41, si_uid=0, si_status=1, si_utime=0, si_stime=0} --- 43 execve("/usr/bin/gcc", ["gcc", "-w", "-Wno-error", "-o/tmp/go-build764385399/b001//_"..., "-gdwarf-2", "-c", "-I", "/tmp/go-build764385399/b001/", "-O2", "-m64", "-I", ".", "/tmp/cgo-gcc-input-509505530.c"], 0xc0000de0f0 /* 29 vars */) = 0 44 execve("/usr/libexec/gcc/x86_64-alpine-linux-musl/9.3.0/cc1", ["/usr/libexec/gcc/x86_64-alpine-l"..., "-quiet", "-I", "/tmp/go-build764385399/b001/", "-I", ".", "/tmp/cgo-gcc-input-509505530.c", "-quiet", "-dumpbase", "cgo-gcc-input-509505530.c", "-m64", "-mtune=generic", "-march=x86-64", "-auxbase-strip", "/tmp/go-build764385399/b001//_cg"..., "-gdwarf-2", "-O2", "-Wno-error", "-w", "-o", "/tmp/ccGeCPaL.s"], 0x1005920 /* 31 vars */) = 0 44 +++ exited with 1 +++ 43 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=44, si_uid=0, si_status=1, si_utime=0, si_stime=0} --- 43 +++ exited with 1 +++ 38 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=43, si_uid=0, si_status=1, si_utime=0, si_stime=0} --- 38 +++ exited with 2 +++ 37 +++ exited with 2 +++ 36 +++ exited with 2 +++ 35 +++ exited with 2 +++ 34 +++ exited with 2 +++ 19 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=34, si_uid=0, si_status=2, si_utime=0, si_stime=1} --- 16 +++ exited with 2 +++ 23 +++ exited with 2 +++ 19 +++ exited with 2 +++ 18 +++ exited with 2 +++ 17 +++ exited with 2 +++ 14 +++ exited with 2 +++ 15 +++ exited with 2 +++ 13 +++ exited with 2 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=2, si_utime=3, si_stime=8} --- 45 execve("/bin/cat", ["cat", "-"], 0x5582f1640d08 /* 7 vars */ <unfinished ...> 46 execve("/tmp/code", ["/tmp/code"], 0x5582f1640cf0 /* 7 vars */) = -1 ENOENT (No such file or directory) 45 <... execve resumed>) = 0 46 +++ exited with 127 +++ 45 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=46, si_uid=0, si_status=127, si_utime=0, si_stime=0} --- 47 execve("/bin/rm", ["rm", "/tmp/code.go", "/tmp/code"], 0x5582f1640cf0 /* 7 vars */) = 0 47 +++ exited with 1 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=47, si_uid=0, si_status=1, si_utime=0, si_stime=0} --- 10 +++ exited with 1 +++