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?
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?