~ubuntu-branches/ubuntu/breezy/gettext/breezy

« back to all changes in this revision

Viewing changes to autoconf-lib-link/tests/rpath.README

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2004-03-14 17:40:02 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040314174002-p1ad5ldve1hqzhye
Tags: 0.14.1-2
* Added libexpat1-dev to Build-Depends, for glade support.
* Added libc0.1-dev to Build-Depends, for GNU/kFreeBSD.
* Removed special-casing of knetbsd-gnu in debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Tests for config.rpath and lib-link.m4.
 
2
 
 
3
rpath-1 w
 
4
        |
 
5
        +---- a = static, b = shared
 
6
 
 
7
rpath-2 u v w
 
8
        | | |
 
9
        | | +---- a = static/static, b = static/shared,
 
10
        | |       c = shared/static, d = shared/shared.
 
11
        | |
 
12
        | +------ a = all libraries and the program have the same prefix,
 
13
        |         b = the libraries are in different directories.
 
14
        |
 
15
        +-------- a = all shared libraries use the libtool *.la files for
 
16
                  resolving dependencies, b = dependencies are given as
 
17
                  AC_LIB_LINKFLAGS argument instead.
 
18
 
 
19
rpath-3 u v w
 
20
        | | |
 
21
        | | +---- a = static/static/static, b = static/static/shared,
 
22
        | |       c = static/shared/static, d = static/shared/shared,
 
23
        | |       e = shared/static/static, f = shared/static/shared,
 
24
        | |       g = shared/shared/static, h = shared/shared/shared.
 
25
        | |
 
26
        | +------ a = all libraries and the program have the same prefix,
 
27
        |         b = the libraries are in different directories.
 
28
        |
 
29
        +-------- a = all shared libraries use the libtool *.la files for
 
30
                  resolving dependencies, b = dependencies are given as
 
31
                  AC_LIB_LINKFLAGS argument instead.
 
32
 
 
33
The rpath-2* tests are sensitive to
 
34
  - incomplete shared library support in the system,
 
35
  - bugs in libtool that creates the shared libraries,
 
36
  - bugs in lib-link.m4.
 
37
 
 
38
The rpath-3* tests are sensitive to
 
39
  - incomplete shared library support in the system,
 
40
  - bugs in libtool that creates the shared libraries.
 
41
 
 
42
Known failures:
 
43
 
 
44
* On all platforms supporting shared libraries,
 
45
    rpath-3aae rpath-3aag
 
46
    rpath-3abe rpath-3abg
 
47
  fail. This is a libtool 1.4.2 bug: When a shared library depends on a
 
48
  static library indirectly through two different dependency paths,
 
49
  libtool attempts to link together invalid sets of object files.
 
50
 
 
51
* OSF/1 4.0: the tests
 
52
    rpath-2bbd
 
53
    rpath-3bbd rpath-3bbf rpath-3bbg rpath-3bbh
 
54
  fail, because -rpath options are not cumulative:
 
55
  The last -rpath option overrides all previous ones. One would need to
 
56
  pass all directories, separated by colons, in a single -rpath option.
 
57
 
 
58
* Solaris: the tests
 
59
    rpath-3bae rpath-3bbe
 
60
    rpath-3aaf rpath-3abf
 
61
    rpath-3baf rpath-3bbf
 
62
  fail, because code from static libraries not compiled with -fPIC cannot
 
63
  be integrated into shared libraries: linker error "Text relocation remains".
 
64
 
 
65
* Cygwin: The tests
 
66
    rpath-2aac rpath-2abc
 
67
    rpath-3aac rpath-3aaf
 
68
    rpath-3abc rpath-3abf
 
69
  fail.
 
70