On Sep  5, 2000, Alex Hornby <[EMAIL PROTECTED]> wrote:

> Using libtool CVS head there is a problem when make install is running
> with -j n, as if a Makefile.am builds a library and an executable
> linking against that library, there is no guarantee that the library
> will be installed first, thus the relinking of the exec fails during
> install and a shell script is put in its place.

Hmm...  Interesting.  It must have been a side effect of the enabling
of forced `relink' on GNU/Linux/x86.  Anyway, on platforms that
actually require relinking, this problem remains, and I see no way to
overcome it other than arranging for automake to install libraries
before executables, as you suggest.  This shouldn't be a big problem,
anyway.

A bigger problem could show up if two libraries in the same directory,
one dependent on the other, are installed concurrently.  If relinking
is needed for the dependent library, we have a problem.  It appears to
me that user will have to live without `make -j install', in this
case.

> Previous to my most recent "cvs update" libtool parallel installs had
> no problem with the current Automake generated makefiles.

That's just because you have been using a sane operating system.  On
systems in which libtool can't behave sanely, this would have been a
problem before.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

Reply via email to