Hi, I hadn't built Geany for a while, I found the MSYS2 build instructions with autotools. Libtool seems incredibly slow - mainly for linking but even compiling is slow. I've tried disabling AV to no effect. Are there any simple workarounds? The modify-rebuild cycle is painful now.
Also, I'm curious as to why .lo files are built and also interested as to any info about libgeany.
Regards, Nick
On 25 January 2018 at 22:19, Nick Treleaven ntrel002@gmail.com wrote:
Hi, I hadn't built Geany for a while, I found the MSYS2 build instructions with autotools. Libtool seems incredibly slow - mainly for linking but even compiling is slow. I've tried disabling AV to no effect. Are there any simple workarounds? The modify-rebuild cycle is painful now.
Hi Nick,
Long time no hear. I can't help with Windows build speeds but can say that the Linux build does not appear to be significantly slower AFAICT.
Also, I'm curious as to why .lo files are built and also interested as to any info about libgeany.
The idea behind libgeany is that it is a proper library that plugins link against and which hides all symbols that are not specifically exported (IIRC the way Windows always worked). The .lo files are object files compiled to be made part of the library. They are, IIUC, compiled with differing options to .o files, in particular -fPIC since libraries may be loaded in different address locations. I am not sure why that would be slower to compile though.
It is possible that Geany is now compiled with different optimisations by default, -O2 I think since that does data flow analysis that activates a number of important warnings, but as I said the speed on Linux is not markedly affected.
Cheers Lex
Regards, Nick
Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel
Le 25/01/2018 à 04:38, Lex Trotman a écrit :
On 25 January 2018 at 22:19, Nick Treleaven ntrel002@gmail.com wrote:
Hi, I hadn't built Geany for a while, I found the MSYS2 build instructions with autotools. Libtool seems incredibly slow - mainly for linking but even compiling is slow. I've tried disabling AV to no effect. Are there any simple workarounds? The modify-rebuild cycle is painful now.
Long time no hear. I can't help with Windows build speeds but can say that the Linux build does not appear to be significantly slower AFAICT.
No. By default libtool might build object files twice, one static and one shared, just in case it might need both, but I disabled it ages ago as we don't need both (https://github.com/geany/geany/commit/723f4302e0d7bbd938c789b9730366f7c7e030...). Maybe check if libtool on Windows doesn't enforce something stupid like that.
But it might also be that MSYS2 is slow or something, but that Thomas might know more about.
Regards, Colomban
Am 25.01.2018 um 18:27 schrieb Colomban Wendling:
Le 25/01/2018 à 04:38, Lex Trotman a écrit :
On 25 January 2018 at 22:19, Nick Treleaven ntrel002@gmail.com wrote:
Hi, I hadn't built Geany for a while, I found the MSYS2 build instructions with autotools. Libtool seems incredibly slow - mainly for linking but even compiling is slow. I've tried disabling AV to no effect. Are there any simple workarounds? The modify-rebuild cycle is painful now.
Long time no hear. I can't help with Windows build speeds but can say that the Linux build does not appear to be significantly slower AFAICT.
No. By default libtool might build object files twice, one static and one shared, just in case it might need both, but I disabled it ages ago as we don't need both (https://github.com/geany/geany/commit/723f4302e0d7bbd938c789b9730366f7c7e030...). Maybe check if libtool on Windows doesn't enforce something stupid like that.
But it might also be that MSYS2 is slow or something, but that Thomas might know more about.
From my experience (it's been some time) shell scripts (i.e. configure) is horribly slow (disabling AV helps a lot but it's still bad), the compilation itself shouldn't be significantly slower than on Linux.
Can you compare a against Linux builds and post some numbers? Also, what kind of system is this?
Best regards
It's Windows Vista, I don't have a Linux system available. Building libgeany and geany.exe takes at least a minute with autotools. I resurrected the Windows makefiles and updated them to build libgeany.dll, they only take ~2s to do that.
Commit: https://github.com/ntrel/geany/commit/421affbbc92b66a2a128537c97ddbe0f36be89... Branch (contains unrelated work): https://github.com/ntrel/geany/tree/dtags
On 26 January 2018 at 08:29, Thomas Martitz kugel@rockbox.org wrote:
Am 25.01.2018 um 18:27 schrieb Colomban Wendling:
Le 25/01/2018 à 04:38, Lex Trotman a écrit :
On 25 January 2018 at 22:19, Nick Treleaven ntrel002@gmail.com wrote:
Hi, I hadn't built Geany for a while, I found the MSYS2 build instructions with autotools. Libtool seems incredibly slow - mainly for linking but even compiling is slow. I've tried disabling AV to no effect. Are there any simple workarounds? The modify-rebuild cycle is painful now.
Long time no hear. I can't help with Windows build speeds but can say that the Linux build does not appear to be significantly slower AFAICT.
No. By default libtool might build object files twice, one static and one shared, just in case it might need both, but I disabled it ages ago as we don't need both (https://github.com/geany/geany/commit/723f4302e0d7bbd938c78 9b9730366f7c7e03080). Maybe check if libtool on Windows doesn't enforce something stupid like that.
But it might also be that MSYS2 is slow or something, but that Thomas might know more about.
From my experience (it's been some time) shell scripts (i.e. configure) is horribly slow (disabling AV helps a lot but it's still bad), the compilation itself shouldn't be significantly slower than on Linux.
Can you compare a against Linux builds and post some numbers? Also, what kind of system is this?
Best regards
Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel