This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Selectable execution character set (and a whole bunch of side effects)
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: "Zack Weinberg" <zack at codesourcery dot com>
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 4 Jul 2003 20:49:49 -0400
- Subject: Re: Selectable execution character set (and a whole bunch of side effects)
With this patch on i686-unknown-openbsd3.1 with libiconv 1.7, I get a
bootstrap failure:
gcc -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -fno-common
-DHAVE_CONFIG_H -o cc1 \
c-parse.o c-lang.o c-pretty-print.o attribs.o c-errors.o
c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o
c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o
c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o
libcpp.a main.o libbackend.a ../libiberty/libiberty.a
/home/gates/pinskia/src/gnu/gcc/src/gcc/cppcharset.c:120: Undefined
symbol `_libiconv_open' referenced from text segment
/home/gates/pinskia/src/gnu/gcc/src/gcc/cppcharset.c:184: Undefined
symbol `_libiconv_close' referenced from text segment
/home/gates/pinskia/src/gnu/gcc/src/gcc/cppcharset.c:186: Undefined
symbol `_libiconv_close' referenced from text segment
/home/gates/pinskia/src/gnu/gcc/src/gcc/cppcharset.c:217: Undefined
symbol `_libiconv' referenced from text segment
/home/gates/pinskia/src/gnu/gcc/src/gcc/cppcharset.c:227: Undefined
symbol `_libiconv' referenced from text segment
Looks like -liconv is not being adding to the link command.
I think this is the same problem as Richard Kenner is having.
Thanks,
Andrew Pinski