vmware-archive / vmw-guestinfo

Apache License 2.0
43 stars 20 forks source link

no such instruction: `text ·bdoor_inout(SB),NOSPLIT|WRAPPER,$0' ,while building talos with gollvm #19

Open advancedwebdeveloper opened 4 years ago

advancedwebdeveloper commented 4 years ago

Hi there. I was trying to build talos project using gollvm .

I was trying to use two known options:

$ go build -i -v -x main.go WORK=/tmp/go-build763921707 github.com/vmware/vmw-guestinfo/bdoor mkdir -p $WORK/b242/ cd $WORK /usr/local/bin/llvm-goc -fgo-importcfg=/dev/null -c -x c - -o /dev/null || true cd /home/oceanfish81/go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor /usr/local/bin/llvm-goc -c -O2 -g -m64 -fdebug-prefix-map=$WORK=/tmp/go-build -gno-record-gcc-switches -fgo-pkgpath=github.com/vmware/vmw-guestinfo/bdoor -o $WORK/b242/go.o -I $WORK/b242/importcfgroot ./bdoor.go ./bdoor_amd64.go ./word.go /usr/local/bin/llvm-goc -xassembler-with-cpp -I $WORK/b242/ -c -o $WORK/b242/bdoor_amd64.o -D GOOS_linux -D GOARCH_amd64 -D GOPKGPATH=github.x2ecom..z2fvmware..z2fvmw..z2dguestinfo..z2fbdoor -m64 ./bdoor_amd64.s

github.com/vmware/vmw-guestinfo/bdoor

../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s: Assembler messages: ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:31: Error: no such instruction: text ·bdoor_inout(SB),NOSPLIT|WRAPPER,$0' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:32: Error: junk(FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:32: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:33: Error: junk(FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:33: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:34: Error: junk(FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:34: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:35: Error: junk(FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:35: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:36: Error: junk(FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:36: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:37: Error: junk(FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:37: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:38: Error: junk(FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:38: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:41: Error: number of operands mismatch forin' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:43: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:44: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:45: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:46: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:47: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:48: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:49: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:53: Error: no such instruction:text ·bdoor_hbout(SB),NOSPLIT|WRAPPER,$0' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:54: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:54: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:55: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:55: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:56: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:56: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:57: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:57: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:58: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:58: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:59: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:59: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:60: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:60: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:64: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:65: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:66: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:67: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:68: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:69: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:70: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:74: Error: no such instruction:text ·bdoor_hbin(SB),NOSPLIT|WRAPPER,$0' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:75: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:75: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:76: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:76: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:77: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:77: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:78: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:78: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:79: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:79: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:80: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:80: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:81: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:81: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:85: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:86: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:87: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:88: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:89: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:90: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:91: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:95: Error: no such instruction:text ·bdoor_inout_test(SB),NOSPLIT|WRAPPER,$0' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:96: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:96: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:97: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:97: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:98: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:98: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:99: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:99: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:100: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:100: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:101: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:101: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:102: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:102: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:104: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:105: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:106: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:107: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:108: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:109: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:110: Error: too many memory references for `movq'

Another one assume involving "noasm" build tag:

$ go build -i -v -x -tags noasm main.go WORK=/tmp/go-build396031801 github.com/vmware/vmw-guestinfo/bdoor mkdir -p $WORK/b242/ cd $WORK /usr/local/bin/llvm-goc -fgo-importcfg=/dev/null -c -x c - -o /dev/null || true cd /home/oceanfish81/go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor /usr/local/bin/llvm-goc -c -O2 -g -m64 -fdebug-prefix-map=$WORK=/tmp/go-build -gno-record-gcc-switches -fgo-pkgpath=github.com/vmware/vmw-guestinfo/bdoor -o $WORK/b242/go.o -I $WORK/b242/importcfgroot ./bdoor.go ./bdoor_amd64.go ./word.go /usr/local/bin/llvm-goc -xassembler-with-cpp -I $WORK/b242/ -c -o $WORK/b242/bdoor_amd64.o -D GOOS_linux -D GOARCH_amd64 -D GOPKGPATH=github.x2ecom..z2fvmware..z2fvmw..z2dguestinfo..z2fbdoor -m64 ./bdoor_amd64.s

github.com/vmware/vmw-guestinfo/bdoor

../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s: Assembler messages: ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:31: Error: no such instruction: text ·bdoor_inout(SB),NOSPLIT|WRAPPER,$0' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:32: Error: junk(FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:32: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:33: Error: junk(FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:33: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:34: Error: junk(FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:34: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:35: Error: junk(FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:35: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:36: Error: junk(FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:36: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:37: Error: junk(FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:37: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:38: Error: junk(FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:38: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:41: Error: number of operands mismatch forin' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:43: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:44: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:45: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:46: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:47: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:48: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:49: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:53: Error: no such instruction:text ·bdoor_hbout(SB),NOSPLIT|WRAPPER,$0' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:54: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:54: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:55: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:55: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:56: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:56: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:57: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:57: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:58: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:58: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:59: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:59: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:60: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:60: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:64: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:65: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:66: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:67: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:68: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:69: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:70: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:74: Error: no such instruction:text ·bdoor_hbin(SB),NOSPLIT|WRAPPER,$0' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:75: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:75: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:76: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:76: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:77: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:77: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:78: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:78: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:79: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:79: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:80: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:80: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:81: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:81: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:85: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:86: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:87: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:88: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:89: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:90: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:91: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:95: Error: no such instruction:text ·bdoor_inout_test(SB),NOSPLIT|WRAPPER,$0' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:96: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:96: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:97: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:97: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:98: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:98: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:99: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:99: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:100: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:100: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:101: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:101: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:102: Error: junk (FP)' after expression ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:102: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:104: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:105: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:106: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:107: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:108: Error: too many memory references for movq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:109: Error: too many memory references formovq' ../../../go/pkg/mod/github.com/vmware/vmw-guestinfo@v0.0.0-20200218095840-687661b8bd8e/bdoor/bdoor_amd64.s:110: Error: too many memory references for `movq'

Ivan

advancedwebdeveloper commented 4 years ago

CC @sigma @fdawg4l @caglar10ur @frapposelli BCC @rsmitty @andrewrynhard @bradbeam BCC @thanm @cherrymui

Ivan

sigma commented 4 years ago

this is unfortunately the expected behavior: those assembly files are using the gc syntax, which other toolchains (gccgo, and apparently gollvm don't support) We probably should guard those .s files with a "+build gc" tag and that would make the build failure more obvious, but fundamentally what's needed is to provide a suitable definition of the same functions for gollvm.

It might be interesting in the context of #18 in the sense that if avo supported generation of multiple formats (but I don't think it does) then we could still centralize the definition the same way.