>>See the docs for --enable-symvers at >>http://gcc.gnu.org/onlinedocs/libstdc++/manual/configure.html >> >>If that isn't given explicitly then it will be guessed by configure. >>The guess will depend on whether the linker supports symvers or not so >>depends on what linker gcc is configured to use. Also support for >>--enable-symvers=sun was added in gcc 4.6, so maybe that is being used >>by your 4.6 build. > > > Thank you for the info. I have tried to compiled Qt with gcc > > $ gcc -v > Using built-in specs. > COLLECT_GCC=gcc > COLLECT_LTO_WRAPPER=/opt/gnu/gcc-4.6.0/libexec/gcc/i386-pc-solaris2.11/4. > 6.0/lto-wrapper > Target: i386-pc-solaris2.11 > Configured with: ../gcc-4.6.0/configure --prefix=/opt/gnu/gcc-4.6.0 > --enable-shared --disable-libtool-lock > --target= --enable-objc-gc --disable-libada --enable-libssp > --enable-languages=c,c++ > --enable-threads=posix --enable-tls=yes --with-system-zlib > --with-gnu-ld --with-ld=/usr/gnu/bin/ld > --with-gnu-as --with-as=/usr/sfw/bin/gas --with-gmp-lib=/usr/lib > --with-mpfr-lib=/usr/lib > --enable-c99 --enable-nls --enable-wchar_t > --enable-libstdcxx-allocator=mt --with-pic --enable-multilib > Thread model: posix > gcc version 4.6.0 (GCC) > > > and this time compilation completed with no problems. So it seems that > GNU ld does something > magical... Doe that not frighten you a bit ? I would think that one should never astonish the user with such things. Dennis