tschaub commented on PR #3707:
URL: https://github.com/apache/arrow/pull/3707#issuecomment-1230819452

   I don't see any documentation that might have come out of this, but I was 
guessing that something like this might work:
   ```
   GOOS=js GOARCH=wasm go build -o test.wasm ./main.go
   ```
   
   This fails for me with the following:
   ```
   # github.com/apache/arrow/go/v9/internal/utils
   
../../go/pkg/mod/github.com/apache/arrow/go/[email protected]/internal/utils/transpose_ints_def.go:76:4:
 undefined: TransposeInt8Int8
   
../../go/pkg/mod/github.com/apache/arrow/go/[email protected]/internal/utils/transpose_ints_def.go:78:4:
 undefined: TransposeInt8Int16
   
../../go/pkg/mod/github.com/apache/arrow/go/[email protected]/internal/utils/transpose_ints_def.go:80:4:
 undefined: TransposeInt8Int32
   
../../go/pkg/mod/github.com/apache/arrow/go/[email protected]/internal/utils/transpose_ints_def.go:82:4:
 undefined: TransposeInt8Int64
   
../../go/pkg/mod/github.com/apache/arrow/go/[email protected]/internal/utils/transpose_ints_def.go:84:4:
 undefined: TransposeInt8Uint8
   
../../go/pkg/mod/github.com/apache/arrow/go/[email protected]/internal/utils/transpose_ints_def.go:86:4:
 undefined: TransposeInt8Uint16
   
../../go/pkg/mod/github.com/apache/arrow/go/[email protected]/internal/utils/transpose_ints_def.go:88:4:
 undefined: TransposeInt8Uint32
   
../../go/pkg/mod/github.com/apache/arrow/go/[email protected]/internal/utils/transpose_ints_def.go:90:4:
 undefined: TransposeInt8Uint64
   
../../go/pkg/mod/github.com/apache/arrow/go/[email protected]/internal/utils/transpose_ints_def.go:95:4:
 undefined: TransposeInt16Int8
   
../../go/pkg/mod/github.com/apache/arrow/go/[email protected]/internal/utils/transpose_ints_def.go:97:4:
 undefined: TransposeInt16Int16
   
../../go/pkg/mod/github.com/apache/arrow/go/[email protected]/internal/utils/transpose_ints_def.go:97:4:
 too many errors
   # github.com/apache/thrift/lib/go/thrift
   
../../go/pkg/mod/github.com/apache/[email protected]/lib/go/thrift/socket_unix_conn.go:60:63:
 undefined: syscall.MSG_PEEK
   
../../go/pkg/mod/github.com/apache/[email protected]/lib/go/thrift/socket_unix_conn.go:60:80:
 undefined: syscall.MSG_DONTWAIT
   ```
   
   I opened https://issues.apache.org/jira/browse/ARROW-17557 with this 
information, but thought I'd drop a comment here since it might help others 
that are struggling to do the same.
   
   I'm curious if building with `GOOS=js GOARCH=wasm` supposed to be supported.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to