Relinking Errors After Gcc Update From Gcc-4.1.2-50 To Gcc-4.1.2-52 (Doc ID 1583560.1)

Last updated on SEPTEMBER 09, 2016

Applies to:

Oracle Application Install - Version 11.5.10.0 to 11.5.10.2 [Release 11.5.10]
Information in this document applies to any platform.

Symptoms

On: 11.5.10.2 version, Issues with functionality of AD Utilities
When attempting to relink after gcc has been upgraded from gcc-4.1.2-50 to gcc-4.1.2-52
the following error occurs for all relinking.

After downgrading gcc back to gcc-4.1.2-50 the linking works without errors, but need to use gcc-4.1.2-52.

/usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
/opt2/app/ocf105d/share/appl/wps/11.5.0/lib/libwps.a(wpdbrd.o):(.gnu.linkonce.
d.__vt_16AbstractDBReader+0x8): undefined reference to `__pure_virtual'
/opt2/app/ocf105d/share/appl/wps/11.5.0/lib/libwps.a(wpdbwt.o):(.gnu.linkonce.
d.__vt_16AbstractDBWriter+0x8): undefined reference to `__pure_virtual'
/opt2/app/ocf105d/share/appl/wps/11.5.0/lib/libwps.a(wpfscmsg.o):(.rodata+0x17
2c): undefined reference to `__pure_virtual'
/opt2/app/ocf105d/share/appl/wps/11.5.0/lib/libwps.a(wpmsg.o):(.rodata+0x11c):
 undefined reference to `__pure_virtual'
/opt2/app/ocf105d/share/appl/wps/11.5.0/lib/libwps.a(wpmsg.o):(.rodata+0x128):
 undefined reference to `__pure_virtual'
/opt2/app/ocf105d/share/appl/wps/11.5.0/lib/libwps.a(wpmsg.o):(.rodata+0x12c):
 more undefined references to `__pure_virtual' follow
/usr/lib/gcc/i386-redhat-linux/4.1.2/libstdc++.so: undefined reference to
`__fxstat64@GLIBC_2.2'
/usr/lib/gcc/i386-redhat-linux/4.1.2/libstdc++.so: undefined reference to
`strtold_l@GLIBC_2.3'
/usr/lib/gcc/i386-redhat-linux/4.1.2/libstdc++.so: undefined reference to
`__strftime_l@GLIBC_2.3'
/usr/lib/gcc/i386-redhat-linux/4.1.2/libstdc++.so: undefined reference to
`__uselocale@GLIBC_2.3'
/usr/lib/gcc/i386-redhat-linux/4.1.2/libstdc++.so: undefined reference to
`__nl_langinfo_l@GLIBC_2.2'
/usr/lib/gcc/i386-redhat-linux/4.1.2/libstdc++.so: undefined reference to
`__wcsftime_l@GLIBC_2.3'
/usr/lib/gcc/i386-redhat-linux/4.1.2/libstdc++.so: undefined reference to
`putwc@GLIBC_2.2'
/usr/lib/gcc/i386-redhat-linux/4.1.2/libgcc_s.so: undefined reference to
`dl_iterate_phdr@GLIBC_2.2.4'
/usr/lib/gcc/i386-redhat-linux/4.1.2/libstdc++.so: undefined reference to
`getwc@GLIBC_2.2'
/usr/lib/gcc/i386-redhat-linux/4.1.2/libstdc++.so: undefined reference to
`ungetwc@GLIBC_2.2'
/usr/lib/gcc/i386-redhat-linux/4.1.2/libstdc++.so: undefined reference to
`__stack_chk_fail@GLIBC_2.4'
collect2: ld returned 1 exit status
make: *** [/opt2/app/ocf105d/share/appl/wip/11.5.0/bin/WICDOL] Error 1
Done with link of wip executable 'WICDOL' on Mon Aug 19 15:42:41 EST 2013
 
Relink of module "WICDOL" failed.


The issue can be reproduced at will with the following steps:
1. Upgrade OS rpm to gcc-4.1.2-52.
2. Run adrelink.sh force=y "wip WICDOL".



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms