bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libtool 1.4 -- totally insane resource usage


From: Morten Welinder
Subject: libtool 1.4 -- totally insane resource usage
Date: 31 Aug 2001 14:26:09 -0000

Hi there,

linking gnumeric using libtool 1.4 currently takes an unreasonable
time.  It's more or less all spent in libtool, see the report below
(which does not include subprocesses).  To reproduce, just run
your favourite libtool link under strace.

libtool has outgrown being a shell script.  Due to style and lack
of caching, it hits the same files over and over again.  Hundreds
of times, in fact.

Moreover, being a shell script, it starts an absurd number of
subprocesses -- 1013 to be precise.

FYI, this is on a Solaris 2.8/Sparc system.  All file systems, but
/tmp, are NFS.

Morten





Cumulative Syscall Times.
------------------------

Syscall    Count  Time(s)
-------------------------
read        3928    17.59
waitid      1136     3.08
stat64      6849     2.65
fork        1013     0.70
ioctl       2271     0.27
close       1909     0.23
link         886     0.14
pipe         889     0.13
open64       123     0.11
brk          235     0.03
sigaction     53     0.01
open          15     0.01
(other)       52     0.01

Repetitive File Name Usage.
--------------------------

This is a list of files that are accessed, one way or another, at least
twice.  Note, that current directory is not being tracked.

Count  Filename                                        
-------------------------------------------------------
  889  /tmp/sh31991
  216  /home/welinder/gnome/lib/libnsl.la
  216  /home/welinder/gnome/lib/libsocket.la
  176  /home/welinder/gnome/lib/libdl.la
  166  /home/welinder/gnome/lib/libm.la
  135  /home/welinder/gnome/lib/libz.la
  134  /usr/lib/libdl.la
  134  /usr/local/lib/libdl.la
  130  /home/welinder/gnome/lib/libX11.la
  128  /usr/lib/libnsl.la
  128  /usr/lib/libsocket.la
  128  /usr/local/lib/libnsl.la
  128  /usr/local/lib/libsocket.la
  124  /usr/lib/libm.la
  124  /usr/local/lib/libm.la
  122  /home/welinder/gnome/lib/libXext.la
   88  /usr/lib/libX11.la
   88  /usr/local/lib/libX11.la
   83  /usr/openwin/lib/libnsl.la
   83  /usr/openwin/lib/libsocket.la
   80  /usr/lib/libXext.la
   80  /usr/local/lib/libXext.la
   76  /usr/openwin/lib/libdl.la
   71  /usr/openwin/lib/libm.la
   67  /lib/libdl.la
   67  /opt/SUNWspro/lib/libdl.la
   67  /usr/ccs/lib/libdl.la
   67  /usr/dt/lib/libdl.la
   67  /usr/local/gnu/lib/libdl.la
   67  /usr/local/ren/prod/lib/libdl.la
   64  /lib/libnsl.la
   64  /lib/libsocket.la
   64  /opt/SUNWspro/lib/libnsl.la
   64  /opt/SUNWspro/lib/libsocket.la
   64  /usr/ccs/lib/libnsl.la
   64  /usr/ccs/lib/libsocket.la
   64  /usr/dt/lib/libnsl.la
   64  /usr/dt/lib/libsocket.la
   64  /usr/local/gnu/lib/libnsl.la
   64  /usr/local/gnu/lib/libsocket.la
   64  /usr/local/ren/prod/lib/libnsl.la
   64  /usr/local/ren/prod/lib/libsocket.la
   62  /home/welinder/gnome/lib/libglib.la
   62  /home/welinder/gnome/lib/libgmodule.la
   62  /lib/libm.la
   62  /opt/SUNWspro/lib/libm.la
   62  /usr/ccs/lib/libm.la
   62  /usr/dt/lib/libm.la
   62  /usr/local/gnu/lib/libm.la
   62  /usr/local/ren/prod/lib/libm.la
   58  /usr/lib/libz.la
   58  /usr/local/lib/libz.la
   53  /usr/openwin/lib/libX11.la
   49  /usr/openwin/lib/libXext.la
   45  /usr/openwin/lib/libz.la
   44  /lib/libX11.la
   44  /opt/SUNWspro/lib/libX11.la
   44  /usr/ccs/lib/libX11.la
   44  /usr/dt/lib/libX11.la
   44  /usr/local/gnu/lib/libX11.la
   44  /usr/local/ren/prod/lib/libX11.la
   40  /lib/libXext.la
   40  /opt/SUNWspro/lib/libXext.la
   40  /usr/ccs/lib/libXext.la
   40  /usr/dt/lib/libXext.la
   40  /usr/local/gnu/lib/libXext.la
   40  /usr/local/ren/prod/lib/libXext.la
   38  /home/welinder/gnome/lib/libdb.la
   35  /home/welinder/gnome/lib/libICE.la
   35  /home/welinder/gnome/lib/libSM.la
   35  /home/welinder/gnome/lib/libpng.la
   31  /home/welinder/gnome/lib/libglib.so
   31  /home/welinder/gnome/lib/libgmodule.so
   29  /lib/libz.la
   29  /opt/SUNWspro/lib/libz.la
   29  /usr/ccs/lib/libz.la
   29  /usr/dt/lib/libz.la
   29  /usr/local/gnu/lib/libz.la
   29  /usr/local/ren/prod/lib/libz.la
   15  /home/welinder/gnome/lib/libresolv.la
    8  /usr/openwin/lib/libICE.la
    8  /usr/openwin/lib/libSM.la
    8  /usr/openwin/lib/libdb.la
    8  /usr/openwin/lib/libpng.la
    6  /home/welinder/gnome/lib/libbonobo-print.la
    6  /home/welinder/gnome/lib/libgdk.la
    6  /home/welinder/gnome/lib/libgtk.la
    6  /home/welinder/gnome/lib/libtiff.la
    6  /home/welinder/gnome/lib/libxml.la
    4  /home/welinder/gnome/lib/libIIOP.la
    4  /home/welinder/gnome/lib/libORBit.la
    4  /home/welinder/gnome/lib/libORBitCosNaming.la
    4  /home/welinder/gnome/lib/libORBitutil.la
    4  /home/welinder/gnome/lib/libart_lgpl.la
    4  /home/welinder/gnome/lib/libbonobo.la
    4  /home/welinder/gnome/lib/libbonobox.la
    4  /home/welinder/gnome/lib/libgal.la
    4  /home/welinder/gnome/lib/libgdk_imlib.la
    4  /home/welinder/gnome/lib/libgdk_pixbuf.la
    4  /home/welinder/gnome/lib/libgif.la
    4  /home/welinder/gnome/lib/libglade-gnome.la
    4  /home/welinder/gnome/lib/libglade.la
    4  /home/welinder/gnome/lib/libgnome.la
    4  /home/welinder/gnome/lib/libgnomecanvaspixbuf.la
    4  /home/welinder/gnome/lib/libgnomeole2.la
    4  /home/welinder/gnome/lib/libgnomeprint.la
    4  /home/welinder/gnome/lib/libgnomesupport.la
    4  /home/welinder/gnome/lib/libgnomeui.la
    4  /home/welinder/gnome/lib/libiconv.la
    4  /home/welinder/gnome/lib/libjpeg.la
    4  /home/welinder/gnome/lib/liboaf.la
    4  /usr/lib/libICE.la
    4  /usr/lib/libSM.la
    4  /usr/lib/libdb.la
    4  /usr/lib/libpng.la
    4  /usr/lib/libresolv.la
    4  /usr/local/lib/libICE.la
    4  /usr/local/lib/libSM.la
    4  /usr/local/lib/libdb.la
    4  /usr/local/lib/libpng.la
    4  /usr/local/lib/libresolv.la
    4  /usr/openwin/lib/libresolv.la
    3  /home/welinder/gnome/lib/libbonobo-print.so
    3  /home/welinder/gnome/lib/libgdk.so
    3  /home/welinder/gnome/lib/libgtk.so
    3  /home/welinder/gnome/lib/libtiff.so
    3  /home/welinder/gnome/lib/libxml.so
    3  /tmp/sh31990
    2  /home/welinder/bin/sun4/cat
[cut]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]