Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conflicting values on mipsel64 #514

Open
siretart opened this issue May 6, 2024 · 1 comment
Open

conflicting values on mipsel64 #514

siretart opened this issue May 6, 2024 · 1 comment

Comments

@siretart
Copy link

siretart commented May 6, 2024

Hi,

In Debian, it appears that packages that use go-fuse panic when running on mipsel64, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069310 for context. Also, #502 is related.

While looking at the issue, I believe the problem comes from

0x8000: "LARGEFILE",

It seems to me that hardcoding that key with the value 0x8000 in the map openFlagNames is making the library unusable on mips64. Maybe there is a better way to handle the LARGEFILE concern outside of the map? @hanwen what's your preference to deal with this issue?

@hanwen
Copy link
Owner

hanwen commented May 7, 2024

I think the best way to solve this is init'ing the map from a struct { flag uint; name string } and remove 0 or duplicate flags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants