AIX-64 CPUJan2013 relink warning

来源:互联网 发布:数据库设计的三大原则 编辑:程序博客网 时间:2024/06/05 15:55

生产环境:AIX6.1-64 + Oracle11.2.0.2

问题描述:当安装补丁后relink出现告警如下信息。

WARNING:OUI-67215:...INFO:Start invoking 'make' at Sat Jun 01 15:14:50 CST 2013Sat Jun 01 15:14:50 CST 2013INFO:Finish invoking 'make' at Sat Jun 01 15:14:52 CST 2013INFO:The local system has been patched and can be restarted.INFO:UtilSession: N-Apply done.INFO:--------------------------------------------------------------------------------INFO:The following warnings have occurred during OPatch execution:INFO:1) OUI-67215:OPatch found the word "error" in the stderr of the make command.Please look at this stderr. You can re-run this make command.Stderr output: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.ld: 0711-415 WARNING: Symbol lnxmin is already exported.ld: 0711-415 WARNING: Symbol lnxmul is already exported.ld: 0711-415 WARNING: Symbol lnxnur is already exported.ld: 0711-415 WARNING: Symbol lnxren is already exported.ld: 0711-415 WARNING: Symbol lnxsca is already exported.ld: 0711-415 WARNING: Symbol lnxshift is already exported.ld: 0711-415 WARNING: Symbol lnxsni is already exported.ld: 0711-415 WARNING: Symbol lxgu2t is already exported.ld: 0711-415 WARNING: Symbol sldxgd is already exported.ld: 0711-224 WARNING: Duplicate symbol: fc_softcld: 0711-224 WARNING: Duplicate symbol: __fe_def_envld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.ld: 0711-319 WARNING: Exported symbol not defined: count__21TxsOqSourceDefinitionFP31TxsOqSourceDefinitionControllerld: 0711-319 WARNING: Exported symbol not defined: cout__3stdld: 0711-319 WARNING: Exported symbol not defined: create11gMeasure__26TxsOqAWExpressionGeneratorFRC9xswstringPC18TxsOqAWMeasureInfoP25TxsOqSQLGenerationContext...ld: 0711-319 WARNING: Exported symbol not defined: functionJoin__31TxsOqSourceDefinitionControllerFRC9xswstringP21TxsOqSourceDefinitionN22ld: 0711-773 WARNING: Object /oracle/product/11.2/lib//liboraolap11.a[sxstime.o], imported symbol timezone        Symbol was expected to be local. Extra instructions        are being generated to reference the symbol.ld: 0711-773 WARNING: Object /oracle/product/11.2/lib//libgeneric11.a[sdbgrfu.o], imported symbol timezone        Symbol was expected to be local. Extra instructions        are being generated to reference the symbol.ld: 0711-773 WARNING: Object /oracle/product/11.2/lib//libordsdo11.a[mdowd.o], imported symbol ksudbrmseccnt_        Symbol was expected to be local. Extra instructions        are being generated to reference the symbol.ld: 0711-773 WARNING: Object /oracle/product/11.2/lib//libordsdo11.a[mdidx.o], imported symbol ksudbrmseccnt_        Symbol was expected to be local. Extra instructions        are being generated to reference the symbol.ld: 0711-773 WARNING: Object /oracle/product/11.2/lib//libordsdo11.a[mdrcr.o], imported symbol kcbstdbz_        Symbol was expected to be local. Extra instructions        are being generated to reference the symbol.ld: 0711-773 WARNING: Object /oracle/product/11.2/lib//libordsdo11.a[mdrt.o], imported symbol kcbstdbz_        Symbol was expected to be local. Extra instructions        are being generated to reference the symbol.ld: 0711-773 WARNING: Object /oracle/product/11.2/lib//libordsdo11.a[mdrcnc.o], imported symbol mdrcnccmt_        Symbol was expected to be local. Extra instructions        are being generated to reference the symbol.ld: 0711-783 WARNING: TOC overflow. TOC size: 225680    Maximum size: 65536        Extra instructions are being generated for each reference to a TOC        symbol if the symbol is in the TOC overflow area.INFO:--------------------------------------------------------------------------------SEVERE:OUI-67204:OPatch Session completed with warnings.INFO:Finishing UtilSession at Sat Jun 01 15:14:54 CST 2013

My Oracle Support文档说明

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_afrLoop=638111130270888&_afrWindowMode=0&_adf.ctrl-state=1zf68up8y_4

Applies to:

Oracle Server - Enterprise Edition - Version 11.2.0.1 to 11.2.0.3 [Release 11.2]
IBM AIX on POWER Systems (64-bit)

Symptoms


Relink returns many warnings

Running make for target ioracle

OPatch found the word "error" in the stderr of the make command.
Please look at this stderr. You can re-run this make command.
Stderr output:
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.
...
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
ld: 0711-319 WARNING: Exported symbol not defined: count__21TxsOqSourceDefinitionFP31TxsOqSourceDefinitionController
ld: 0711-319 WARNING: Exported symbol not defined: cout__3std
...

ld: 0711-773 WARNING: Object /u00/app/oracle/product/11.2.0.1/lib//libordsdo11.a[mdrcnc.o], imported symbol mdrcnccmt_
Symbol was expected to be local. Extra instructions
are being generated to reference the symbol.
ld: 0711-783 WARNING: TOC overflow. TOC size: 219456 Maximum size: 65536
Extra instructions are being generated for each reference to a TOC
symbol if the symbol is in the TOC overflow area.

Changes

Patch was installed, "relink all" or "relink oracle" was issued

Cause

There are 2 different causes.

ISSUE 1:
========
ld: 0711-783 WARNING: TOC overflow. TOC size

Cause: Bug 2737755

ISSUE 2:
========
Symbol xxxxxx is already exported.
...
ld: 0711-319 WARNING: Exported symbol not defined:

Cause: Bug 9828407

Solution

Issue 1: Ignore the warnings

Note 245372.1 TOC overflow Warning Can Safely Be Ignored

Issue 2: Ignore the warnings

BUG 9828407 states:

Most versions of ld will only forward parse the link line. The warnings are due to the method Oracle uses when parsing the link line to ensure the forward parsing resolves the symbols we require. The side-effect of this on some platforms, such as AIX, is that we then end up reporting a lot of duplicate symbols due to the multiple inclusions of the libraries on the link line ... These are just 'noise' from the linker being 'pedantic' on AIX ... but it does no harm and can be safely ignored.