export BUILDOS=linux export NATIVEBUILDOS=linux export HOSTOS=linux export HOSTARCH=amd64 export TARGETOS=linux export TARGETARCH=386 export TARGETVMARCH=amd64 export CC=x86_64-linux-gnu-gcc export ADDCFLAGS=-O2 -pthread -Wall -Werror -Wparentheses -Wframe-larger-than=8192 -m32 -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=386 export TARGETVMARCH=amd64 export CC=x86_64-linux-gnu-gcc export ADDCFLAGS=-O2 -pthread -Wall -Werror -Wparentheses -Wframe-larger-than=8192 -m32 -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=27544d0fc835af3d9135c8706be95879b7f5a7a2 -X 'github.com/google/syzkaller/sys.gitRevisionDate=Tue May 7 12:33:05 2019 +0530'" "-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=27544d0fc835af3d9135c8706be95879b7f5a7a2 -X 'github.com/google/syzkaller/sys.gitRevisionDate=Tue May 7 12:33:05 2019 +0530'" "-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=27544d0fc835af3d9135c8706be95879b7f5a7a2 -X 'github.com/google/syzkaller/sys.gitRevisionDate=Tue May 7 12:33:05 2019 +0530'" "-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_386 x86_64-linux-gnu-gcc -o ./bin/linux_386/syz-executor executor/executor.cc \ -O2 -pthread -Wall -Werror -Wparentheses -Wframe-larger-than=8192 -m32 -static -DGOOS_linux=1 -DGOARCH_386=1 \ -DHOSTGOOS_linux=1 -DGIT_REVISION=\"27544d0fc835af3d9135c8706be95879b7f5a7a2\" executor/executor.cc: In function ‘void execute_call(thread_t*)’: executor/executor.cc:1022:29: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘intptr_t {aka int}’ [-Werror=format=] debug("0x%lx", th->args[i]); ^ executor/executor.cc:1052:84: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘intptr_t {aka int}’ [-Werror=format=] th->id, current_time_ms() - start_time_ms, call->name, th->res, th->reserrno); ^ cc1plus: all warnings being treated as errors Makefile:125: 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:110: recipe for target 'target' failed make: *** [target] Error 2