libtool
[Top][All Lists]
Advanced

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

hard-link locking & filesystems


From: Jeff Dubrule
Subject: hard-link locking & filesystems
Date: Thu, 31 Jan 2002 12:38:35 -0500
User-agent: Mutt/1.2.5i

When a compiler is insufficiently cool, libtool uses hard-link locking
to prevent the same file from being compiled in the same place.

It does this by waiting until:

ln /usr/bin/libtool whatever.lock

succeeds.

However, if libtool is installed on a different filesystem from where
the compile is proceeding (/usr vs /home, for example), this will
never succeed, and will sit there saying:

Waiting for bcfmail.o.lock to be removed
Waiting for bcfmail.o.lock to be removed
Waiting for bcfmail.o.lock to be removed
...

The hard-link-locking check in configure, naturally, does not catch
this problem.

Hard-link-locking, if we're to keep using it, should lock to a temp
file created in the same directory.

-jeff



reply via email to

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