|
From: | Daniel Sands |
Subject: | The AIX saga continues |
Date: | Fri, 15 Feb 2008 16:54:24 -0700 |
User-agent: | Thunderbird 1.5.0.12 (X11/20080131) |
This is fine for AIX since it uses the runpath of loaded libs to load their dependencies. It only becomes a problem if a library of the same name is already loaded in the same "domain" and it is not the one you wanted. A simple example of this would be to create libfoo.a in one directory, create libfoo.a in another directory with dependence on the first libfoo.a, and then link the second libfoo into main. So main -> d2/libfoo.a -> d1/libfoo.a. This will fail to run because it won't load d1/libfoo.a with d2/libfoo.a in memory and so it won't resolve d1's export.
Since I wouldn't advise the above scenario (and extra runpath entries wouldn't help this anyway), I'd suggest that test 24 should be modified to run only under the conditions where '-R's should be expected in the .la files.
Now to find out why test 25 seems to hang forever....
[Prev in Thread] | Current Thread | [Next in Thread] |