Ticket #130 (accepted defect)
Name space pollution in libraries
| Reported by: | hans.feldt@… | Owned by: | jfournier |
|---|---|---|---|
| Priority: | minor | Milestone: | Release 4 |
| Component: | System | Version: | |
| Keywords: | Cc: | ||
| patch waiting for maintainer: |
Description
All SAF (and others?) libraries need a version script see:
http://www.gnu.org/software/binutils/manual/ld-2.9.1/html_node/ld_25.html
that hides library internal symbols from the library name space.
This is what is required, in e.g. LOG:
- Change lib/lib_SaLog/Makefile.am:
libSaLog_la_LDFLAGS = -Wl,-version-script=libSaLog.version
- Add file libSaLog.version in lib/lib_SaLog, contents:
# Version and symbol export for libSaLog.so
OPENAIS_LOG_A.02.01 {
global:
saLog*;
local:
lga*;
};
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
