This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Symbol versioning disabled on linux?!?
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: pcarlini at suse dot de (Paolo Carlini)
- Cc: pcarlini at suse dot de (Paolo Carlini), pinskia at physics dot uc dot edu (Andrew Pinski), libstdc++ at gcc dot gnu dot org (libstdc++), richard dot earnshaw at arm dot com
- Date: Fri, 28 Oct 2005 20:41:21 -0400 (EDT)
- Subject: Re: Symbol versioning disabled on linux?!?
>
> Paolo Carlini wrote:
>
> >Andrew Pinski wrote:
> >
> >>>configure:87431: WARNING: === Linker version 0 is too old for
> >>>configure:87433: WARNING: === full symbol versioning support in this release of GCC.
> >>>configure:87435: WARNING: === You would need to upgrade your binutils to version
> >>>configure:87437: WARNING: === 21400 or later and rebuild GCC.
> >>>configure:87439: WARNING: === Symbol versioning will be disabled.
> >>>
> >>>
> >>What does config.log say since this is no help.
> >>
> >f yours is actually a question, the config.log says exactly what you
> >can see above.
> >
> >
> FWIW (everything seems ok), the preceding lines are:
>
> configure:87277: checking for shared libgcc
> configure:87302: /home/paolo/Gcc/svn-dirs/trunk-build/./gcc/xgcc
> -B/home/paolo/Gcc/svn-dirs/trunk-build/./gcc/
> -B/usr/local/gcc-exp/i686-pc-linux-gnu/bin/
> -B/usr/local/gcc-exp/i686-pc-linux-gnu/lib/ -isystem
> /usr/local/gcc-exp/i686-pc-linux-gnu/include -isystem
> /usr/local/gcc-exp/i686-pc-linux-gnu/sys-include -o conftest -lgcc_s
> conftest.c -lm >&5
> configure:87308: $? = 0
> configure:87312: test -z
> || test ! -s conftest.err
> configure:87315: $? = 0
> configure:87318: test -s conftest
> configure:87321: $? = 0
> configure:87397: result: yes
I have binutils 2.16.1 on a x86_64 machine and it detects it just fine
too.
configure: versioning on shared library symbols is gnu
I have no idea why this is failuring for you.
Something is wrong with your configure file as that line number in the
trunk of libstdc++ is not anything that prints out anything.
-- Pinski