The cmp(1) program mmaps the files to be compared. This fails for large files. Fix: Add a loop around the mmap/compare operation which operates on some moderate amount of data each iteration. How-To-Repeat: cmp -l file.1 file.2 where the two files are 3242115072 bytes long
Responsible Changed From-To: freebsd-bugs->mikeh Add another one to the todo list. I'm working on some patches for this anyways.
State Changed From-To: open->closed Closed in favour of PR 24732, which has patches which have been committed to -current.