map: can't compute value of an expression involving an external symbol...

Mark Crosland
Sun Jan 14 10:29:00 GMT 2001

I tried building binutils with GCC but couldn't quite get it to work

- unpack gcc-2.95.2.tar.gz

- unpack binutils-2.10.1 in a different directory

- made softlinks from bfd, binutils, gas, gprof, opcodes and ld into the
top of the gcc-2.95.2/ source tree

- ran configure in gcc-2.95.2/objdir, it configures the 6 binutils


- then
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap-lean

and soon get an unresolved symbol when GCC is compiling/linking itself, I
belive because gcc-2.95.2/include and gcc-2.95.2/libiberty are much newer
in the binutils distribution.

Any clues as to what I need to link/move from binutils into the gcc tree
to get gcc to use binutils gas/ld/???


On 14 Jan 2001, Gabriel Dos Reis wrote:

> Mark Crosland <> writes:
> [...]
> | and I see
> | /usr/ccs/bin/as: "/tmp/cciCUUpD.s", line 2898: error: can't compute value
> | of an expression involving an external symbol
> This is a problem with Sun's AS.  You either need to use binutils or
> get a patch from Sun which fixes their AS.
> -- Gaby
> CodeSourcery, LLC             

More information about the Libstdc++ mailing list