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: gcc-4.6.2-RC-20111019 build problem in stage 2


>   cc1-checksum.o main.o  libbackend.a ../libcpp/libcpp.a
> ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a ./../intl/libintl.a
> ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
> -L/opt/bw/lib/sparcv8 -L/opt/bw/lib/sparcv8 -L/opt/bw/lib/sparcv8 -lmpc
> -lmpfr -lgmp -ldl  -L../zlib -lz
> Undefined                       first referenced
>  symbol                             in file
> libiconv_close                      libbackend.a(pretty-print.o)
> libiconv_open                       libbackend.a(pretty-print.o)
> libiconv                            libbackend.a(pretty-print.o)
> ld: fatal: Symbol referencing errors. No output written to cc1

This is one of the most reported problems over the last decade, see bugzilla.

> I don't see a -liconv there and that would be a problem.

Presumably because the configure test passed without it.

> Did I miss something here ?

This usually means that the libiconv installation is botched, e.g. the compiler 
sees a mix of GNU libiconv and Solaris libiconv, or something like that.

-- 
Eric Botcazou


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