You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It has issues when cross compile it to binaries for multiple platforms:
Number of parallel builds: 5
--> linux/amd64: github.com/flomesh-io/fsm/cmd/cli
--> linux/arm64: github.com/flomesh-io/fsm/cmd/cli
--> darwin/arm64: github.com/flomesh-io/fsm/cmd/cli
--> darwin/amd64: github.com/flomesh-io/fsm/cmd/cli
3 errors occurred:
--> linux/arm64 error: exit status 1
Stderr: # runtime/cgo
gcc_arm64.S: Assembler messages:
gcc_arm64.S:30: Error: no such instruction: `stp x29,x30,[sp,'
gcc_arm64.S:34: Error: too many memory references for `mov'
gcc_arm64.S:36: Error: no such instruction: `stp x19,x20,[sp,'
gcc_arm64.S:39: Error: no such instruction: `stp x21,x22,[sp,'
gcc_arm64.S:42: Error: no such instruction: `stp x23,x24,[sp,'
gcc_arm64.S:45: Error: no such instruction: `stp x25,x26,[sp,'
gcc_arm64.S:48: Error: no such instruction: `stp x27,x28,[sp,'
gcc_arm64.S:52: Error: too many memory references for `mov'
gcc_arm64.S:53: Error: too many memory references for `mov'
gcc_arm64.S:54: Error: too many memory references for `mov'
gcc_arm64.S:56: Error: no such instruction: `blr x20'
gcc_arm64.S:57: Error: no such instruction: `blr x19'
gcc_arm64.S:59: Error: no such instruction: `ldp x27,x28,[sp,'
gcc_arm64.S:62: Error: no such instruction: `ldp x25,x26,[sp,'
gcc_arm64.S:65: Error: no such instruction: `ldp x23,x24,[sp,'
gcc_arm64.S:68: Error: no such instruction: `ldp x21,x22,[sp,'
gcc_arm64.S:71: Error: no such instruction: `ldp x19,x20,[sp,'
gcc_arm64.S:74: Error: no such instruction: `ldp x29,x30,[sp],'
--> darwin/arm64 error: exit status 1
Stderr: go: downloading github.com/mitchellh/go-homedir v1.1.0
# runtime/cgo
clang: error: argument unused during compilation: '-arch arm64' [-Werror,-Wunused-command-line-argument]
--> darwin/amd64 error: exit status 1
Stderr: go: downloading github.com/mitchellh/go-homedir v1.1.0
# runtime/cgo
clang: error: argument unused during compilation: '-arch x86_64' [-Werror,-Wunused-command-line-argument]
exit status 1
make: *** [Makefile:364: build-cross] Error 1
The goccy/go-graphviz project is not so actively developed, I found samiliar issues have been resolved for years:
Although at the moment I haven't replaced this dependency, but hopefully with the newer version of goccy/go-graphviz, this should be somewhat less of a problem.
It has issues when cross compile it to binaries for multiple platforms:
The goccy/go-graphviz project is not so actively developed, I found samiliar issues have been resolved for years:
Is it possible to switch to other library with same function?
The text was updated successfully, but these errors were encountered: