GNU bug report logs -
#43802
Knot: Linker runs very slowly and crashes during build
Previous Next
Reported by: Simon South <simon <at> simonsouth.net>
Date: Sun, 4 Oct 2020 21:01:02 UTC
Severity: normal
Tags: notabug
Done: Simon South <simon <at> simonsouth.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
So naturally, as soon as I submit the bug report something occurs to me
that gets me unstuck.
The delay and crash are occuring while libtool is using gcc to compile
src/libzscanner/scanner.c, which appears to be generated at build time
from the file scanner.c.t0 in the same directory.
When I build Knot on my own, scanner.c has a size of 272 KB. When guix
builds it, scanner.c somehow balloons out to 1.9 MB! So naturally gcc is
going to need some time and space to make its way through all that code.
In fact the build process actually points out
NOTE: Compilation of scanner.c can take several minutes!
So perhaps all this is completely expected. Still... 1.9 MB. Of C
code. It's tempting to think something is going wrong here. (And anyway,
why the huge discrepancy in file size?)
I'm investigating.
--
Simon South
simon <at> simonsouth.net
This bug report was last modified 4 years and 286 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.