Repository: go
Issue: gollvm: redefinition of SYS_SENDTO in sysinfo.go
Labels: NeedsInvestigation

> $ make -j 1 gollvm
> [  0%] Built target GoDumpSpecMacroParser
> [  0%] Built target LLVMDemangle
> [  0%] Built target LLVMSupport
> [  0%] Built target LLVMBitstreamReader
> [  0%] Built target LLVMRemarks
> [  0%] Built target LLVMTableGen
> [  0%] Built target LLVMTableGenGlobalISel
> [  0%] Built target obj.llvm-tblgen
> [  0%] Built target llvm-tblgen
> [  0%] Built target intrinsics_gen
> [  0%] Built target LLVMBinaryFormat
> [  0%] Built target LLVMCore
> [  0%] Built target LLVMBitReader
> [  0%] Built target LLVMDebugInfoMSF
> [  0%] Built target LLVMDebugInfoCodeView
> [  0%] Built target LLVMMC
> [  0%] Built target LLVMMCParser
> [  0%] Built target LLVMMCDisassembler
> [  0%] Built target LLVMTextAPI
> [  0%] Built target llvm_vcsrevision_h
> [  0%] Built target LLVMObject
> [  0%] Built target LLVMDebugInfoDWARF
> [  0%] Built target X86CommonTableGen
> [  0%] Built target LLVMX86Info
> [  0%] Built target LLVMX86Desc
> [  0%] Built target GoDumpSpecMacroTokenizer
> [  0%] Built target llvm-godumpspec
> [  0%] Built target GollvmDriverOptions
> [  0%] Built target libgmp
> [  0%] Built target libmpfr
> [  0%] Built target libmpc
> [  0%] Built target LLVMDriverUtils
> [  0%] Built target LLVMAsmParser
> [  0%] Built target LLVMIRReader
> [  0%] Built target LLVMProfileData
> [  0%] Built target LLVMAnalysis
> [  0%] Built target LLVMBitWriter
> [  0%] Built target LLVMTransformUtils
> [  0%] Built target LLVMAggressiveInstCombine
> [  0%] Built target LLVMInstCombine
> [  0%] Built target LLVMScalarOpts
> [  0%] Built target LLVMTarget
> [  0%] Built target LLVMCodeGen
> [  0%] Built target LLVMSelectionDAG
> [  0%] Built target LLVMAsmPrinter
> [  0%] Built target LLVMGlobalISel
> [  0%] Built target omp_gen
> [  0%] Built target omp_cpp
> [  0%] Built target LLVMFrontendOpenMP
> [  0%] Built target LLVMInstrumentation
> [  0%] Built target LLVMVectorize
> [  0%] Built target LLVMLinker
> [  0%] Built target LLVMipo
> [  0%] Built target LLVMHelloNew
> [  0%] Built target LLVMObjCARCOpts
> [  0%] Built target LLVMCoroutines
> [  0%] Built target LLVMCFGuard
> [  0%] Built target LLVMOption
> [  0%] Built target LLVMX86CodeGen
> [  0%] Built target LLVMX86AsmParser
> [  0%] Built target LLVMX86Disassembler
> [  0%] Built target LLVMPasses
> [  0%] Built target LLVMCppGoFrontEnd
> [  0%] Built target LLVMCppGoPasses
> [  0%] Built target llvm-goc
> [  0%] Built target llvm-goc-token
> [  0%] Updating Go exports file for package 'internal/unsafeheader'
> [  0%] Updating Go exports file for package 'internal/cpu'
> [  0%] Updating Go exports file for package 'internal/bytealg'
> [  0%] Updating Go exports file for package 'runtime/internal/atomic'
> [  0%] Updating Go exports file for package 'runtime/internal/sys'
> [  0%] Updating Go exports file for package 'runtime/internal/math'
> [  0%] Updating Go exports file for package 'internal/reflectlite'
> [  0%] Updating Go exports file for package 'errors'
> [  0%] Updating Go exports file for package 'math/bits'
> [  0%] Updating Go exports file for package 'unicode/utf8'
> [  0%] Updating Go exports file for package 'internal/race'
> [  0%] Updating Go exports file for package 'sync/atomic'
> [  0%] Updating Go exports file for package 'sync'
> [  0%] Updating Go exports file for package 'unicode'
> [  0%] Building Go exports file for package 'reflect'
> [  0%] Updating Go exports file for package 'reflect'
> [  0%] Building Go package 'sort' (PIC)
> [  0%] Building Go package 'sort' (non-PIC)
> [  0%] Building Go exports file for package 'sort'
> [  0%] Updating Go exports file for package 'sort'
> [  0%] Building Go package 'internal/fmtsort' (PIC)
> [  0%] Building Go package 'internal/fmtsort' (non-PIC)
> [  0%] Building Go exports file for package 'internal/fmtsort'
> [  0%] Updating Go exports file for package 'internal/fmtsort'
> [  0%] Updating Go exports file for package 'io'
> [  0%] Updating Go exports file for package 'internal/oserror'
> [  0%] Building Go package 'syscall' (PIC)
> /home/oceanfish81/workarea/gollvm_release/tools/gollvm/libgo/sysinfo.go:2383:1: error: expected declaration
> /home/oceanfish81/workarea/gollvm_release/tools/gollvm/libgo/sysinfo.go:5355:7: error: redefinition of 'SYS_SENDTO'
> /home/oceanfish81/workarea/gollvm_release/tools/gollvm/libgo/sysinfo.go:4:7: note: previous definition of 'SYS_SENDTO' was here
> /home/oceanfish81/workarea/gollvm_release/tools/gollvm/libgo/sysinfo.go:5360:7: error: redefinition of 'SYS_SET_MEMPOLICY'
> /home/oceanfish81/workarea/gollvm_release/tools/gollvm/libgo/sysinfo.go:6:7: note: previous definition of 'SYS_SET_MEMPOLICY' was here
> make[3]: *** [tools/gollvm/libgo/CMakeFiles/libgotool.dir/build.make:3785: tools/gollvm/libgo/.pic/syscall.o] Error 3
> make[2]: *** [CMakeFiles/Makefile2:36771: tools/gollvm/libgo/CMakeFiles/libgotool.dir/all] Error 2
> make[1]: *** [CMakeFiles/Makefile2:18210: tools/gollvm/CMakeFiles/gollvm.dir/rule] Error 2
> make: *** [Makefile:3975: gollvm] Error 2
>