This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Bootstrapping 3.4.2 on AIX 5.1.0.0
- From: "Grubb, Richard L" <richard dot l dot grubb at boeing dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Thu, 28 Oct 2004 14:31:18 -0500
- Subject: Bootstrapping 3.4.2 on AIX 5.1.0.0
I received the following error message when trying to compile gcc 3.4.2
on an IBM RS6000
(The messages have been reformatted)
ranlib libbackend.a
stage1/xgcc -Bstage1/ -B/acct/rlg0301/powerpc-ibm-aix5.1.0.0/bin/ \
-g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes \
-Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition \
-DHAVE_CONFIG_H -o cc1 c-parse.o c-lang.o c-pretty-print.o stub-objc.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 rs6000-c.o main.o libbackend.a \
../libiberty/libiberty.a ../intl/libintl.a -liconv
ld: 0711-317 ERROR: Undefined symbol: .libiconv
ld: 0711-317 ERROR: Undefined symbol: .libiconv_open
ld: 0711-317 ERROR: Undefined symbol: .libiconv_close
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
make[2]: *** [cc1] Error 1
make[2]: Leaving directory `/acct/rlg0301/PROGS/C/UNIX/gcc_obj/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/acct/rlg0301/PROGS/C/UNIX/gcc_obj/gcc'
make: *** [bootstrap] Error 2
I do not have GNU libiconv installed.
When I run:
nm -g /usr/lib/libiconv.a
The closest symbols I see are .iconv, .iconv_open, and .iconv_close
What could be wrong?
Thanks.