This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libstdc++ libtool lossage


On Sat, Feb 23, 2002 at 08:51:17PM -0500, David Edelsohn wrote:
> 	It sounds more like GNU/Linux has a loading and relocation
> performance problem which you are trying to work around by omitting as
> many shared library dependencies as you can avoid.  That does not sound
> like a good long-term design.  Note that this is one area where AIX's
> design is very clean and efficient, if you cared to research the topic.

Show me a system where it doesn't matter.
Over 80% of shared libraries on typical Linux system are plain C shared
libraries. Having every such shared library linked against libgcc_s.so means
every program is linked against it.
I cannot imagine how you can manage to avoid a couple
of non-shareable dirty pages per every single process, a bunch of system calls
and relocation/symbol lookup costs per each process just because of libgcc_s
(which is usually not used at all, worst case some divide routine or
something (but those are usually already exported from glibc)).

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]