bug-libtool
[Top][All Lists]
Advanced

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

Re: libtool-2.2.11a on AIX 5.3 / 5.3 current git master - tests/mdemo-in


From: Rainer Tammer
Subject: Re: libtool-2.2.11a on AIX 5.3 / 5.3 current git master - tests/mdemo-inst.test 2./3. occurrence
Date: Wed, 04 Aug 2010 22:34:12 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6

Hello Ralf,
here is one addition:


Ralf Wildenhues wrote:
> * Rainer Tammer wrote on Wed, Aug 04, 2010 at 09:13:03PM CEST:
>   
>> I might have a solution to the shared library problem.
>>
>> If foo1.so is ro to others then the libary is loaded into a private segment.
>> This would avoid the problem. The library is then unloaded as soon as the
>> program which uses the library is unloaded.
>>     
> Yes.  In the setup of the new testsuite, we use this to work around it:
>
>   # On AIX, shared libraries remain loaded in memory after use if they
>   # are world-readable, until root issues slibclean.  On NFS, this causes
>   # a testsuite rerun to fail to clean up test group directories.  Avoid
>   # this with a suitable umask.  Do not do this on other systems, for
>   # example HP-UX suffers unless shared libraries are mode 555.
>   case $host_os in
>   aix*) umask o-rwx ;;
>   esac
>
>   
# cd tests/mdemo/.libs
# ls -al *.a *.so
-rw-r--r--    1 tammer   staff          7034 Aug 03 08:46 foo1.a
-rwxr-xr-x    1 tammer   staff          6291 Aug 03 08:46 foo1.so
-rw-r--r--    1 tammer   staff          6994 Aug 03 08:46 libfoo2.a
-rw-r--r--    1 tammer   staff        156189 Aug 03 08:46 libmlib.a
-rw-r--r--    1 tammer   staff          2583 Aug 03 08:46 libsub.a

It looks like the umask is not honered..

Bye
  Rainer




reply via email to

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