export BUILDOS=linux export NATIVEBUILDOS=linux export HOSTOS=linux export HOSTARCH=amd64 export TARGETOS=linux export TARGETARCH=amd64 export TARGETVMARCH=amd64 export CC=gcc export ADDCFLAGS=-O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=8192 -m64 -static export NCORES=64 export EXE= export NATIVEBUILDOS=linux GOOS=linux GOARCH=amd64 go install ./syz-fuzzer make fuzzer execprog stress executor make[1]: Entering directory '/syzkaller/gopath/src/github.com/google/syzkaller' export BUILDOS=linux export NATIVEBUILDOS=linux export HOSTOS=linux export HOSTARCH=amd64 export TARGETOS=linux export TARGETARCH=amd64 export TARGETVMARCH=amd64 export CC=gcc export ADDCFLAGS=-O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=8192 -m64 -static export NCORES=64 export EXE= export NATIVEBUILDOS=linux GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/sys.GitRevision=6a9fb250a6413714262c431ca1bf2c32ad94c804 -X 'github.com/google/syzkaller/sys.gitRevisionDate=Tue May 7 09:45:53 2019 +0200'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-fuzzer github.com/google/syzkaller/syz-fuzzer GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/sys.GitRevision=6a9fb250a6413714262c431ca1bf2c32ad94c804 -X 'github.com/google/syzkaller/sys.gitRevisionDate=Tue May 7 09:45:53 2019 +0200'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/sys.GitRevision=6a9fb250a6413714262c431ca1bf2c32ad94c804 -X 'github.com/google/syzkaller/sys.gitRevisionDate=Tue May 7 09:45:53 2019 +0200'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-stress github.com/google/syzkaller/tools/syz-stress mkdir -p ./bin/linux_amd64 gcc -o ./bin/linux_amd64/syz-executor executor/executor.cc \ -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=8192 -m64 -static -DGOOS_linux=1 -DGOARCH_amd64=1 \ -DHOSTGOOS_linux=1 -DGIT_REVISION=\"6a9fb250a6413714262c431ca1bf2c32ad94c804\" # github.com/google/syzkaller/tools/syz-execprog runtime: failed to create new OS thread (have 20 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0x5f8761, 0x9) /usr/local/go/src/runtime/panic.go:616 +0x81 runtime.newosproc(0xc4219a7000, 0xc421cbc000) /usr/local/go/src/runtime/os_linux.go:164 +0x1af runtime.newm1(0xc4219a7000) /usr/local/go/src/runtime/proc.go:1879 +0x113 runtime.newm(0x607da0, 0x0) /usr/local/go/src/runtime/proc.go:1858 +0x9b runtime.startTheWorldWithSema(0xc4200bc501, 0x455723) /usr/local/go/src/runtime/proc.go:1155 +0x1d0 runtime.gcMarkTermination.func3() /usr/local/go/src/runtime/mgc.go:1647 +0x26 runtime.systemstack(0xc400000000) /usr/local/go/src/runtime/asm_amd64.s:409 +0x79 runtime.mstart() /usr/local/go/src/runtime/proc.go:1175 goroutine 17 [running]: runtime.systemstack_switch() /usr/local/go/src/runtime/asm_amd64.s:363 fp=0xc4200bc550 sp=0xc4200bc548 pc=0x451b50 runtime.gcMarkTermination(0x3fee5ebad5fa92f9) /usr/local/go/src/runtime/mgc.go:1647 +0x407 fp=0xc4200bc720 sp=0xc4200bc550 pc=0x4177b7 runtime.gcMarkDone() /usr/local/go/src/runtime/mgc.go:1513 +0x22c fp=0xc4200bc748 sp=0xc4200bc720 pc=0x41734c runtime.gcBgMarkWorker(0xc420020500) /usr/local/go/src/runtime/mgc.go:1912 +0x2e7 fp=0xc4200bc7d8 sp=0xc4200bc748 pc=0x4182c7 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:2361 +0x1 fp=0xc4200bc7e0 sp=0xc4200bc7d8 pc=0x454541 created by runtime.gcBgMarkStartWorkers /usr/local/go/src/runtime/mgc.go:1723 +0x79 goroutine 1 [runnable]: cmd/link/internal/ld.Symaddr(0xc4205f7740, 0xc42a11fe48) /usr/local/go/src/cmd/link/internal/ld/lib.go:2142 +0x79 cmd/link/internal/ld.relocsym(0xc4205b8000, 0xc42076d428) /usr/local/go/src/cmd/link/internal/ld/data.go:437 +0x1998 cmd/link/internal/ld.(*Link).reloc(0xc4205b8000) /usr/local/go/src/cmd/link/internal/ld/data.go:495 +0x69 cmd/link/internal/ld.Main(0x6ed3a0, 0x10, 0x20, 0x1, 0x7, 0x10, 0x5ff52e, 0x1b, 0x5fc864, 0x14, ...) /usr/local/go/src/cmd/link/internal/ld/main.go:226 +0xbb5 main.main() /usr/local/go/src/cmd/link/main.go:62 +0x277 Makefile:142: recipe for target 'execprog' failed make[1]: *** [execprog] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/syzkaller/gopath/src/github.com/google/syzkaller' Makefile:110: recipe for target 'target' failed make: *** [target] Error 2