KDE/kdevelop [POSSIBLY UNSAFE]

Andreas Pakulat apaku at gmx.de
Thu Apr 26 07:13:23 UTC 2007


On 26.04.07 01:45:36, Andreas Pakulat wrote:
> On 25.04.07 23:33:14, David Nolden wrote:
> > On Wednesday 25 April 2007 23:13:44 Andreas Pakulat wrote:
> > > On 25.04.07 18:48:16, Andreas Pakulat wrote:
> > > > On 23.04.07 17:49:39, David Nolden wrote:
> > > > > boost-serialization -- is used for the whole messaging system, is far
> > > > > superior to qt's serialization-stuff, so it cannot be replaced. The
> > > > > only problem, that still has to be worked on, is that it creates very
> > > > > big executables when compiled in debug-mode.
> > > >
> > > > Wow, 15 Meg is really big (that is libnetwork as static lib).
> > >
> > > Well, as one can see from the commits I turned the whole plugin to
> > > release mode. Now it links within seconds, before it would take >30
> > > minutes, even if the 3 libs are built in release mode.
> > >
> > > This way there's no chance of debugging the teamwork plugin, so I'd like
> > > to know how long it takes for others to link after removing the SET
> > > calls in the CMakeLists.txt and using BUILD_TYPE=debugfull.
> > >
> > > Andreas
> > 
> > For me the linking usually takes about one minute I think, 30 minutes sounds 
> > really extreme.
> 
> For Alexander it also took only 20 seconds (on MacOSX btw). I really am
> wondering where this might come from, any idea how to find out where ld
> is spending its time? (I'm on a stock debian unstable here) And ld takes
> nearly all CPU, but only 15% of memory. I'll see tomorrow how long it
> took in the end.

Here's the result of time make just for linking:

andreas at morpheus:~/KDE-work/4.0/build/kdevelop/plugins/teamwork>time make
[ 14%] Built target diff2
[ 28%] Built target kdevplatforminterfaces
[ 39%] Built target network
[ 39%] Built target dynamictext
Linking CXX shared module ../../lib/kdevteamwork.so
[ 96%] Built target kdevteamwork
[100%] Built target testexec
[100%] Built target kdevteamwork_server

real    24m53.760s
user    23m39.946s
sys     0m57.695s


Any idea how to improve that is appreciated.

Andreas

-- 
Hope that the day after you die is a nice day.




More information about the KDevelop-devel mailing list