[ https://issues.apache.org/jira/browse/ARROW-17557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kouhei Sutou updated ARROW-17557: --------------------------------- Summary: [Go] WASM build fails (was: WASM build fails) > [Go] WASM build fails > --------------------- > > Key: ARROW-17557 > URL: https://issues.apache.org/jira/browse/ARROW-17557 > Project: Apache Arrow > Issue Type: Bug > Reporter: Tim Schaub > Priority: Major > > I see ARROW-4689 and it looks like > [https://github.com/apache/arrow/pull/3707] was supposed to add support for > building with {{GOOS=js GOARCH=wasm}}. > When I try to build a wasm binary, I get the following failure > {code} > # GOOS=js GOARCH=wasm go build -o test.wasm ./main.go > # github.com/apache/arrow/go/v9/internal/utils > ../../go/pkg/mod/github.com/apache/arrow/go/v9@v9.0.0/internal/utils/transpose_ints_def.go:76:4: > undefined: TransposeInt8Int8 > ../../go/pkg/mod/github.com/apache/arrow/go/v9@v9.0.0/internal/utils/transpose_ints_def.go:78:4: > undefined: TransposeInt8Int16 > ../../go/pkg/mod/github.com/apache/arrow/go/v9@v9.0.0/internal/utils/transpose_ints_def.go:80:4: > undefined: TransposeInt8Int32 > ../../go/pkg/mod/github.com/apache/arrow/go/v9@v9.0.0/internal/utils/transpose_ints_def.go:82:4: > undefined: TransposeInt8Int64 > ../../go/pkg/mod/github.com/apache/arrow/go/v9@v9.0.0/internal/utils/transpose_ints_def.go:84:4: > undefined: TransposeInt8Uint8 > ../../go/pkg/mod/github.com/apache/arrow/go/v9@v9.0.0/internal/utils/transpose_ints_def.go:86:4: > undefined: TransposeInt8Uint16 > ../../go/pkg/mod/github.com/apache/arrow/go/v9@v9.0.0/internal/utils/transpose_ints_def.go:88:4: > undefined: TransposeInt8Uint32 > ../../go/pkg/mod/github.com/apache/arrow/go/v9@v9.0.0/internal/utils/transpose_ints_def.go:90:4: > undefined: TransposeInt8Uint64 > ../../go/pkg/mod/github.com/apache/arrow/go/v9@v9.0.0/internal/utils/transpose_ints_def.go:95:4: > undefined: TransposeInt16Int8 > ../../go/pkg/mod/github.com/apache/arrow/go/v9@v9.0.0/internal/utils/transpose_ints_def.go:97:4: > undefined: TransposeInt16Int16 > ../../go/pkg/mod/github.com/apache/arrow/go/v9@v9.0.0/internal/utils/transpose_ints_def.go:97:4: > too many errors > # github.com/apache/thrift/lib/go/thrift > ../../go/pkg/mod/github.com/apache/thrift@v0.15.0/lib/go/thrift/socket_unix_conn.go:60:63: > undefined: syscall.MSG_PEEK > ../../go/pkg/mod/github.com/apache/thrift@v0.15.0/lib/go/thrift/socket_unix_conn.go:60:80: > undefined: syscall.MSG_DONTWAIT > {code} > {code} > go version go1.18.2 darwin/arm64 > {code} > {code} > github.com/apache/arrow/go/v9 v9.0.0 > {code} > Does additional code need to be generated for the {{wasm}} arch? -- This message was sent by Atlassian Jira (v8.20.10#820010)