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

List:       kde-optimize
Subject:    Re: stripping kde libs and binaries
From:       Karl Vogel <karl.vogel () seagha ! com>
Date:       2004-10-20 8:21:14
Message-ID: Xns9588694E8854Cgmovkeb () 80 ! 91 ! 229 ! 5
[Download RAW message or body]

Juergen Pfennig <info@j-pfennig.de> wrote in
news:200410191843.12294.info@j-pfennig.de: 

> On Tuesday 19 October 2004 12:53, CPH wrote:
>> What about also running the strip command on libs and binaries ?

That's something the distro's need to do (and they are already doing it, 
AFAIK)... but it's a fact that due to the usage of the kdeinit fork hack,
that most binaries export way more symbols than necessary. (default with 
GCC+ELF is that everything is exported).

GCC 3.4.2 finally has an option to change the default to hidden. A while 
ago I changed my KDE to only export what was needed.. but I didn't get too 
much reponse on the patch, so I stopped working on it.

Anyway.. I haven't followed the lastest changes to KDE, but if I'm not 
mistaken, the QKW work is making this symbol hiding possible for ELF too.



> Even worse - I heard some people say that SuSE patched the Linux
> loader to pre-read the whole binary - which would be horrible if a
> binary would not be stripped. I still hope that I misunderstood
> something. 

You did... it only madvise()'es the PT_LOAD sections of the binaries.


_______________________________________________
Kde-optimize mailing list
Kde-optimize@kde.org
https://mail.kde.org/mailman/listinfo/kde-optimize
[prev in list] [next in list] [prev in thread] [next in thread] 

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