Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 260433 Details for
Bug 213277
which library style to prefer on AIX for both the 'soname' feature and runtime linking enabled
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Variant A: Traditional variant to create shared libraries on AIX, but with runtime linking
aixrtl-traditional (text/plain), 1.14 KB, created by
Michael Haubenwallner (RETIRED)
on 2011-01-21 14:08:16 UTC
(
hide
)
Description:
Variant A: Traditional variant to create shared libraries on AIX, but with runtime linking
Filename:
MIME Type:
Creator:
Michael Haubenwallner (RETIRED)
Created:
2011-01-21 14:08:16 UTC
Size:
1.14 KB
patch
obsolete
>Variant A: > *) Create the shared object libNAME.so.X with '-G' linker flag. > *) Pack libNAME.so.X into libNAME.a >Install result in filesystem: > archive library: libNAME.a >Useability results: > ++ Traditional "AIX-style" shared library. > ++ Saves build time with libtool (single object file) and diskspace. > ++ Multiple sonames are accomplished because the shared object's name in the > archive providing the symbols found at linktime is recorded into the > resulting binary for runtime. > ++ Using dlopen() is possible. > ++ Static linking is possible. > -- Need special tweaks to merge multiple sonames into the archive. > -- Using dlopen() requires special coded object-name along with RTLD_MEMBER, > libtool does not know them yet. > -- Need special flags to link statically, libtool does not know them yet. > -- Can contain undefined symbols. > -- Is not automatically loaded at runtime when not *referenced* at linktime. > -- When linking with /immediate/path/libNAME.a, the /immediate/path is > recorded into the resulting binary, and runpath search is not used for > this shared object. > -- Linker has to read the whole shared object to collect the symbols.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 213277
: 260433 |
260434