This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Failure to build gcc cvs HEAD 20030706 on i686-linux: /usr/bin/ld:libstdc++-symbol.ver:59: parse error in VERSION script
- From: Christian Joensson <c dot christian dot joensson at comhem dot se>
- To: Phil Edwards <phil at jaj dot com>
- Cc: gcc <gcc at gcc dot gnu dot org>
- Date: Sun, 6 Jul 2003 21:47:15 +0200
- Subject: Re: Failure to build gcc cvs HEAD 20030706 on i686-linux: /usr/bin/ld:libstdc++-symbol.ver:59: parse error in VERSION script
- References: <20030706080233.GA5748@pentium3.j-son.org> <20030706191659.GA5767@disaster.jaj.com>
On Sun, Jul 06, 2003 at 03:16:59PM -0400, Phil Edwards wrote:
> On Sun, Jul 06, 2003 at 10:02:33AM +0200, Christian Joensson wrote:
> > binutils-2.13.90.0.18-9
>
> Hm.
>
> > /usr/bin/ld:libstdc++-symbol.ver:59: parse error in VERSION script
>
> In /usr/local/src/trunk/objdir/pentium3-linux/libstdc++-v3/src/Makefile, what
> is the dependancy of libstdc++-symbol.ver? That is, in the line that looks like
> this:
>
> port_specific_symbol_file =
> version_arg = -Wl,--version-script=libstdc++-symbol.ver
> -> libstdc++-symbol.ver: ${glibcxx_srcdir}/FOO
> cp ...
>
> What is "FOO"?
well, the Makefile target I find is this:
libstdc++-symbol.ver: ${glibcxx_srcdir}/config/linker-map.gnu
cp ${glibcxx_srcdir}/config/linker-map.gnu
/libstdc++-symbol.ver
if test "x${port_specific_symbol_file}" != x; then \
sed -n '1,/DO NOT DELETE/p' $@ > tmp.top; \
sed -n '/DO NOT DELETE/,$$p' $@ > tmp.bottom; \
cat tmp.top $(port_specific_symbol_file) tmp.bottom > $@; \
rm tmp.top tmp.bottom; \
fi
so I guess I'd say FOO is config/linker-map.gnu...
Cheers,
/ChJ