Alright, this was easier than an issue in glibc... arm64 does not handle
(char) overflow, when getting the ret value from getopt(). An overflow
to (char) num will be seen as 255 in arm64, instead of -1, like the
getopt() from main expects, making the getopt() logic to loop forever.

I'll suggest a small patch shortly.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1840958

Title:
  defragfs.ocfs2 hangs (or takes too long) on arm64, ppc64el

To manage notifications about this bug go to:
https://bugs.launchpad.net/ocfs2-tools/+bug/1840958/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to