https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84402
--- Comment #73 from rguenther at suse dot de <rguenther at suse dot de> --- On Thu, 10 Sep 2026, dcb314 at hotmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84402 > > David Binderman <dcb314 at hotmail dot com> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |dcb314 at hotmail dot com > > --- Comment #72 from David Binderman <dcb314 at hotmail dot com> --- > I notice that the fixincludes/fixinc.sh script is single threaded. > > On machines with only a few header files ( < 1000 ?) this > doesn't matter much, but some machines (i.e. mine) have 70,000 > header files. > > I use the following script to make sure the filesystem caches are not cold: > > # Start > find /usr/include -name \*.h -print | wc -l > for i in `find /usr/include -name \*.h -print | awk -f awk.in` > do > echo $i > head -1 $i > /dev/null > done > # End > > where awk.in is > > { > if ((NR % 16) == 0) print $0; > }; > > This script and the awk file reduce a build time from 2-3 hours > to about 35 minutes on a 16 thread / 8 core machine. > > Does fixincludes/fixinc.sh script need to made more parallel I wonder ? fixincludes shouldn't be needed on most systems and it should be disabled by default. I think --disable-fixincludes might work.
