https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70975
--- Comment #3 from Rainer Orth <ro at gcc dot gnu.org> --- Just FYI, in a recent Solaris 12 build sendfile was changed to accept a NULL off for Linux compatibility. However, the separate Solaris 10/11 (which isn't used yet) doesn't have that change and probably wont. Rainer