https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118010
Gaius Mulley <gaius at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #59912|0 |1 is obsolete| | --- Comment #5 from Gaius Mulley <gaius at gcc dot gnu.org> --- Created attachment 60055 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60055&action=edit Proposed fix v2 Here is a proposed fix, which changes the return type from libc.lseek from csizet to cofft. The SYSTEM module now exports cofft and all bootstrap tools have been rebuilt. The patch also adds a new option -fm2-file-offset-bits= to override the default cofft 64 bit declaration.