Not compatible types for Linux ARM build
sitole opened this issue · 2 comments
sitole commented
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 .
sitole commented
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.
macos-fuse-t commented
If Instead of casting , you put a platform dependent code in a separate
file that would be a better solution
…On Tue, Mar 12, 2024 at 3:05 PM Jiri Sveceny ***@***.***> wrote:
If casting value is enough I will send PR but I guess there will be issue
with different sizes on ARM vs x86 machines.
—
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A24KXFNZ2CQ7K73PMPXTWU3YX34SVAVCNFSM6AAAAABESGK5Q2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJRGYYDQNZVHA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>