macos-fuse-t/go-smb2

Not compatible types for Linux ARM build

sitole opened this issue · 2 comments

I want to build binary output for Linux ARM machines,
during build iam receiving following error (for all arguments here).

vfs/fileinfo_linux.go:19:22: cannot use sysStat.Atim.Sec (variable of type int32) as int64 value in argument to time.Unix

export GOARCH=arm
export GOOS=linux

go build .

If casting value is enough I will send PR but I guess there will be issue with different sizes on ARM vs x86 machines so there will be needed some additional logic for handling.