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 -Wframe-larger-than=8192 -m64 -static export NCORES=32 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 -Wframe-larger-than=8192 -m64 -static export NCORES=32 export EXE= export NATIVEBUILDOS=linux GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/sys.GitRevision=cb704a294c54aed90281c016a6dc0c40ae295601 -X 'github.com/google/syzkaller/sys.gitRevisionDate=Tue Dec 10 16:04:18 2019 +0100'" "-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=cb704a294c54aed90281c016a6dc0c40ae295601 -X 'github.com/google/syzkaller/sys.gitRevisionDate=Tue Dec 10 16:04:18 2019 +0100'" "-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=cb704a294c54aed90281c016a6dc0c40ae295601 -X 'github.com/google/syzkaller/sys.gitRevisionDate=Tue Dec 10 16:04:18 2019 +0100'" "-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 -Wframe-larger-than=8192 -m64 -static -DGOOS_linux=1 -DGOARCH_amd64=1 \ -DHOSTGOOS_linux=1 -DGIT_REVISION=\"cb704a294c54aed90281c016a6dc0c40ae295601\" In file included from executor/executor.cc:133:0: executor/common_linux.h: In function ‘long int syz_read_part_table(long unsigned int, long unsigned int, long int)’: executor/common.h:117:15: error: ignoring return value of ‘ssize_t pwrite(int, const void*, size_t, __off_t)’, declared with attribute warn_unused_result [-Werror=unused-result] __VA_ARGS__; \ ^ executor/common_linux.h:1279:3: note: in expansion of macro ‘NONFAILING’ NONFAILING(pwrite(memfd, segs[i].data, segs[i].size, segs[i].offset)); ^ executor/common_linux.h: In function ‘long int syz_mount_image(long int, long int, long unsigned int, long unsigned int, long int, long int, long int)’: executor/common.h:117:15: error: ignoring return value of ‘ssize_t pwrite(int, const void*, size_t, __off_t)’, declared with attribute warn_unused_result [-Werror=unused-result] __VA_ARGS__; \ ^ executor/common_linux.h:1364:3: note: in expansion of macro ‘NONFAILING’ NONFAILING(pwrite(memfd, segs[i].data, segs[i].size, segs[i].offset)); ^ cc1plus: all warnings being treated as errors Makefile:127: recipe for target 'executor' failed make[1]: *** [executor] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/syzkaller/gopath/src/github.com/google/syzkaller' Makefile:112: recipe for target 'target' failed make: *** [target] Error 2