[Top][All Lists]

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

libtool-2.2.11a on AIX 5.3 / 5.3 current git master - tests/mdemo-inst.t

From: Rainer Tammer
Subject: 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 09:52:51 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv: Gecko/20070326 Thunderbird/ Mnenhy/

Hello Ralf,
I think I have found the problem why tests/mdemo-inst.test (2./3.
occurrence) fails:

+ eval cc_r -qlanglvl=extc89 -Wl,-bM:SRE -o .libs/foo1.so  .libs/foo1.o
l-2.2.11a/_inst/lib:/usr/vac/lib:/usr/lib/threads:/usr/lib:/lib -lm
b -lsub -lc -Wl,-bnoentry  -qlanglvl=extc89   -Wl,-bE:.libs/foo1.exp
+ cc_r -qlanglvl=extc89 -Wl,-bM:SRE -o .libs/foo1.so .libs/foo1.o
a/_inst/lib:/usr/vac/lib:/usr/lib/threads:/usr/lib:/lib -lm
-L/daten/source/libtool-2.2.11a/_inst/lib -lsub
-lc -Wl,-bnoentry -qlanglvl=extc89 -Wl,-bE:.libs/foo1.exp -Wl,-bernotok
ld: 0711-851 SEVERE ERROR: Output file: .libs/foo1.so
        The file is in use and cannot be overwritten.
+ lt_exit=12
+ test relink = relink
+ cd .libs
+ rm -f foo1.aT
+ mv -f foo1.aU foo1.a
+ exit 12
libtool: install: error: relink `foo1.la' with the above command before
installing it
gmake[5]: *** [install-libLTLIBRARIES] Error 1

The shared lib foo1.so can not be overwritten because it is still loaded.

# genkld | grep foo1
        d163b000      955 tests/mdemo/.libs/foo1.so
        d0a77000      925 tests/mdemo/.libs/foo1.so
        d0a74000      955 tests/mdemo/.libs/foo1.so

The test suite was executed under an unprivileged account.
This unprivileged user can not clean this library with slibclean.

This test is run three times:

# grep -e"tests/mdemo-inst.test" check.log
PASS: tests/mdemo-inst.test
FAIL: tests/mdemo-inst.test
FAIL: tests/mdemo-inst.test

I think that there are several possible solutions to this problem:

1. Use different names for each test run
2. Use slibclean after each test to unload the shared library (only root
can do this)


Attachment: testsuite.log.gz
Description: GNU Zip compressed data

reply via email to

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