public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Problems about building gcc-3.2.1 on ARM
@ 2003-03-04  5:29 Liu, Yishu
  0 siblings, 0 replies; only message in thread
From: Liu, Yishu @ 2003-03-04  5:29 UTC (permalink / raw)
  To: gcc-help

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb2312", Size: 1789 bytes --]

Hi,

I downloaded gcc-3.2.1-20021002 and want to install it on my armV5l machine.
The filesystem is netwinder, it is located in my building machine (IA 32) and 
is automatically NFS mounted to the target arm machine.

Because the native build for gcc requires GNU binutils 2.10 or newer, I first 
build binutils-2.13.90.0.16 in the machine, using the following commands:

$ mkdir /tmp/binu_build
$ cd /tmp/binu_build
$ ~/binutils-2.13.90.0.16/configure --program-prefix=g
$ make
$ make install

There seems no problem when doing these steps.
Then I began to build gcc like this:

$ PWDCMD=pawd (# Because the file system is an automounted NFS one)
$ mkdir /tmp/gcc_build
$ cd /tim/gcc_build
$ ~/gcc-3.2.1-20021002/configure ¨Cwith-gnu-ld=/usr/local/bin/gld ¨Cwith-gnu-as=/usr
/local/bin/gas ¨Cprogram-prefix=y

The configuring ran smoothly, and then:

$ make bootstrap

This step ended with the following error:

/home/nptltst/gcc-3.2.2/gcc/varasm.c: In function `strip_reg_name':
/home/nptltst/gcc-3.2.2/gcc/varasm.c:734: warning: comparison of unsigned expres
sion < 0 is always false
/home/nptltst/gcc-3.2.2/gcc/varasm.c: In function `decode_rtx_const':
/home/nptltst/gcc-3.2.2/gcc/varasm.c:3668: internal error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [varasm.o] Error 1
make[2]: Leaving directory `/tmp/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/tmp/gcc'
make: *** [bootstrap] Error 2

I retried these steps to build gcc-3.2.2 but met the same error.

Did anybody once met such a problem and could you please give me a hand to offer some guide? 
Thanks!


Regards,
Yishu

 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-03-04  5:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-04  5:29 Problems about building gcc-3.2.1 on ARM Liu, Yishu

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).