This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Failure to build gcc cvs HEAD 20030706 on i686-linux: /usr/bin/ld:libstdc++-symbol.ver:59: parse error in VERSION script


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]