gcc4.7 set is not compatible gcc4.3?

Zhang, Roy roy.zhang03@sap.com
Fri Aug 9 04:17:00 GMT 2013


Hi,

I have a database which is built on suse enterprise server 11.2 with gcc4.3. It also runs on suse enterprise server 11.2. Now I want to upgrade gcc4.3 to gcc4.7 due to database application built env is upgraded to gcc4.7.  But after I installed gcc4.7 set of packages on my database running machine, my database processes could not be started. I have to restore to gcc4.3 env so that my database can work well. So my question is why gcc4.7 is not compatible with gcc4.3? Or caused by different OS level based?(gcc4.3 is on Suse enterprise server 11.2, gcc4.7 is downloaded from opensuse web and is based on opensuse 12.2) I think higher OS should be compatible with lower version? Or because Suse enterprise server is not compatible with opensuse?

Anyone can help? Thanks a lot!

My gcc version
$> gcc -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=x86_64-suse-linux
Thread model: posix
gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux)

gcc4.7 packages, downloaded from http://download.opensuse.org/distribution/12.2/repo/oss/suse/x86_64/

I012486@XIYL50837199A:~/rje/gcc4.7> ll
total 33704
-rw-r--r-- 1 I012486 audio 3972778 Aug  9 11:15 cpp47-4.7.1_20120723-1.1.1.x86_64.rpm
-rw-r--r-- 1 I012486 audio  173959 Aug  9 11:15 ctags-2011.8.2-6.1.2.x86_64.rpm
-rw-r--r-- 1 I012486 audio    3953 Aug  9 11:15 gcc-32bit-4.7-2.1.1.x86_64.rpm
-rw-r--r-- 1 I012486 audio    4249 Aug  9 11:15 gcc-4.7-2.1.1.x86_64.rpm
-rw-r--r-- 1 I012486 audio 2110637 Aug  9 11:15 gcc47-32bit-4.7.1_20120723-1.1.1.x86_64.rpm
-rw-r--r-- 1 I012486 audio 6404284 Aug  9 11:15 gcc47-4.7.1_20120723-1.1.1.x86_64.rpm
-rw-r--r-- 1 I012486 audio 4624261 Aug  9 11:15 gcc47-c++-4.7.1_20120723-1.1.1.x86_64.rpm
-rw-r--r-- 1 I012486 audio    4032 Aug  9 11:15 gcc-c++-32bit-4.7-2.1.1.x86_64.rpm
-rw-r--r-- 1 I012486 audio    4021 Aug  9 11:15 gcc-c++-4.7-2.1.1.x86_64.rpm
-rw-r--r-- 1 I012486 audio 1653413 Aug  9 11:15 glibc-2.15-22.6.4.x86_64.rpm
-rw-r--r-- 1 I012486 audio 1172675 Aug  9 11:15 glibc-32bit-2.15-22.6.4.x86_64.rpm
-rw-r--r-- 1 I012486 audio  638797 Aug  9 11:15 glibc-devel-2.15-22.6.4.x86_64.rpm
-rw-r--r-- 1 I012486 audio  101781 Aug  9 11:15 glibc-devel-32bit-2.15-22.6.4.x86_64.rpm
-rw-r--r-- 1 I012486 audio 6185251 Aug  9 11:16 glibc-locale-2.15-22.6.4.x86_64.rpm
-rw-r--r-- 1 I012486 audio     208 Aug  9 11:16 _install.sh
-rw-r--r-- 1 I012486 audio   55605 Aug  9 11:15 libcloog0-0.15.10+ppl-10.1.4.x86_64.rpm
-rw-r--r-- 1 I012486 audio   50879 Aug  9 11:15 libgcc47-32bit-4.7.1_20120723-1.1.1.x86_64.rpm
-rw-r--r-- 1 I012486 audio   42229 Aug  9 11:15 libgcc47-4.7.1_20120723-1.1.1.x86_64.rpm
-rw-r--r-- 1 I012486 audio  221882 Aug  9 11:15 libgmp10-5.0.5-3.3.3.x86_64.rpm
-rw-r--r-- 1 I012486 audio   31531 Aug  9 11:15 libgomp47-32bit-4.7.1_20120723-1.1.1.x86_64.rpm
-rw-r--r-- 1 I012486 audio   29254 Aug  9 11:15 libgomp47-4.7.1_20120723-1.1.1.x86_64.rpm
-rw-r--r-- 1 I012486 audio   33658 Aug  9 11:15 libmpc2-0.8.2-15.1.3.x86_64.rpm
-rw-r--r-- 1 I012486 audio  154130 Aug  9 11:15 libmpfr4-3.1.0-2.1.3.x86_64.rpm
-rw-r--r-- 1 I012486 audio  333359 Aug  9 11:16 libppl9-0.11.2-11.1.3.x86_64.rpm
-rw-r--r-- 1 I012486 audio  993469 Aug  9 11:16 libppl_c4-0.11.2-11.1.3.x86_64.rpm
-rw-r--r-- 1 I012486 audio  253016 Aug  9 11:16 libstdc++47-32bit-4.7.1_20120723-1.1.1.x86_64.rpm
-rw-r--r-- 1 I012486 audio  241700 Aug  9 11:16 libstdc++47-4.7.1_20120723-1.1.1.x86_64.rpm
-rw-r--r-- 1 I012486 audio 1678025 Aug  9 11:16 libstdc++47-devel-32bit-4.7.1_20120723-1.1.1.x86_64.rpm
-rw-r--r-- 1 I012486 audio 2799586 Aug  9 11:16 libstdc++47-devel-4.7.1_20120723-1.1.1.x86_64.rpm
-rw-r--r-- 1 I012486 audio  366928 Aug  9 11:16 make-3.82-151.1.2.x86_64.rpm
-rw-r--r-- 1 I012486 audio     699 Aug  9 11:16 _resolve_conflict.sh


Regards,
Roy



More information about the Gcc-help mailing list