On Mon, Nov 28, 2016 at 3:47 AM, Jan Synáček <jan.syna...@gmail.com> wrote: > On Fri, Nov 25, 2016 at 9:36 AM, <to...@tuxteam.de> wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On Fri, Nov 25, 2016 at 08:31:23AM +0100, Jan Synáček wrote: >>> Hello, >>> >>> while building guile-2.1.4 for Fedora, I noticed that the compilation >>> got *really* slow. I didn't measure it precisely, but as can be seen >>> from [1] (about 20 minutes) and [2] (about 100 minutes with make check >>> disabled), the time difference between the builds is roughly 80 >>> minutes... Release notes mention that the VM has been rewritten and >>> the source is now compiled into ELF, but is it supposed to be this >>> slow? >> >> Are you building from scratch? Because then yes, 2.1.x is expected >> to bootstrap slowly [1]. The solution offered ATM is delivering a >> half-bootstrapped system [2]. > > Yes, but even a small (about 3 modules and a few 100s LoC) project of > mine compiles about 3 times slower.
The compiler now performs many more optimizations. If you want faster compile time, turn off optimizations with 'guild compile -O0'. Read the output of 'guild compile -Ohelp' for more information. - Dave