Question About Building Newer GCC To Co-Exist With The System One
Kris Wempa
Kristofer.Wempa@sig.com
Fri Nov 8 14:34:00 GMT 2013
I work on a SLES11 server and I am trying to build a newer GCC compiler and
use it to build a large set of tools. The system compiler is GCC 4.3.4 and I
am building GCC 4.8.1. While doing sanity tests, I noticed something strange
with the GCC 4.8.1 compiler that I built. Some of the binaries are linked to
the system libgcc_s.so and others are linked to the one built for the GCC
4.8.1 compiler. For example:
ci1admin@dtcci1devbal801:/opt/ci1/toolchain/tc8.2/sles11sp1_gcc-4.8.1_x86-
64/gcc-4.8.1/bin> ldd gcc | grep libgcc_s
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f57377f2000)
ci1admin@dtcci1devbal801:/opt/ci1/toolchain/tc8.2/sles11sp1_gcc-4.8.1_x86-
64/gcc-4.8.1/bin> ldd gappletviewer | grep libgcc_s
libgcc_s.so.1 => /opt/ci1/toolchain/tc8.2/sles11sp1_gcc-4.8.1_x86-
64//gcc-4.8.1/lib/../lib64/libgcc_s.so.1 (0x00007f10052ff000)
Is this intentional or is this due to something I am doing during the build
process ?
Kris
More information about the Gcc-help
mailing list