https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118010

--- Comment #2 from Gaius Mulley <gaius at gcc dot gnu.org> ---
Created attachment 59912
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59912&action=edit
Proposed fix

Many thanks for the bug report.

Here is a proposed patch, (although I've not built it with --Wtype-mismatch
yet).
I've altered all return types to libc_lseek to ssize_t and tested it with:

../configure --prefix=$HOME/opt --enable-bootstrap
--with-build-config="bootstrap-O3 bootstrap-lto"
--enable-languages=c,c++,m2,lto

Any chance you can post your configure runes?

Reply via email to