* Bootstrapping 3.4.2 on AIX 5.1.0.0
@ 2004-10-28 19:31 Grubb, Richard L
2004-11-10 18:35 ` David Edelsohn
0 siblings, 1 reply; 4+ messages in thread
From: Grubb, Richard L @ 2004-10-28 19:31 UTC (permalink / raw)
To: gcc-help
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bootstrapping 3.4.2 on AIX 5.1.0.0
2004-10-28 19:31 Bootstrapping 3.4.2 on AIX 5.1.0.0 Grubb, Richard L
@ 2004-11-10 18:35 ` David Edelsohn
0 siblings, 0 replies; 4+ messages in thread
From: David Edelsohn @ 2004-11-10 18:35 UTC (permalink / raw)
To: Grubb, Richard L; +Cc: gcc-help
> ld: 0711-317 ERROR: Undefined symbol: .libiconv
> ld: 0711-317 ERROR: Undefined symbol: .libiconv_open
> ld: 0711-317 ERROR: Undefined symbol: .libiconv_close
You can find the source of those symbols by looking in the various
libraries (libintl, libiberty, libbackend.
You might try configuring with --disable-nls to work around the
build problem.
David
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bootstrapping 3.4.2 on AIX 5.1.0.0
2004-11-11 18:33 Grubb, Richard L
@ 2004-11-11 19:51 ` David Edelsohn
0 siblings, 0 replies; 4+ messages in thread
From: David Edelsohn @ 2004-11-11 19:51 UTC (permalink / raw)
To: Grubb, Richard L; +Cc: gcc-help
>>>>> Grubb, Richard L writes:
Richard> I looked in the gcc libraries that were built so far during the
Richard> bootstrapping phase; gcc/libbackend.a, intl/libintl.a, and
Richard> libiberty/libiberty.a using the command:
Richard> nm -g <insert_appropriate_library_name_here>; grep iconv
Richard> intl/libintl.a contains the symbols .iconv, .iconv_open and .iconv_close
Richard> (just like the AIX library /usr/lib/libintl.a), but not .libiconv,
Richard> .libiconv_open or .libiconv_close
Richard> So why does the bootstrap build process tack on the "lib" prefix to these
Richard> symbols?
I cannot find references to libiconv_close in my sources or
objects, so I cannot reproduce your problem to give any additional advice.
David
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Bootstrapping 3.4.2 on AIX 5.1.0.0
@ 2004-11-11 18:33 Grubb, Richard L
2004-11-11 19:51 ` David Edelsohn
0 siblings, 1 reply; 4+ messages in thread
From: Grubb, Richard L @ 2004-11-11 18:33 UTC (permalink / raw)
To: David Edelsohn; +Cc: gcc-help
[-- Attachment #1: Type: text/plain, Size: 1142 bytes --]
I looked in the gcc libraries that were built so far during the
bootstrapping phase; gcc/libbackend.a, intl/libintl.a, and
libiberty/libiberty.a using the command:
nm -g <insert_appropriate_library_name_here>; grep iconv
intl/libintl.a contains the symbols .iconv, .iconv_open and .iconv_close
(just like the AIX library /usr/lib/libintl.a), but not .libiconv,
.libiconv_open or .libiconv_close
So why does the bootstrap build process tack on the "lib" prefix to these
symbols?
I haven't tried configuring with --disable-nls yet. I'll do that soon.
Thanks
-----Original Message-----
From: David Edelsohn [mailto:dje@watson.ibm.com]
Sent: Wednesday, November 10, 2004 12:35 PM
To: Grubb, Richard L
Cc: gcc-help@gcc.gnu.org
Subject: Re: Bootstrapping 3.4.2 on AIX 5.1.0.0
> ld: 0711-317 ERROR: Undefined symbol: .libiconv
> ld: 0711-317 ERROR: Undefined symbol: .libiconv_open
> ld: 0711-317 ERROR: Undefined symbol: .libiconv_close
You can find the source of those symbols by looking in the various
libraries (libintl, libiberty, libbackend.
You might try configuring with --disable-nls to work around the
build problem.
David
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 4672 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-11-11 19:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-28 19:31 Bootstrapping 3.4.2 on AIX 5.1.0.0 Grubb, Richard L
2004-11-10 18:35 ` David Edelsohn
2004-11-11 18:33 Grubb, Richard L
2004-11-11 19:51 ` David Edelsohn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).