Ticket #130 (accepted defect)

Opened 22 months ago

Last modified 5 months ago

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

Changed 5 months ago by jfournier

  • owner changed from devel@… to jfournier
  • status changed from new to accepted
  • milestone set to Release 4

Add/Change #130 (Name space pollution in libraries)

Author



Action
as accepted
Note: See TracTickets for help on using tickets.