[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Summary from Buildsystem BoF at Desktop Summit
From:       Jeremy Whiting <jpwhiting () kde ! org>
Date:       2011-08-16 18:10:22
Message-ID: CADWV2K59V_xmG5ZEkR7e66iNW=AEFO8T=weKqHGT_pSpSt8A7g () mail ! gmail ! com
[Download RAW message or body]

On Mon, Aug 15, 2011 at 3:31 PM, Alexander Neundorf <neundorf@kde.org>wrote:

> **
> snip
>
>  -----------------------------------------
>
> 7) (Getting rid of) kdeinit
>
> -----------------------------------------
>
> There was a discussion about what makes a KDE application different from a
> non-KDE application. One thing is kdeinit, which is used to speed up load
> time of applications by running a daemon (kdeinit) which is linked against a
> set of shared libraries, and which dlopen()s the applications (i.e. their
> plugin) instead of simply executing them normally.
>
> - somebody (Volker ?) said that this speedup is still very much needed,
> especially on slower platforms, e.g. tablets
>
> - Dirk mentioned that at least on Linux, when building PIE executables
> (position independent executables), executables can be loaded also as shared
> object, and our special buildsystem magic would not be required anymore. But
> this would work only on Linux, with kernels >= 2.6.10 (or so, i.e. already
> since a few years).
>
> - on Windows kdeinit is not used at all
>
> - there was nobody there who knew exactly about the situation on OSX
>
> - not sure about FreeBSD
>
> Proposal: get rid of our build magic to create kdeinit modules, and simply
> create PIE executables on platforms that support it (i.e. at least Linux, no
> problem for Windows), keeping the advantages we have there.
>

somebody said it's still important/needed, then dirk said we don't need it
because of PIE executables on linux?  Are we (cmake, etc.) building kde as
PIE on linux already?

thanks,
Jeremy

[Attachment #3 (text/html)]

<br><br><div class="gmail_quote">On Mon, Aug 15, 2011 at 3:31 PM, Alexander Neundorf \
<span dir="ltr">&lt;<a href="mailto:neundorf@kde.org">neundorf@kde.org</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex;"> <u></u>
<div style="font-family:&#39;Monospace&#39;;font-size:9pt;font-weight:400;font-style:normal">snip<p \
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p>
 <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p>
 <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p>
 <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">-----------------------------------------</p>
 <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">7) \
(Getting rid of) kdeinit</p> <p \
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">-----------------------------------------</p>
 <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p>
 <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">There \
was a discussion about what makes a KDE application different from a non-KDE \
application. One thing is kdeinit, which is used to speed up load time of \
applications by running a daemon (kdeinit) which is linked against a set of shared \
libraries, and which dlopen()s the applications (i.e. their plugin) instead of simply \
executing them normally.</p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p>
 <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">- \
somebody (Volker ?) said that this speedup is still very much needed, especially on \
slower platforms, e.g. tablets</p> <p \
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">- \
Dirk mentioned that at least on Linux, when building PIE executables (position \
independent executables), executables can be loaded also as shared object, and our \
special buildsystem magic would not be required anymore. But this would work only on \
Linux, with kernels &gt;= 2.6.10 (or so, i.e. already since a few years).</p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">- \
on Windows kdeinit is not used at all</p> <p \
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">- \
there was nobody there who knew exactly about the situation on OSX</p> <p \
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">- \
not sure about FreeBSD</p> <p \
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p>
 <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Proposal: \
get rid of our build magic to create kdeinit modules, and simply create PIE \
executables on platforms that support it (i.e. at least Linux, no problem for \
Windows), keeping the advantages we have there.</p> \
</div></blockquote><div><br>somebody said it&#39;s still important/needed, then dirk \
said we don&#39;t need it because of PIE executables on linux?  Are we (cmake, etc.) \
building kde as PIE on linux already?<br></div></div> <br>thanks,<br>Jeremy<br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic