Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
syscall: cannot use s.Rdev (type uint32) as type uint64 in field value on mips #16500
3.1 In go/src/syscall/syscall_linux_mips64x.go, I see that
3.2 On my pc RUN: man 2 stat, I see that
3.3 Then I wrote a test program.
The kernel's layout is (e.g. https://github.com/torvalds/linux/blob/master/arch/mips/include/uapi/asm/stat.h#L92)
So I believe uint32 is correct. Go invokes syscalls directly to the kernel, so we should use kernel's layout instead of libc's.
@ka1em How did you fix the problem at last? Now I am building kubernetes os mips64el/Fedora 21 and getting the same error shown as follows. Any suggestions for me? Many thanks.