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

--- Comment #6 from Gerald Pfeifer <gerald at pfeifer dot com> ---
(In reply to Gerald Pfeifer from comment #4)
> Let me change gcc/cp/module.cc as follows
> 
>   -#ifndef HAVE_POSIX_FALLOCATE
>    #define posix_fallocate(fd,off,len) ftruncate (fd, off + len)
>   -#endif
> 
> for my nightly builder. (Setting to NEW since Lorenzo confirmed.)

Success!

Comparing the results from 2024-12-18
  https://gcc.gnu.org/pipermail/gcc-testresults/2024-December/833176.html
with those from 2024-12-20
  https://gcc.gnu.org/pipermail/gcc-testresults/2024-December/833310.html
the size of testsuite output went from 1+MB to 171kB.


Nathaniel, is there any chance you can use this to tweak the code?

(Simply using ftruncate instead of posix_fallocate is not an option,
I guess?)

Reply via email to