Shared Objects on AIX

K

kedar kulkarni

I am compiling product code on AIX 5.3 . There is a Trace funtion which
has been exported from from of the shared objects and is intended to be
imported in all other shared objects.
The compiler options are as below:

COMPILE_OPTIONS ?= -qtbtable=full -q32 -O2 -qthreaded -qcpluscmt
-bM:SRE -bnoent
ry -bnoexpall -bnoautoexp -qtempinc -qstaticinline -D_ALL_SOURCE
-D_XOPEN_SOURC
E_EXTENDED -D_REENTRANT -qrtti=dyna -qfuncsect -D_POSIX_SOURCE -DUNIX
-DAIX -D__
MULTI__ -bI:/usr/x000/sb/src/api/c/rios_aix_4/test.imp

Linker opotions are

SHLDFLAGS += -qmkshrobj $(COMPILE_OPTIONS) -bautoimp
-blibpath:$(RUNTIME_
LIBPATH)


what is happening is , this Trace funtion appears as EXP in all the lib
files . ( dump -Tv output) . We need it to appear as IMP in all libs
and EXP in one. By the way this function is inlined.
We have tried using "import" file ( as listed in the compiler options
and other combinations of -b:E and -b:I options but nothing seems to
be working..

Any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,778
Messages
2,569,605
Members
45,238
Latest member
Top CryptoPodcasts

Latest Threads

Top