Originally posted by: BOZY
I am applying an Oracle 11gR2 patch (PSU OCT2011), which involves re-linking Oracle executables.
Apparently, after upgrading AIX to TL07, linker utility 'ld' started giving severe errors when trying to re-link. Linker option '-bnoobjreorder' does not produce any difference.
Anyone has a solution for this? Maybe, some obscure options to 'ld'?
Alexey
PS. These errors do not seem to be introduced by Oracle patch, as I cannot re-link Oracle executables after a rollback to (supposedly) good Oracle configuration, which used to be re-linked fine (with warnings, but that's normal) on TL06.
Linking looks like follows:
quote patch log file
ld -b64 -o /app/oracle/product/11.2.0/rdbms/lib/oracle -L/app/oracle/product/11.2.0/rdbms/lib/ -L/app/oracle/product/11.2.0/lib/ -bbigtoc -bnoipath -bI:/app/oracle/product/11.2.0/lib/ksms.imp /app/oracle/product/11.2.0/rdbms/lib/opimai.o /app/oracle/product/11.2.0/rdbms/lib/ssoraed.o /app/oracle/product/11.2.0/rdbms/lib/ttcsoi.o -lperfsrv11 /app/oracle/product/11.2.0/lib/nautab.o /app/oracle/product/11.2.0/lib/naeet.o /app/oracle/product/11.2.0/lib/naect.o /app/oracle/product/11.2.0/lib/naedhs.o /app/oracle/product/11.2.0/rdbms/lib/config.o -lserver11 -lodm11 -lcell11 -lnnet11 /app/oracle/product/11.2.0/lib/
libskgxp11.so -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 -lclient11 -lvsn11 -lcommon11 -lgeneric11 -lknlopt `if /bin/ar -X64 tv /app/oracle/product/11.2.0/rdbms/lib/libknlopt.a | grep xsyeolap.o > /dev/null 2>&1 ; then echo "-loraolap11 -bE:/app/oracle/product/11.2.0/rdbms/lib/olap.exp" ; fi` -lslax11 -lpls11 -lrt -lplp11 -lserver11 -lclient11 -lvsn11 -lcommon11 -lgeneric11 `if
http:// -f /app/oracle/product/11.2.0/lib/libavserver11.a ; then echo "-lavserver11" ; else echo "-lavstub11"; fi` `if
http:// -f /app/oracle/product/11.2.0/lib/libavclient11.a ; then echo "-lavclient11" ; fi` -lknlopt -lslax11 -lpls11 -lrt -lplp11 -ljavavm11 -lserver11 -lwwg `cat /app/oracle/product/11.2.0/lib/ldflags` -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /app/oracle/product/11.2.0/lib/ldflags` -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnnz11 -lzt11 -lztkg11 -lmm -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 -lztkg11 `cat /app/oracle/product/11.2.0/lib/ldflags` -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /app/oracle/product/11.2.0/lib/ldflags` -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnnz11 -lzt11 -lztkg11 -lpls11 -lrt -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 `if /bin/ar -X64 tv /app/oracle/product/11.2.0/rdbms/lib/libknlopt.a | grep "kxmnsd.o" > /dev/null 2>&1 ; then echo " " ; else echo "-lordsdo11"; fi` -L/app/oracle/product/11.2.0/ctx/lib/ -lctxc11 -lctx11 -lzx11 -lgx11 -lctx11 -lzx11 -lgx11 -lordimt11 -lclsra11 -ldbcfg11 -lhasgen11 -lskgxn2 -lxml11 /app/oracle/product/11.2.0/has/lib/clssgc.o -locr11 -locrb11 -locrutl11 -lhasgen11 -lskgxn2 -lxml11 /app/oracle/product/11.2.0/has/libclssgc.o -loraz -llzopro -lorabz2 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 -lsnls11 -lunls11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 -lasmclnt11 `if /bin/ar -X64 t /app/oracle/product/11.2.0/rdbms/lib/libknlopt.a | grep '^'kcsm.o > /dev/null 2>&1; then if ; then echo "-lha_gs_r -lpthreads"; fi; fi` -lld -lm `cat /app/oracle/product/11.2.0/lib/sysliblist` -lm -bE:/app/oracle/product/11.2.0/rdbms/lib/libodm.exp -bE:/app/oracle/product/11.2.0/rdbms/lib//libcorejava.exp -bpT:0x100000000 -bpD:0x110000000 -bforceimprw -brtllib -bexpfull -L /app/oracle/product/11.2.0/srvm/lib
ld: 0711-415 WARNING: Symbol ldxdts is already exported.
ld: 0711-415 WARNING: Symbol ldxsto is already exported.
ld: 0711-415 WARNING: Symbol lnxadd is already exported.
ld: 0711-415 WARNING: Symbol lnxcopy is already exported.
......
..few hundred warnings skipped....
......
ld: 0711-783 WARNING: TOC overflow. TOC size: 225568 Maximum size: 65536
Extra instructions are being generated for each reference to a TOC
symbol if the symbol is in the TOC overflow area.
ld: 0711-780 SEVERE ERROR: Symbol .ksmpfpva (entry 16448) in object /app/oracle/product/11.2.0/lib/libserver11.a[ksmp.o]:
Relocation overflow in reference to: dbkea_prm_rate_ (entry 8601)
Address: 0x00008056; RLD type: R_TOC; RLD length: 16
ld: 0711-780 SEVERE ERROR: Symbol .ksmpfpva (entry 16448) in object /app/oracle/product/11.2.0/lib/libserver11.a[ksmp.o]:
Relocation overflow in reference to: dbkea_prm_rtl_ (entry 8603)
Address: 0x0000805e; RLD type: R_TOC; RLD length: 16
....more errors skipped ......
unquote