From: Daniel Jacobowitz <dan@debian.org>
To: Chien-Lung Wu <cwu@deltartp.com>
Cc: 'Brad Barrett' <brad@patton.com>, linux-mips@linux-mips.org
Subject: Re: Help in cross-compiler--gcc3.2-7.1 error
Date: Wed, 18 Dec 2002 23:58:38 -0500 [thread overview]
Message-ID: <20021219045838.GA9861@nevyn.them.org> (raw)
In-Reply-To: <A4E787A2467EF849B00585F14C9005590689B5@dprn03.deltartp.com>
On Wed, Dec 18, 2002 at 05:21:39PM -0500, Chien-Lung Wu wrote:
> Hi, Brad:
>
> Thanks for your information.
> I download:
> binutils v2.13.90.0.10 (H.J. Lu)
> GCC v3.2-7.1 (H.J. Lu)
> glibc v2.2.5
> glibc-linuxthreads v2.2.5
>
> and follow your build note to build a big-endian mips cross-compiler.
>
> As I build the binutil-2.13.90.10, it is o.k.
>
> However, as I build the gcc (1st), I get the error message:
>
> make[1]: Leaving directory `/home/lineo/xcompiler/mips-gcc-3.2.7/libiberty'
> make[1]: Entering directory `/home/lineo/xcompiler/mips-gcc-3.2.7/gcc'
> gcc -DIN_GCC -DCROSS_COMPILE -g -O2 -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic
> -Wno-long-long
> -DHAVE_CONFIG_H -DGENERATOR_FILE -o gengenrtl \
> gengenrtl.o ../libiberty/libiberty.a
> ../libiberty/libiberty.a: could not read symbols: Archive has no index; run
> ranlib to add one
> collect2: ld returned 1 exit status
> make[1]: *** [gengenrtl] Error 1
> make[1]: Leaving directory `/home/lineo/xcompiler/mips-gcc-3.2.7/gcc'
> make: *** [all-gcc] Error 2
>
>
> Do I miss something?
> Since I download the gcc3.2-7.1.src.rpm (only srpm format), I use
>
> rpm --rebuild gcc3.2-7.1.src.rpm
>
> then I got gcc-3.2-20020903.tar.bz2 and many patch files.
>
> I umcompress the gcc-3.2-20020903.tar.bz2 using the command
> tar -xvIf gcc-3.2-20020903.tar.bz2
> ==>I get the gcc-3.2-20020903.
>
> Questions:
> Do I need to patch all the patch files? If so, how can I patch all
> of them?
> or is the tarball pached?
>
> Regarding to the error message, is it caused by missing some patch files?
> How can I fix this problem?
I don't know anything about HJ's RPM setup, but that error means it ran
host ranlib on a MIPS library instead of running MIPS ranlib.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
prev parent reply other threads:[~2002-12-19 4:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-18 22:21 Help in cross-compiler--gcc3.2-7.1 error Chien-Lung Wu
2002-12-18 22:52 ` H. J. Lu
2002-12-19 4:58 ` Daniel Jacobowitz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021219045838.GA9861@nevyn.them.org \
--to=dan@debian.org \
--cc=brad@patton.com \
--cc=cwu@deltartp.com \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox